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

How to make attribute mandatory upon selecting an Work Flow Action

Hello,

Scenario:

We are trying to make an attribute as Mandatory upon selecting a Work Flow Action.

Example:

We have an attribute called Rejection Reason. This attribute should become mandatory when i select the Rejection Action of the workflow in that State.

I gone through one of the below jazz article but we could not achieve the above scenario as on when we select the Action , attribute should be mandatory and data is not filled in attribute when we save the operation it
should throw error with mandatory attribute as missing. We used getWorklowAction() function for this in script.

Ashwath

0 votes



One answer

Permanent link
We do something similar by using the RTC built-in Advisor for Required for type and state, where you have the type of the work item and the state that it would move to using that action.  The validator gives an error that the attribute is required when they go to save.

0 votes

Comments

Hello Susan,

We implemented the above option. But we are looking for how to do attribute as mandatory when i select an action.

As i explained above , Assume We are in state Development. Here We have an Action called "Rejected By Development"  which have a target state "x" . When i selected Rejected By Development Action,  i want attribute called "Rejection Reason" as mandatory. Unless the information is given it should not save the Rejection By development Action.

Is there any workaround we can try on this.

Thanks in advance...!

Ashwath

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
× 6,131

Question asked: Mar 02 '15, 6:25 a.m.

Question was seen: 2,940 times

Last updated: Mar 03 '15, 2:38 a.m.

Related questions
Confirmation Cancel Confirm