- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Tuesday
I created a UI Action “Assign to me” and used below script in condition to make ti visible only for the members of Assignment Group of ticket but it’s not working
Script: gs.getUserID().isMemberOf(current.assignment_group)
Do anyone have an idea to fix this?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Tuesday
Hi @Shanu123 ,
There is a minor mistake in the script, which is why it’s not working.
Please use the script below and try
Sol: gs.getUser().isMemberOf(current.assignment_group)
Regards,
Vishal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Tuesday
Hi @Shanu123 ,
There is a minor mistake in the script, which is why it’s not working.
Please use the script below and try
Sol: gs.getUser().isMemberOf(current.assignment_group)
Regards,
Vishal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Tuesday
there are lot of OOTB UI actions where you will find this.
you did a mistake in the class
Try the approach shared by @Vishal_Jaiswal
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
