- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-24-2017 01:23 PM
Hi ServiceNow Community Developers,
Do you know if there is a way to trigger a scheduled job from a business rule. The input to the scheduled job would be the serial number so I would like to pass that along from a business rule. Please advise.
Thanks,
Johannes
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-24-2017 01:31 PM
Hi Johannes,
This is an interesting question, and not a typical one at that. Scheduled jobs are normally set to run at a specific time, interval, etc. Business rules run based on a database trigger. They are two different use cases in my mind. What's more, scheduled jobs don't take parameters. It sounds like you might need a script include or something else instead.
Can you tell me more about what you are trying to accomplish? I'd like to understand better what your requirement so I can offer an appropriate solution or options.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-24-2017 01:39 PM
Hi Chuck,
The reason I wanted to call a schedule job is because I already had one in place so I though it would be easier to just call it. However after reading your response I decided to convert my scheduled job into a script include and that did the trick.
Thanks for your help.
Johannes

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-24-2017 01:40 PM
Remember, the script include is just a library of code. It doesn't run unless you call it from some other place, like a business rule, workflow script, etc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-02-2019 02:35 AM
Hi Chuck,
I have a similar requirement like johannes asked. below is the brief of my requirement.
i should create a data certification task for business application record when its created. OOB data certification schedules allow to select from filters to which the task wil be applied. in this scenario how can i handle this trigger condition on business app creation. is it good to run BR to trigger a scheduled task ? please suggest.
Regards,
Shambhu

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-02-2019 05:38 AM
When I read this part
for business application record when its created.
it says to me "Business rule".
- Business rules are triggered by database operations.
- Scheduled jobs are time (or periodic) based.
- UI actions are manually triggered.
Because you need this to run when the business application record is created, that's a use case for a business rule.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-11-2023 12:59 AM
i want to execute csdm data sync job using business rule on change of support group in technical service offering screen