Can I get information of context from where SaveWorkIem operation is executing.
Hi All,
Query result right click option modifies data (planned for)in work ticket. I just want to disable that option to "Planned for" attribute.. It should not be allowed to all users.
I can't do that through Role based Pre condition in Configuration We have other thing that stoping me to do that.
I just thought of showing error message on right click --> change "palnned for"
In server pre- condition Can I get information from ISaveParameter or any class/object about saveoperation
wether save is done by web client/eclipse client/ query result to validate and show errror message.
Thanks,
Kavita
One answer
WRT finding the context of the request, why do you want to protect the planning view from changes but not the other views? A user would just go to the unprotected view to make the change. Perhaps you could explain what is preventing you from using role-based control for this.
Comments
Hi Geoffrey,
Actually in our PA all pre conditions executed on default role. I want this to be executed on all roles but,I have no idea on any built in pre condition that will block users modifying data(Planned for) from query result(if that cloumn is selected in query result).
In our process definition, planned for can not be changed by all users. Once WT is submitted planned for becomes read ony we have defined another attribute there new have has to be given.we have pre condition defined, whenever new value is assigned, it generates child WT that should be approved by leaders. After this only panned for will be assigned with new value.
Currently planned for can be modified by query result and its not triggering our pre condition.
I just want to block that feature..
Thanks,
Kavita
Server-side process preconditions are caught from all clients (if not, it is a bug).
In particular, I did a quick check in RTC-4.0.1, and if you set the "Read-only attribute for type and state" pre-condition for the Planned-For attribute, it prevents changing that attribute in all clients, including the planning view in the web and Eclipse clients.
1 vote