OOB Scheduled Job - Stock Rule Runner

SNOW User8
Giga Guru

Hi All,

Want to know the flow/process of  OOB Scheduled Job - Stock Rule Runner..

If anyone know about this, kindly share your comments

1 ACCEPTED SOLUTION

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.

View solution in original post

11 REPLIES 11

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.

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.

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.

anjana_ps_0-1675724172153.png

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?

Krishna51
Kilo Explorer

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.

steeple14
Tera Contributor

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

https://docs.servicenow.com/bundle/paris-it-service-management/page/product/asset-management/concept...