Hiding Workflow state based on dropdown value
Below task is related to RTC/CCM
I have created two workflow states in one workitem. Workflow 1 contains 4 states and Workflow 2 contains 5 states.Based on a custom attribute which is of type enumeration contains 2 values issue and defect. If I select issue then I need to hide workflow 2 and if I select defect ,then I need to hide workflow 1. Is there a provision to perform the above mentioned task? |
2 answers
Hi,
First of all you cannot assign two work flows to one work item.
But, you can have it in another way.
1) Create two customized attributes,
for example;
Workflow(Attribute) of enum type with values like WF_1 and WF_2.
Another called Value(Attribute) of enum type with values like 1 and 2.
After creating, you have to create dependencies between both attributes and map the values like, when you select 1 it should automatically show WF_1 and if you select 2 automatically it should show WF_2(Mapping should be proper).
Then add those two attributes to the work item.
You can achieve dependencies by (Attribute customization->value sets-> right click->add->name->dependent enumerations), then you can select the source and dependent attributes and map the values.
|
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.