RTC work flow customization
Vijayveer Reddy (17●6●27)
| asked Nov 19 '15, 1:59 a.m.
retagged Dec 02 '15, 2:03 p.m. by Ken Tessier (841●1●7)
Hi,
we have a query on workflow customization. we are having a Work Item having 6 states, In that a field called Defect type, If a defect type is X then state has to come from State 4 to State 6, and If a Defect type is Y then state has to come from state 4 to State 5 and then state 6. Is there any script or any condition that we can write or any script that we can apply to achieve this kind of flow in RTC. Thank you in advance....! |
2 answers
You can use conditional rules to implement what you want. Search for: Required Attributes for Condition
If your rule is complex, maybe you need to implement a custom precondition.
https://jazz.net/help-dev/clm/index.jsp?re=1&topic=/com.ibm.team.workitem.doc/topics/t_defining_precond_fuactions_web.html&scope=null
https://jazz.net/wiki/bin/view/Main/AttributeCustomization
|
I'm thinking you can use a Validator Script, with something like this :
In "State 4" you can have the actions for "State 5" and "State 6"
Then you can validate :
IF Defect Type = "X" and State = "State 5" then Error: "You have to use action to state 6".
and
IF Defect Type = Y and State = State 6 then Error : "you have to use action to state 5".
I think that may help!
|
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.