AddLifeCycleStateTransition Method
Adds a transition from one Life Cycle State to another.
Required Permissions
ManageBehaviorDefinitionSyntax
public LfCycTrans AddLifeCycleStateTransition(
System.long fromStateId,
System.long toStateId,
EnforceChildStateEnum enforceChildState,
EnforceContentStateEnum enforceContentState,
BumpRevisionEnum bumpRevision,
JobSyncPropEnum syncPropOption,
FileLinkTypeEnum enforceFileLinkUptodate,
FileLinkTypeEnum enforceFileLinkConsumable,
System.bool enforceChildNotObsoleteState,
System.bool useTransitionBasedSecurity,
System.long[] allowedUserIds,
System.long[] deniedUserIds,
PropDefCond[] conditions,
RuleSet[] peerReviewRuleSets,
System.bool updateItems,
System.bool executePurge,
System.bool extSyncToFM
)Public Function AddLifeCycleStateTransition( _
ByVal fromStateId As System.Long, _
ByVal toStateId As System.Long, _
ByVal enforceChildState As EnforceChildStateEnum, _
ByVal enforceContentState As EnforceContentStateEnum, _
ByVal bumpRevision As BumpRevisionEnum, _
ByVal syncPropOption As JobSyncPropEnum, _
ByVal enforceFileLinkUptodate As FileLinkTypeEnum, _
ByVal enforceFileLinkConsumable As FileLinkTypeEnum, _
ByVal enforceChildNotObsoleteState As System.Boolean, _
ByVal useTransitionBasedSecurity As System.Boolean, _
ByVal allowedUserIds() As System.Long, _
ByVal deniedUserIds() As System.Long, _
ByVal conditions() As PropDefCond, _
ByVal peerReviewRuleSets() As RuleSet, _
ByVal updateItems As System.Boolean, _
ByVal executePurge As System.Boolean, _
ByVal extSyncToFM As System.Boolean _
) As LfCycTransParameters
| Name | Description |
|---|---|
| fromStateId | The starting state. |
| toStateId | The destination state. |
| enforceChildState | A bitfield indicating how the state should be enforced in associated child Entities. |
| enforceContentState | A bitfield indicating how the state should be enforced in linked Entities. |
| bumpRevision | If true, the object revision should be bumped during the transition. If false, the object revision will stay the same. |
| syncPropOption | This option tells if the 'state' property needs to be synchronized with the file during a state change. Has no affect on other entity types. |
| enforceFileLinkUptodate | sets an action on this transition to verify that an item's file links are up-to-date |
| enforceFileLinkConsumable | sets an action on this transition to verify that an item's file links are in a consumable state |
| enforceChildNotObsoleteState | specifies whether or not to verify that there are no children in the obsolete state for this transition |
| useTransitionBasedSecurity | If true, security is enabled for this transition. |
| allowedUserIds | The users and groups allowed to use this transition. |
| deniedUserIds | The users and groups restricted from using this transition. |
| conditions | A set of property conditions for this transition. A transition cannot occur if the conditions have not been met. |
| peerReviewRuleSets | |
| updateItems | For future use. Pass false for now. |
| executePurge | |
| extSyncToFM |
Return Value
The new Life Cycle Transition object.