SLA stop condition

Dawid2
Giga Guru

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?

7 REPLIES 7

leebooth
Kilo Expert

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());


Hi Lee,



Thanks for replying. I tried using getDisplayValue, but it still doesn't work.


shekharnavhakar
Mega Contributor

try the below condition


saaa.PNG


Thanks,


Shekhar


Thanks Shekhar, but it's not working.