- 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:25 PM
Hello Johannes,
Please refer similar discussion in the below thread for more info.
Trigger Business Rule from Scheduled Job
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-24-2017 01:31 PM
Hi Pradeep,
Thanks for your response.
This is from a schedule job to a business rule though. What I am looking for is from a business rule to a schedule job. In other words when the business rule runs it triggers a schedule job. Is there a way to do that?
Thanks,
Johannes

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-24-2017 01:35 PM
Sorry, I misunderstood your question. Can you please give more details on this requirement.

- 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.