Setting an object or related object attribute - HxGN SDx - Update 64 - Administration & Configuration

Administration and Configuration of HxGN SDx

Language
English
Product
HxGN SDx
Search by Category
Administration & Configuration
SmartPlant Foundation / SDx Version
10

The SetProperty process class is deprecated. It is replaced by the PropagateProperty process class. For more information, see Propagating a value on an object or related object attribute.

This step is used to set a value on an attribute of the object progressing down the workflow. The step has four arguments.

Name:

Process class name: SetProperty,Arg1,Arg2,Arg3,Arg4

Where:

Arg1: Relationship definition or edge definition UID to get to the objects to update (optional). No need for a directional qualifier on the relationship definition as this is determined by the code.

Arg2: Interface definition name

Arg3: Property definition name

Arg4: New attribute value, Enum name or 'NOW' keyword for date properties. The keyword is not case sensitive.

Examples: Set the object issue state to ISSUED: SetProperty,ISPFTransmittal,SPFXmtlIssueState,e1XmtlIssueStateISSUED

(Set the object completion date on the transmittal interface.)

SetProperty,ISPFTransmittal,SPFCompletionDate,NOW