- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2016 12:15 PM
Hi,
How do I go about making the UI Action buttons ONLY visible to those who are in the assignment group? This group can vary from incident to incident so I can't hard code the group name.
For example, for an Active Directory incident, the incident is assigned to the "AD Group" (i.e "Assignment Group = AD Group"), anybody from this group can see the buttons but not other groups.
If this incident is then assigned to 'HR group", then only the person from the HR group can see this ticket, not AD group or any other groups out there.
Please advise as I'm relatively new to SN and not sure how group-based rules work in SN. I know the syntax for assigned_to (i.e current.assigned_to== gs.getUserID()) but unsure about the group-based.
Thanks,
Catherine
Solved! Go to Solution.
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2016 12:23 PM
Try something like: gs.getUser().isMemeberOf(current.assignment_group) - in your UI action condition.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2025 11:56 PM
Hi, There is a typo in the syntax, you have provided.
Memeber->Member
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2016 12:26 PM
In the ui action condition , just add this line of code,
gs.getUser().isMemberOf(assignment_group)