Change workflow's state automatically using a script in DOORS NEXT GENERATION
![](http://jazz.net/_images/myphoto/6f4ddccaa7b443b902b39c92aee0d789.jpg)
I want to change state automatically using a script, if the artifact is in a given state, and some attributes have the right values, the artifact goes to another state. without pressing the action manually.
Examples : For artifacts in “Approved state”, if we change an attribute, the artifact move to "Draft" automatically.
For artifacts in "Draft", if contents is filled, we move the artifact from "Draft" to "In Progress".
is this feature already implemented in DNG or not ?
Thank you in advance.
One answer
![](http://jazz.net/_images/myphoto/6f4ddccaa7b443b902b39c92aee0d789.jpg)
This is our current API Landing page: https://jazz.net/wiki/bin/view/Deployment/CLMProductAPILanding you can look at the available APIs that could be used to change the state of an object.
To my knowledge, DNG does not provide a capability comparable to EWM server operational behavior extensions. So you can not write a requirement save follow up action, that changes the state of the requirement.
It might be possible to implement something using the Client API https://jazz.net/wiki/bin/view/Main/RMExtensionsAPI702 but I do not have enough experience with it, to be sure.