Workflow is not triggered from Catalog Item

Benedikt Kaiser
Tera Contributor

Hi, 

 

I have created a test catalog-item and a test-workflow and want to start the workflow by triggering it via the catalog item. 

However, after I start the catalog item, the workflow is not incorporated.

In the settings of the catalog item I have defined my correct workflow.

 

On the first screenshot you see the catalog item and the defined workflow.

On the second screenshot you can see the workflow itself.

On the third screenshot you can see the actual workflow after the catalog item is started.

 

I also made sure that my workflow is published. 

 

Does anyone have any ideas why the workflow is not integrated?

 

Thank you very much in advance, 

Benedikt

1 ACCEPTED SOLUTION

Community Alums
Not applicable

Click on Begin and drag your mouse to the Run script activity, it automatically generates a line, then from the Run script activity to the End activity. 

 

https://www.servicenow.com/community/it-service-management-blog/servicenow-workflow-servicenow-workf...

 

The link might help. Please mark the answer correct if it helps you!

View solution in original post

17 REPLIES 17

Community Alums
Not applicable

Click on Begin and drag your mouse to the Run script activity, it automatically generates a line, then from the Run script activity to the End activity. 

 

https://www.servicenow.com/community/it-service-management-blog/servicenow-workflow-servicenow-workf...

 

The link might help. Please mark the answer correct if it helps you!

Benedikt Kaiser
Tera Contributor

Stage.PNG

 The stage is approved.

The OOB behavior is that when the Request is approved, with help of business rule "Cascade Request Approval to Request Item" (on sc_request) the child requested items are updated to stage "request_approved", which in turn triggers business rule "Start Workflow" (on sc_req_item), which start the WF associated with the Catalog Item of the Requested Item updated. So I would check that those business rules are there and working.

The "Unknown" WF shown above seems to be the one that is supposed to mark requests as approved. As it is now, is not OK, since it skips request approvals, therefore the requested items will not be updated therefore the WFs will not be triggered. Though in your screenshot of the request Approval is approved, so that should have triggered the WFs on the Requested Items. Strange.