Scheduled job Run as Admin or HR Admin

VasukiS
Tera Guru

 

I am working in HRSD Module. I am writing to seek your guidance on the best practices for configuring the "RunAs" field in scheduled jobs. Specifically, I would like to know if it is recommended to use an HR Admin profile for this purpose. or I should use Admin profile? Please share the explanation. 

If using an HR Admin or Admin profile is not advisable, could you please provide insights on the appropriate permissions that should be assigned to a service account created for running scheduled jobs?

Thank you for your assistance.

2 ACCEPTED SOLUTIONS

Ankur Bawiskar
Tera Patron
Tera Patron

@VasukiS 

Please create scheduled job in HR scope. There is no such document which says what's best practice.

Ensure Run as - System Administrator and not HR admin profile

HR Admin profile might not have the additional privileges which System Admin has

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

View solution in original post

Hi @VasukiS 

 

Practically, this is incorrect. An admin should not have the HR Admin role unless they specifically need to work on HR cases, which is also recommended by ServiceNow. The reason is that with this role, an admin can access all HR data, which is not necessary for them to see. Since HR is a highly data-sensitive application, please take corrective action and remove the HR Admin role from the admin if they are not working on cases.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

View solution in original post

14 REPLIES 14

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @VasukiS 

 

if the job is specific to HRSD, then better use the HR Service acocunt not the admin.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Hi @VasukiS 

I also instantly answered that the HR profile is the right way to go. So, if you're comfortable with it, please accept my answer.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Bert_c1
Kilo Patron

You should also create the scheduled job in the specific application scope.

Ankur Bawiskar
Tera Patron
Tera Patron

@VasukiS 

Please create scheduled job in HR scope. There is no such document which says what's best practice.

Ensure Run as - System Administrator and not HR admin profile

HR Admin profile might not have the additional privileges which System Admin has

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