- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2023 04:29 AM
Hello Exports,
Normally ITIL user can able to change the urgency and priority of the incidents.
but same we want to give access to ext_itil role users also.
please support to achieve this.
Eg
If state is onhold ext_itil roles users not able to change the priority,urgency and impact.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2023 04:46 AM
Hi @akin9 ,
You can create two ACL on incident table on urgency and Impact field with write operation with condition state is onhold
and add role ext_itil .
Then ext_itil user also able to edit urgency and Impact.
Note: No need to write any acl or rule over priority field , priority field auto calculate when impact and urgency changed.
Please mark the answer correct/helpful based on Impact.
Regards,
Heena Sharma
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2023 11:17 PM
Hello @Community Alums ,
Sorry for the delay reply!
Yes we can achieve by ACL pls find the below steps.
1. Create new table. none ACL.
2.select Operation - write
3.Name - incident , field select - impact
Definition
Restrict based on role, now that particular role only can edit all the time ,
please refer the snap for your reference.
NOTE: If its useful please mark as solution accepted / helpful , it will useful to others.thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2023 04:57 AM - edited 01-24-2023 04:58 AM
Hi @akin9 ,
You can check if already there is any UI policy on form which is making it read-only and if yes you can update it as per requirement.
And if no, you can create new ui policy stating that if state is on hold make both these fields read-only false .
Note: ui policy is not applicable onChange, you need to right client script if you want fields to be editable on change of state to onHold.
UI policy works on onSubmit and on Load.
Client Script for OnChange:
var ga= g_form.getValue("state");
if((ga==onhold) || (g_user.hasRole('itil'))); //use value of onHold, g_user.hasRole() hepls to get logged in user role.
{
g_form.setReadOnly('urgency', false);
g_form.setReadOnly('impact', false);
}
else{
g_form.setReadOnly('urgency', true);
g_form.setReadOnly('impact', true);
}
Please marked helpful if it helped you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2023 05:12 AM
@hello shivangi k,
Thank you for your quick reply.