RTC 5.0.2 - Role conflict for attribute behvaviour in workflow states
Hi All,
We just came up with this scenario in our business process and would like to know your thoughts on the same.
Conside the attribute "Summary" in a workitem
Now in a particular state this summary attribute is Read-only for Role 1.
The same summary attribute is Mandatory for Role 2.
The above configuration can be set using operational behaviours "Read only attribute for type & state" , Required attribute for type and state. Also for each role I am able to configure this and save the project area.
Now here comes my question. What if I am assigned with both the Roles. Role 1 & 2 .
How would RTC behave here ? will the summary attribute be Read only OR Mandatory ?
I found that u can prioritize the roles in the project administration page. So If I prioritize Role 2 then the summary attribute becomes mandatory.
But I dont think it's possible when there are 2000 users in a system and each one has to priotize their role everytime they have to make a change to a workitem.
Please let me know if we can resolve this some other way apart from leveraging my business process.
Thanks in advance!
Vishnu M
JazzAdmin
2 answers
Hi,
please carefully study https://jazz.net/library/article/292
1st Users can have multiple roles
2nd Everyone have the role Everyone with the lowest order.
3rd Roles have an order - from top to down. Example
In the above example if a user with top level role Big Boss executes the operation (work item save), it would find it is configured with no preconditions and would perform the operation with no preconditions.
please carefully study https://jazz.net/library/article/292
1st Users can have multiple roles
2nd Everyone have the role Everyone with the lowest order.
3rd Roles have an order - from top to down. Example
- Big Boss
- Team Member
- Everyone
Operational behavior tries to find the configuration that is responsible in the context based on the roles of the user in this context starting with the top role down the list.
If it finds an operational behavior configuration lets say for "Work Item Save (Server)" e.g. for a role, it executes this operational behavior - and ONLY this operational behavior.
E.g. if it is configured for Big Boss, Team Member, Everyone in this context is is only executed for Big Boss and not for the other roles.
The design intent is that roles like Big Boss can have their own operational behavior configured to be less restrictive.
In the above example if a user with top level role Big Boss executes the operation (work item save), it would find it is configured with no preconditions and would perform the operation with no preconditions.
Comments
1 vote
Hello Ralph,
What if a project area has two workitems(Workitem1,Workitem2) and has two roles(role 1, Role 2) for which operation behaviour is configured.(Read only for type and state)
Now Each of the Roles Configured seperately for the workitems types and states. Will the "WORKITEM TYPE" be considered while executing the process behavior or it is still based on role prioritization ?
So if this is not the case then ideally in RTC user can have only one role,Because when a user is assinged with both roles and is operating on workitem 2, RTC will still execute the process behaviour of Workitem 1 as that role is being prioritized.
Workitem type is also not considered.Is my understanding correct ?
Abhishek