Workflow not triggering on request

Mike S3
Giga Expert

Hi , 

 

I created a workflow that is supposed to run on a sc_req_item but it doesn't look like its getting triggered correctly.  I've attached a copy of my workflow , there aren't any errors when I validate it and it is linked correctly to the servicenow request. 

I've also noticed that when I try to view the workflow context it says there is no records found and the status for the request approval is stuck at "Not Yet Requested". 

Thanks !!

 

 

1 ACCEPTED SOLUTION

DirkRedeker
Mega Sage

Hi

When you create a Workflow, that runs on the "sc_re_item" table, this workflow will be fired with the Requested Item being created.

To do so, you need to reference THAT Workflow in the Catalog Item, that you are going to request.

This Workflow will NOT fire, just based on the Request being created. It will be fired as soon as the Requested Items (based on that specific Catalog Item) are created.

And the creation of the Requested Items will only be created AFTER the Request was approved.

Please review your setup and let me know.

Let me know if that answers your question and mark my answer as correct and helpful.

BR

Dirk

 

View solution in original post

9 REPLIES 9

Elijah Aromola
Mega Sage

You have to approve the request before the RITM workflow will start.

sachin_namjoshi
Kilo Patron
Kilo Patron

Check workflow context for your requested item using "Show Workflow" UI action for your requested item to find out where your workflow is stuck.

 

find_real_file.png

 

Regards,

Sachin

DirkRedeker
Mega Sage

Hi

When you create a Workflow, that runs on the "sc_re_item" table, this workflow will be fired with the Requested Item being created.

To do so, you need to reference THAT Workflow in the Catalog Item, that you are going to request.

This Workflow will NOT fire, just based on the Request being created. It will be fired as soon as the Requested Items (based on that specific Catalog Item) are created.

And the creation of the Requested Items will only be created AFTER the Request was approved.

Please review your setup and let me know.

Let me know if that answers your question and mark my answer as correct and helpful.

BR

Dirk

 

Thanks for your response Dirk , I believe my set up is fine . Are you referring to linking the workflow in the process engine of the catalog item ?