Manage State & Phase automatically
One answer
As far as I can tell, you have two options.
-
Attribute Customization - Use a Java Script calculated value provider for the enumeration that looks at the value of the state and calculates the value of the enumeration. I hhave an example in
Process Enactment Workshop for the Rational solution for Collaborative Lifecycle Management that shows different images based on the state a work item is in.I am in doubt that this works well, because all you can see is the current state and not the state after the save. The action is only available to conditions.
- A follow up action on a state change that sets the enumeration after the save. See Setting up Rational Team Concert for API Development which refers to the RTC Extension Workshop which triggers a build. https://rsjazz.wordpress.com/2012/07/31/rtc-update-parent-duration-estimation-and-effort-participant/ shows how to set attributes in a participant and https://rsjazz.wordpress.com/2012/08/20/manipulationg-work-item-enumeration-values/ shows how to work with enumerations.
Comments
Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Jun 17 '15, 3:47 a.m.What is a phase in RTC?
Vikash Singh
Jun 17 '15, 4:24 a.m.Hello Ralph,