Problem Task Analysts should not have an ability to modify or resolve a problem record ? with out using ACL Any steps or script with UI action
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-05-2022 02:18 AM
Problem Task Analysts should have an ability to create only new Problem tasks.
- Labels:
-
Problem Management

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-05-2022 02:26 AM
Hello,
In below ACL make sure you add role which Problem analyst don't have to all ACLs except 'create' ACL so that you restrict them from doing any operation other than creating PTASK.
https://instance/sys_security_acl_list.do?sysparm_query=nameSTARTSWITHproblem_task&sysparm_first_row=1&sysparm_view=&sysparm_choice_query_raw=&sysparm_list_header_search=true
Please hit like and mark my response as correct if that helps
Regards
Regards,
Musab

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-05-2022 02:28 AM
Hi you can have a before update BR on Problem table.
Script:
// if any user with problem_task_analyst role tries to modify record on Problem table abort update
if (gs.hasRole('problem_task_analyst')) {
gs.addErrorMessage("problem_task_analyst cannot edit the record");
current.setAbortAction(true);
}
Harish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-05-2022 03:30 AM
Hi Harish,
I have tested with below script it didn't work
if (gs.hasRole('problem_task_analyst')) {
gs.addErrorMessage("problem_task_analyst cannot edit the record");
current.setAbortAction(true);
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-05-2022 06:10 AM
You have asked 6 questions on the community relating to limiting access to Problem and every time the answer is "use ACL's" because that's why they are there. You keep on asking how to do it without ACL because you don't have the access. That's fine, but why don't you reach out to the person or persons who do have that access.
It's the best, easiest and OOB way to resolve your requirements (and as you have noticed several times: other ways often don't work).
What is your reason for not reaching out to the people that can help you get your required outcome?
If my answer helped you in any way, please then mark it as helpful.
Mark
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark