Setting an object or related object attribute - SmartPlant Foundation - IM Update 48 - Help - Hexagon

SmartPlant Foundation Help

Language
English
Product
SmartPlant Foundation
Search by Category
Help
SmartPlant Foundation / SDx Version
10
SmartPlant Markup Plus Version
10.0 (2019)
Smart Review Version
2020 (15.0)

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