Calculated Name and Parent Properties

The Name and Parent properties used in workflow tasks identify the node and hierarchy location for which changes are being made. The values of these properties are often manually defined by a user or loaded from a source file. The Calculate Name and Calculate Parent options available for workflow tasks can be used to calculate the values of these properties using a dynamic script instead of having to define or load the values explicitly.

The Calculate Name option is available for workflow tasks using the Add Leaf or Add Limb action types. The Calculate Parent option is available for those tasks as well as Insert and Move tasks. The calculation logic of the script(s) may access the following data sources:

  • NextID function

  • Properties of the version for the request

  • Hierarchies and their properties in the version

  • Nodes and their properties

  • Hierarchy relationships between nodes

  • Properties of the request

  • Request items and their properties

  • Request item tasks and their action type

Calculation of the Name and Parent properties takes place when a governance request is calculated in the stage where a request item is added using a workflow task with these options enabled. The values may be recalculated in the originating stage for a request item or in a later stage which has been configured to recalculate these properties.

Note:

If a workflow model has been set up to allow Recalculated Task Properties and the calculated Name or Parent is manually overridden, then the Name or Parent will not be calculated again during that stage or any subsequent stage.