- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-20-2017 04:13 AM
1.On an incident form if a check box(u_major_incident) is checked and user is not a member of a specific group(Major incident), restrict from updating urgency and impact field and a 'reopen' button(ui action) and popup a message' Attempts to adjust Impact, Urgency, Reopen on Incidents that are marked as Major Incident can only be done by the Major Incident Team'.
2. And an email should trigger to major incident group with the users name in cc who tried to update field values.
Any help would be appreciated.
Thanks in advance
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-21-2017 06:00 AM
You can try the same script in UI Action, I am not sure how priority change logic is added in your Reopen button
if(!gs.hasRole('major_incident_user')){
gs.addInfoMessage("Attempts to adjust Impact, Urgency, Reopen on Incidents that are marked as Major Incident can only be done by the Major Incident Team");
gs.eventQueue();
current.setAbortAction(true);
}
Thanks
PS: Hit like, Helpful or Correct depending on the impact of the response
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-21-2017 06:00 AM
You can try the same script in UI Action, I am not sure how priority change logic is added in your Reopen button
if(!gs.hasRole('major_incident_user')){
gs.addInfoMessage("Attempts to adjust Impact, Urgency, Reopen on Incidents that are marked as Major Incident can only be done by the Major Incident Team");
gs.eventQueue();
current.setAbortAction(true);
}
Thanks
PS: Hit like, Helpful or Correct depending on the impact of the response
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-24-2017 02:48 AM
Thanks Alikutty! This worked perfectly.