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

Indicate Mandatory Attribute for the Next State. RTC 5.0.2

 Hello All,

We have requirement to develop a custom linear process which is quite similar to waterfall model.

So, suppose we have 4 states with linear transition eg: (a ->b -> c -> d) and currently we are in state b which has some attributes which are mandatory for the state. the user must also see what are the required attributes for the next state.

Is there any way in RTC (programmatically or workitem customization)  so that we can display another * preferably with another colour as to indicate whether the attribute is mandatory or not in the next state.

Note: we don't want to see the attribute mandatory during the transition reason being the same user might not fill all the mandatory attributes.

Thanks in Advance,

Abhishek Kumar

0 votes



3 answers

Permanent link
there is currently no way to show the required fields for the next state. Only this state.

0 votes


Permanent link
 You can use 

  1. The advisors for required attributes by type and state or
  2. Conditions and the advisors required attributes for condition. 
Both advisors calculate the state to look at from the current state as well as the selected workflow action. If a workflow action is selected, the advisor uses the target state to evaluate what is required.

Solution 1 works that way out of the box. Solution 2 requires a Script or Java based condition. See https://jazz.net/wiki/bin/view/Main/AttributeCustomization and  Process Enactment Workshop for the Rational solution for Collaborative Lifecycle Management and https://rsjazz.wordpress.com/2015/06/19/a-custom-condition-to-make-attributes-required-or-read-only-by-role/ for more information.

I don't think you can look further ahead. There is no mechanism for that, I am aware of. 

0 votes


Permanent link
Ralph, hi.

I'm having the same problem, but I'm trying an approach based on a operation advisor.
I wonder how can I display the red asterisk when the state attribute is going to change? (as in Required attributes by type and state)

Thank you.

0 votes

Comments

This should answer all the questions, why you can't do it in an advisor:

A Custom Condition to Make Attributes Required or Read-Only by Role

1 vote

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
× 10,951

Question asked: Jun 22 '15, 5:06 a.m.

Question was seen: 4,742 times

Last updated: Jun 22 '15, 1:41 p.m.

Confirmation Cancel Confirm