How to run a script activity in workflow with a specific user or role
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-15-2022 08:48 AM
Hi experts,
would anyone know how to run a workflow script activity with specific role (sn_hr_core.admin).
We tried to use a flow but can't select the hr_sn_core.admin role.
Thanks
Agathe

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-15-2022 08:53 AM
Question is not clear can you elaborate?
Regards,
Musab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-18-2022 09:47 AM
Hi Musab,
we have a cat item to add or remove group member automatically, this is working fine except for human resource and was looking for a solution to make it work as it provides flexibility to our hr managers without having access to group configuration.
Would you have any idea ?
Thanks
Agathe

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-15-2022 08:56 AM
Hi
We have "gs.getSession().impersonate()" but you cannot use it in scoped apps.
This link might help you
Regards,
Sumanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-18-2022 09:49 AM
Thanks Sumanth for the shared blog.