HRSD Activity
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-23-2024 01:30 AM
Is there any way to trigger an activity based on the fact that the Subject Person is part of a SNOW Group.
1 REPLY 1

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-23-2024 01:50 AM
Hi,
you can use trigger type as 'advanced' and use below script:
(function shouldActivitySetTrigger(parentCase /* GlideRecord for parent case */,
hrTriggerUtil /* hr_TriggerUtil script include instance */) {
var isMember = gs.getuser().getUserByID(parentCase.subject_person.toString()).isMemberOf('HR Onboarding');
return isMember;
})(parentCase, hrTriggerUtil);
Please appreciate the efforts of community contributors by marking appropriate response as correct answer and helpful, this may help other community users to follow correct solution in future.
Thanks
Anil Lande
Thanks
Anil Lande