RTC Server API to check user has access to save/modify workitem
I am writing followup action to save the parent attribute when child workitem is modified.
So, when i save the child workitem if user doenst have access to update attribute and save, it triggers error message on child workitem and it wont allow to save child workitem also.
I want the child workitem to save and give popup message that parent cannot be saved due to permission issue.
Kindly can someone help me whether this is possible?
One answer
- Follow up actions run in the context of the user performing the initial operation.
- You can not override that.
- You can not initiate any pop up window, nor should you even try.
- You can wrap the save call in a try block and fail gracefully and prevent the original operation from happening.
- Error messages are displayed in the advisor and the UI - see the extensions workshop.
Comments
Thank you Ralph!
I will display the message in WEB UI
so, its possible to save the child and displaying message while saving the Parent Workitem which user dont have access?
Did you read the answer at all? This seems to be a reoccurring pattern. Is it to ignore the answer and ask the question again in the hope to get another answer?
For all I can tell
No you won't.
No it is not possible.