Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How to set available actions based on an attribute value in RTC Workitem Workflow?

How to set available actions based on an attribute value in RTC Workitem Workflow?

e.g. Let's assume there is an Attribute called "Impact"

Case 1 
Value of attribute Impact = "Low"
In this case the action available in the workflow should be "Start Work"

Case 2
Value of attribute Impact  = "High"
In this case the action available in the workflow should be "Start Investigate"

The end goal is that the workflow for the specific workitem type set itself up based on the value of the key attribute.

0 votes


Accepted answer

Permanent link

You can not do that in RTC. This has been answered before and RTC for all I know does not provide means to make the workflow dynamic like that. RTC was designed as a lightweight work item management tool and not something that can be customized to that extend. A work item type (category) has one workflow and all of the items have the same workflow.

You can create an advisor to prevent a state change based on an attribute value or more complex rules, but you can not suppress the available actions. You can only fail the save. See https://rsjazz.wordpress.com/2014/05/26/only-owner-can-close-workitem-advisor/ as an example.

also, please follow the slides here https://rsjazz.wordpress.com/2016/07/15/rtc-process-customization-what-you-can-and-cannot-do/ carefully for all the other limitations that frequently come up.

Nirmal Jha selected this answer as the correct answer

0 votes

Comments

Thanks for your answer Ralph. 

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,019

Question asked: Mar 12 '18, 10:04 a.m.

Question was seen: 1,517 times

Last updated: Mar 12 '18, 10:16 a.m.

Confirmation Cancel Confirm