SLA stop condition
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-18-2017 08:46 AM
I need to configure our Response SLA stop condition with following requirement: SLA should be stopped when task gets updated by the member of the current assignment group.
I used condition Update by is javascript:gs.getUser().isMemberOf(current.assignment_group); but system does not like it.
Any ideas if this is possible to achieve?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-18-2017 09:28 AM
Hi Dawid,
I could be wrong, but it might be due to the isMemberOf() function taking a string parameter - the name of the group.
ServiceNow Docs: GlideUser - Scoped
Try using:
gs.getUser().isMemberOf(current.assignment_group.getDisplayValue());
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-18-2017 11:51 PM
Hi Lee,
Thanks for replying. I tried using getDisplayValue, but it still doesn't work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-18-2017 11:58 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-19-2017 12:03 AM
Thanks Shekhar, but it's not working.