DMConfig_AttachObjectStateToClass

Description

This activity allows to add an already existig ObjectState to an already existing ClassType. If the specified ObjectState is already attached to the specified class it will be ignored and no exceptions will be thrown.


Class

ClassTypeExternalId InArgument<String>

The ExternalId of the ClassType to add the state(s) to.

ClassTypeId InArgument<Int32>

The Id of the ClassType to add the state(s) to.


DocsMarshal Connection

Orchestrator InArgument<IManager>

The orchestrator object represents the connection to a DocsMarshal installation.

If this argument is left null the activity will work on the running installation. To work on another installation you must get its orchestrator by the activity DatabaseOrchestrator.

State

ObjectStateExternalId InArgument<String>

The ExternalId of the single ObjectState to be added to the specified class. If single ObjectStateExternalId and multiple ObjectStateExternalIds have both a value both parameters will be considered and merged in an unique list of ObjectStateIds. ObjectStateId and ObjectStateExternalIds will be also merged together to build an unique list of states to be added to the specified class.

ObjectStateExternalIds InArgument<List<String>>

A list of ExternalIds to add multiple ObjectStates to the specified class. If single ObjectStateExternalId and multiple ObjectStateExternalIds have both a value both parameters will be considered and merged in an unique list of ObjectStateIds. ObjectStateId and ObjectStateExternalIds will be also merged together to build an unique list of states to be added to the specified class.

ObjectStateId InArgument<Int32>

The Id of the single ObjectState to be added to the specified class. If single ObjectStateId and multiple ObjectStateIds have both a value both parameters will be considered and merged in an unique list of ObjectStateIds. ObjectStateIds and ObjectStateExternalIds will be also merged together to build an unique list of states to be added to the specified class.

ObjectStateIds InArgument<List<Int32>>

A list of Ids to add multiple ObjectStates to the specified class. If single ObjectStateId and multiple ObjectStateIds have both a value both parameters will be considered and merged in an unique list of ObjectStateIds. ObjectStateIds and ObjectStateExternalIds will be also merged together to build an unique list of states to be added to the specified class.