<ChangeStateAction>
Section:
Options
Required:
No
Value type:
Fully qualified Java class name
Default:
com.osm.action.ChangeStateAction
Product:
Creo Elements/Direct Model Manager, Creo Elements/Direct Drawing Manager
Description
Specifies which Java class the system should use to implement the Change State action.
The Change State action only validates the state of a model's children (and performs special checks if the children are drawings). It does not validate the state of a Masterdata's children.
By including this tag in your custom xml file (without defining a custom release process), you alter the behavior of the default change state process:
A parent assembly's state cannot advance unless its children exist at a higher state.
You can configure the process to:
Change the state of children part models (sub-assembly states are never modified).
Change the state of related drawings.
Define the state in which to move items when a new version of the item is released.
If the model's state cannot be changed, a report appears, detailing the issues that prevent the action.
Configure the actual release process in the <ReleaseProcess> section of your custom xml file. You must add the <ChangeStateAction> tag to the <Options> section to activate your release process.
Example
To activate your release process, add this tag to the <Options> section of your custom xml file.
<ChangeStateAction>com.osm.action.ChangeStateAction</ChangeStateAction>
To replace the default behavior with a configured behavior, add this tag to the <Options> section of your custom xml file.
<ChangeStateAction>com.acme.action.ChangeStateAction</ChangeStateAction>
Was this helpful?