Trigger a business rule using a scheduled job

ss123
Tera Contributor

Hi guys,

Would like to as your help on how do I trigger a business rule using a scheduled job? or is there any other way to do this? 

I just wanted to remove the inactive users from their group. Currently, this business rule is working whenever a user is inactive/deactivated but would like to trigger this by scheduled.

find_real_file.png

find_real_file.png

Thank you!

6 REPLIES 6

Sagar Pagar
Tera Patron

Hi,

Can you share your business requirement here?

 

This might be helpful for you. To trigger the business rule through scheduled job script-

 

Navigate to sys_trigger.LIST and create a new record with required name, time, next action and in Job context field use the key as-

fcScriptName= business rule name

for example -
fcScriptName=incident autoclose

 

Feel free to mark helpful and correct!

Thanks,

Sagar Pagar

 

The world works with ServiceNow

Hi @ss123,

Good day!

Thanks for marking helpful my response.

Kindly mark correct and close this thread. It will be helpful for future readers.

 

Thanks,

Sagar Pagar

The world works with ServiceNow