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.
One answer
This is not possible with RTC - or any other CM tool, I am aware of.
Comments
You can change the type of a work item - the type actually determines the workflow.
The best is, we have the type change built into the UI's and you don't actually have to do any customizations! xD
Thanks Ralph. So by Type Change you mean separate workitems, correct? So basically one workflow per workitem only.
One workflow per work item type category.
You must have understood how work item types work and what distinguishes them by now, don't you?
Each work item type category has a specific workflow. A work item has a type, hence is of a type category, hence has a specific workflow.
The type can be changed. If a type has a different workflow, the work item has a new workflow after changing the type.
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?