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

Condition to restrict user to take specific actions against specific state of workflow while having specific attribute values

Hi All,

I need to apply a bit complex condition in my workflow of Change Request work item type of RTC, could anyone of you all help me out to achieve it, following is the scenario for the condition i want to apply  

 Scenario:
There is an attribute of drop-down "Request Type" which has multiple options, options are: Local & Global
if Request type is "Local" OR "Global" and work-Item is on "First_Level_Approval" state
then user can only be able to take two actions against  "First_Level_Approval" state 
which are "Approved SLA" and "Return to Submitter" 
for the third action "Approved FLA" system will show an error to user when hit the save button like "You can not take this action at First_Level_Approval"

Regards,
SAJJAD

0 votes



One answer

Permanent link
There is nothing builtin that will do this. You will have to write some extension.

you might be able to do this with a Javascript field Validator script. I'm not sure you can provide a custom message  however.

you can certainly do this in Java,

See the extensions Workshop
https://jazz.net/library/article/1000

0 votes

Comments

 sam detweiler 
Thanks for prompt response, 

could you please help me out to write script for the above scenario ?, i really not good at java scripting 

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,019
× 7,495
× 1,700

Question asked: Aug 23 '15, 7:38 a.m.

Question was seen: 5,923 times

Last updated: Aug 23 '15, 8:20 a.m.

Related questions
Confirmation Cancel Confirm