UpdateItemLifeCycleStates Method
Sets the life cycle state for a set of Items.
Required Permissions
ItemChangeLifecycleStateSyntax
public override Item[] UpdateItemLifeCycleStates(
System.long changeOrderId,
System.long[] itemMasterIds,
System.long[] toStateIds,
System.string comment
)Public Overrides NotOverridable Function UpdateItemLifeCycleStates( _
ByVal changeOrderId As System.Long, _
ByVal itemMasterIds() As System.Long, _
ByVal toStateIds() As System.Long, _
ByVal comment As System.String _
) As Item()Parameters
| Name | Description |
|---|---|
| changeOrderId | The ID of the controlling Change Order. |
| itemMasterIds | the master IDs of the items to update |
| toStateIds | the lifecycle state IDs to transition to |
| comment | the comment for the new item iterations |
Return Value
the update item iterations
Remarks
When an item is assigned to a change order or the restrict lifecycle state changes to change orders option is enabled, item lifecycle state changes can only be executed using the change order service.