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

RTC work flow customization

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....!

0 votes



2 answers

Permanent link
 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

0 votes


Permanent link
 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!

0 votes

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
× 1,381

Question asked: Nov 19 '15, 1:59 a.m.

Question was seen: 3,215 times

Last updated: Dec 02 '15, 2:03 p.m.

Confirmation Cancel Confirm