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.3k●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 ![]() FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
You can change the type of a work item - the type actually determines the workflow.
Thanks Ralph. So by Type Change you mean separate workitems, correct? So basically one workflow per workitem only. ![]() FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
One workflow per work item type category.
Thanks Ralph, is there a way to trigger a WORKITEM of Specific type based on Enumeration attribute value? 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.