Autodesk Vault ProfessionalVault API

SetDisallowedItemLifeCycleStatesForSubmitActivities Method

Autodesk.Connectivity.WebServicesChangeOrderService

Sets which lifecycle states for items and file will restrict a change order from moving out of a work state when the restrict setting is enabled

Required Permissions

Vault Set Options

Syntax

public void SetDisallowedItemLifeCycleStatesForSubmitActivities(
   System.long[] lcStateIds
)
Public Sub SetDisallowedItemLifeCycleStatesForSubmitActivities( _
   ByVal lcStateIds() As System.Long _
) 

Parameters

NameDescription
lcStateIdsthe lifecycle state IDs for file and items that will prevent an associated change order from moving out of work state

Remarks

The actual setting is disabled/enabled via the API "ChangeOrderService.SetDisallowedLifeCycleStatesForSubmitActivitiesEnabled" When enabled, a user cannot move out of the Work state if any of the Items/Files associated with the Change Order are in specified lifecycle states.

See Also