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

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.

0 votes



One answer

Permanent link

This is not possible with RTC - or any other CM tool, I am aware of.

0 votes

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?

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,030

Question asked: Jan 28 '17, 1:34 a.m.

Question was seen: 1,517 times

Last updated: Feb 14 '17, 10:26 p.m.

Confirmation Cancel Confirm