How to make a normal change order move from "new" to "Assess" using a script

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-13-2022 09:18 AM
Hello everyone, I hope you can help me.
We are jointly trying to get a supplier to run a script from Stackstorm that allows you to create a normal change and then with the "script" to go through all the stages automatically. The problem is that when it has to go from "new" to "assess" it stays in "new" waiting to be given the order to "request approval".
can you think of an idea of how to get the "request approval" command to be executed by a command in the script?
I would be eternally grateful.
this is the workflow in case it helps:
- Labels:
-
Change Management

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-13-2022 10:02 AM
I think creating the job directly can be a catch since states are controlled by "State change handler".
If at all you want to create directly in assess, set the states in "ASSESS" and use setWorkflow(false) in your query and try
Aman Kumar