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

sunil kumar11
Tera Expert

Problem Task Analysts should have an ability to create only new Problem tasks.

4 REPLIES 4

Musab Rasheed
Tera Sage
Tera Sage

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

Please hit like and mark my response as correct if that helps
Regards,
Musab

Harish KM
Kilo Patron
Kilo Patron

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);
    }

Regards
Harish

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 Manders
Mega Patron

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