<Type>
Section:
<ReleaseProcess>
Required:
Yes, as part of the <StateOrders> definition
Value type:
String
Default:
Defined in wmconf.xml
Product:
Creo Elements/Direct Model Manager
Description
The type of state stored in the database. For example, you may have multiple states responsible for approval (approved-1, approved-2), but all appear as state type "approved".
The state type determines which lifecycle attributes, if any, should be set at this state.
More about lifecycle attributes:
When an item moves to a state of type approved, Creo Elements/Direct Model Manager updates the APPROVED_AT and APPROVED_BY lifecycle attributes. If this is the first approval, Creo Elements/Direct Model Manager also sets the ORG_APPROVED_BY and ORG_APPROVED_AT lifecycle attributes.
When an item moves to a state of type released, Creo Elements/Direct Model Manager updates the RELEASED_AT and RELEASED_BY lifecycle attributes. If this is the first release, Creo Elements/Direct Model Manager also sets the ORG_RELEASED_BY and ORG_RELEASED_AT lifecycle attributes.
If you create a new revision of Masterdata, Creo Elements/Direct Model Manager clears the APPROVED_AT, APPROVED_BY, RELEASED_AT, and RELEASED_BY lifecycle attributes.
Default state types include:
work
approved
released
archived
locked
Example
To define an additional work type, edit this tag in the <ReleaseProcess> section of the base class (DMReleaseProcess or DTReleaseProcess) in your custom xml file.
<StateOrders>work-1
<Index>1.5</Index>
<Type>work</Type>
</StateOrders>
Was this helpful?