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

The properties look fine. 

 

In the below screenshot, you havent updated the Service Catalog and the category, want to update it and give it a shot?

 

CatalogItem.PNG

Benedikt Kaiser
Tera Contributor

approval.PNG

It still looks the same. Does it have something to do with the approval, that the script from the workflow is not triggered or shown?

Community Alums
Not applicable

Looks like, can you paste the if condition script for me?

 

Benedikt Kaiser
Tera Contributor

workflow.PNG

stages.PNG

I actually do not have any if condition script in the worflow.

I just see the approval in the stages, but maybe this was added automatically?

Community Alums
Not applicable

Benedikt, 

The workflow screenshots you provided in your replies to me are different, one contains an If condition and the other contains a "Run Script" .

The one with the Run script would always move forward irrespective of the outcome of the script. The one with the "If" condition , need to check the condition or the script within that action. 

Try checking out the workflow, double click on the if condition activity, and send me the screenshot of the content within that. 

 

 

Thanks,

pratik