Auto assign roles post clone

Abc 26
Tera Expert

Hello Experts,

I want to automate the process of assigning "HR admin (sn_hr_core.admin)" to the different groups like HRA ,HRB ,HRC in the dev,test and UAT respectively post the clone . I am thinking to use the "Clone Cleanup Scripts" and also providing the group with roles like "sn_hr_sp.admin" and "sn_cd.content_admin".

Please suggest a best approach to implement the above and whether the script needs to be written in HR:core application scope.

@Ankur Bawiskar 

2 REPLIES 2

Ankur Bawiskar
Tera Patron
Tera Patron

@Abc 26 

yes using Post-clone cleanup script is recommended.

Best to create that in HR Core scope

Post-clone cleanup scripts 

AnkurBawiskar_0-1744625918640.png

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

@Abc 26 

Hope you are doing good.

Did my reply answer your question?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader