Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Automatic Employee Profile Creation does not trigger Business Rules

FelixF
Tera Contributor

Hi!

We have been trying to automate more and more of our SPM, and we have come across a few issues. 
Currently we have tried to automatically set the employee_type for all created employee profiles to Internal. 

A simple business rule was created, that sets the employee_type to Internal as an action, when an employee profile is inserted. 

 

This business rule works, when an employee profile is created manually. However, when the scheduled job that creates employee profiles from user data is used, this business rule no longer works.
the scheduled job that is used is the following one:


Generate Employee Profiles from Users

FelixF_0-1764605048422.png


As mentioned, the business rule is a very simple one, on insert into the sn_employee_profile table, set employee_type to internal. 

Any ideas what could be blocking the business rule from triggering when the scheduled job runs?

Thanks!

0 REPLIES 0