Unable to advance a stock order request? Seeking technical help/documentation

Claire Ashdown2
Giga Guru

Hello! I am testing out the Hardware Inventory Stock Order catalog item. I submitted a test order and it skipped approvals (since we haven't configured the flow to have any approvals yet). But now the flow is stuck in the flow at step 2, waiting for the RITM to have the Sourced field set to true (see screenshot). However, I can't figure out what process sets the Sourced field on a RITM to true so that the Sourcing catalog task can be generated.

 

I've consulted the Product Docs, but it just says that a task will be generated after approval, not what is required for that to work: https://www.servicenow.com/docs/r/it-asset-management/hardware-asset-management/create-inventory-sto...

 

I've watched https://youtu.be/0rMCxaTbZ44?si=5xRjT054S4otYsR2, but it makes it look like the intent is to be checking the Backordered and Received checkboxes directly on the RITM record, which feels really wrong to me from my history working with RITMs, workflows/flows, and catalog tasks. There is nothing about how to advance to Sourcing.

 

I see in https://youtu.be/e1bcXPtO6zI?si=jX1xMAeUD2oTpYo1 there is a note that "The Source Request task is only available when the Procurement plugin has been installed". However, this dependency is not noted in the Product Documentation, and I do already have com.snc.procurement installed.

 

So, does anyone know technically and definitively what causes the Hardware Inventory Stock Order to be advanced? After submission, I am at a loss what to do with it next in the out-of-box flow. I know as an admin I can go in and customize it do whatever I want, but I'm trying to understand and walk through the intended out-of-box use for this catalog item and flow.

1 ACCEPTED SOLUTION

Claire Ashdown2
Giga Guru

I had to do multiple Studio code searches to find it, but I believe I've found the answer now. There is a flow called "Source Request". It will create the catalog task you see at 2:30 of https://youtu.be/e1bcXPtO6zI?si=jX1xMAeUD2oTpYo1. That flow is triggered when a sc_request record is updated that has a value of Sourceable=true and Approval=Approved (which my RITM created through Hardware Inventory Stock Order that was auto-approved does). The next step is an action "to fetch value of system property 'com.sn_itam.enable_flow_designer.source_request'". This property must be set to true for the flow to advance into creating a catalog task for sourcing (not mentioned in any product documentation I could find: https://www.servicenow.com/docs/search?query=%2522com.sn_itam.enable_flow_designer.source_request%25...).

 

However, looking at our flow executions for the Source Request flow, they are all erroring. Looking at the flow engine context record gives me the necessary logs for troubleshooting my next steps.

View solution in original post

6 REPLIES 6

Ah, I need to be working it through the Hardware Asset Workspace. That's where the "Source Request" button is.

Yes correct, it's the second screenshot I added. The screen is blank, because HAMP is not available on PDIs. If I'm not mistaken it's also available if you open the sc_task in classic UI.