- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2018 06:24 AM
Hi All,
Want to know the flow/process of OOB Scheduled Job - Stock Rule Runner..
If anyone know about this, kindly share your comments
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2018 07:20 AM
Threshold as name suggests is a level where something would/should happen. In Stockroom's case it is used in Stock rule created so that if the quantity is less than Threshold a notification should be triggered.
For e.g. Stock rule for Laptop is created with threshold 5. Whenever quantity is less than 5 notification would be triggered to Stock room manager so as to refill the stock with necessary laptop.
Order would mean refilling the number of items so as to reach atleast the threshold level. This is further invoked by Script include StockRuleTransfer which has various functions that are triggered accordingly.
Hope that helps.
Thanks,
Jaspal Singh
Hit Helpful or Correct on the impact of response.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2018 07:20 AM
Threshold as name suggests is a level where something would/should happen. In Stockroom's case it is used in Stock rule created so that if the quantity is less than Threshold a notification should be triggered.
For e.g. Stock rule for Laptop is created with threshold 5. Whenever quantity is less than 5 notification would be triggered to Stock room manager so as to refill the stock with necessary laptop.
Order would mean refilling the number of items so as to reach atleast the threshold level. This is further invoked by Script include StockRuleTransfer which has various functions that are triggered accordingly.
Hope that helps.
Thanks,
Jaspal Singh
Hit Helpful or Correct on the impact of response.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2018 02:35 AM
Glad to know that helped.
If you got what was expected you can mark this thread as correct & close it so that it does not appear in unanswered list.
Thanks,
Jaspal Singh
Hit Helpful or Correct on the impact of response.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2023 02:56 PM
Hi Jaspal,
When I verify the Stock rule runner scheduled job, I could see that the query is actually fetching only the restocking option as "stockroom" and rest of the logic is based on those records.
I couldn't figure out in docs where it says system will create a PO when the restocking option is "Vendor" and it pass the threshold. Have you got any idea?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2020 09:35 PM
Hi Jaspal,
Thanks for the information and I would like to know what plugin need to install.
I appreciate for your valuable response.
Thanks,
Krishna.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2020 10:49 AM
Hi I know this is old, but I wanted to leave this here for anybody in the future that is digging down this rabbit hole.
Despite ServiceNow's documentation calling it a "Scheduled Job", it is actually a "Schedule Item"; on the sys_trigger table. I included a link to the Stock Rule Runner Schedule Item below.
https://[INSTANCE].service-now.com/nav_to.do?uri=sys_trigger.do?sys_id=073f0b6437112000fceabfc8bcbe5d42
________________________________________________________________________________
From current ServiceNow Paris Stock Rules Docs Page:
"A scheduled job named Stock Rule Runner runs once per day to create the restocking transfer orders, send email messages to stockroom managers, and create tasks for stockroom managers."