Extend RTC to compute resource allocation in real-time
![]()
Dan Sevcenco (50●2●19●23)
| asked Mar 25 '14, 8:35 a.m.
edited May 06 '14, 5:57 a.m. by Sreerupa Sen (1.0k●4)
Here is a tricky question for the RTC experts.
Is there any way resource allocation can be computed and presented to the user as a view of some sort which is embedded in the work-item editor so that when choosing an owner for that work-item, the choosing can be done by selecting the person with the lowest load factor associated with the time-interval defined for the execution of that task? Basically, the interaction flow would be: 1. the work-item creator defines the start date and finish date for the task 2. a custom field of type contributor or contributor list is used to allocate team members to the task and the selection of RTC user needs to be done based on information about all users' projected / calculated load for the calendar interval defined in step (1). The user load needs to be calculated on the spot or on request. The objective here is to implement a demand planning mechanism taking into consideration that activities which are defined in RTC are standardized and there is a pool of people with similar skills, anyone being able to execute the allocated task(s), and the selection of person per task being made based on availability and capacity. If it is possible to do something like this, how would you go about it? |
3 answers
![]()
You need to create a work item save advisor. This advisor should implement the algorithm that you described and set the "asssigned to" field to the appropriate user. Setting up the user is the easy part.
You might wanna take a look at RTC Extentions |
![]()
Ralph Schoon (62.7k●3●36●43)
| answered May 06 '14, 7:07 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Dan,
unfortunately there is no official API available for the planning component at this time. So you can not easily access the data you need. Using internal API that might be available would be a risky thing to do. As Canberk mentions, there are extension mechanisms for Work Items that you could look into. In this case it would be a follow up action or participant. This could do things like assign owners and other things on work item level (note, an advisor should never modify the work item that is saved). A participant like some of the examples you can find with this query on my blog could certainly do some of what you desire. However, because the planning API is not public I think it would be hard to make it do all you want. If you are still interested to give it a try, I would suggest to start reading here: https://rsjazz.wordpress.com/2013/02/28/setting-up-rational-team-concert-for-api-development/ |