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

Also I think you have put the wrong workflow in the catalog item , the workflow name here is something else and the screenshot you provided was a different workflow. 

PratikJaiswal_0-1673256168009.png

 

Benedikt Kaiser
Tera Contributor

workflowtest.PNG

 

workflow1.PNG

Hi, 

the problem is I do not know where the workflow with the if condition is coming from.

As you can see in the screenshot, in the catalog item the workflow "test" is stated and when I open this record, the workflow with the script ist presented.

 

Best regards,

Benedikt

Could you find out and share what is the stage of the (parent) request?

Community Alums
Not applicable

The script activity in this is not running since there is no arrow pointed towards it and any arrow going from the script towards the end. It is just laying there doing nothing. You can as much as remove that and try with a different activity to check if it works.

Thank you very much for your explanation. 

How can I point the script to it ?