How to implement 2 workflows in single workitem based on dropdown value?
I have one work item but want to add two workflows to it in such a manner that when attribute value of a enumeration field named "Which workflow?" is selected as "1" a workflow-1 should be triggered and if enumeration value is "2" then workflow-2 should get triggered. By workflow I mean statuses of the workitem.
How do I set up two different workflows and assign it to same workitem?
I am not sure where to start from? Should this script be "calculated value", or "script validation"? In either case, I will have to capture the selected value ("1" or "2") of enumeration dropdown. Then what should I do to assign workflow?
Please suggest.
|
One answer
Ralph Schoon (63.5k●3●36●46)
| answered Jan 28 '17, 9:47 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER This is not possible with RTC - or any other CM tool, I am aware of.
Comments
Ralph Schoon
commented Jan 28 '17, 10:52 a.m.
| edited Jan 28 '17, 10:53 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
You can change the type of a work item - the type actually determines the workflow.
Pravin Patil
commented Jan 28 '17, 4:19 p.m.
Thanks Ralph. So by Type Change you mean separate workitems, correct? So basically one workflow per workitem only.
Ralph Schoon
commented Jan 28 '17, 4:35 p.m.
| edited Jan 28 '17, 4:35 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
One workflow per work item type category.
Pravin Patil
commented Feb 09 '17, 5:40 p.m.
Thanks Ralph, is there a way to trigger a WORKITEM of Specific type based on Enumeration attribute value?
Donald Nong
commented Feb 14 '17, 10:26 p.m.
I don't understand this part - why don't just change the work item type directly?
|
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.