How to run a script activity in workflow with a specific user or role

AgatheL
Tera Guru

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

4 REPLIES 4

Musab Rasheed
Tera Sage
Tera Sage

Question is not clear can you elaborate?

Please hit like and mark my response as correct if that helps
Regards,
Musab

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

SumanthDosapati
Mega Sage
Mega Sage

Hi @AgatheL ,

We have "gs.getSession().impersonate()" but you cannot use it in scoped apps.

This link might help you

 

Regards,
Sumanth

Thanks Sumanth for the shared blog.