Assign Activities

An assign activity is a sequence of atomic assign tasks. An assign task is an XPath expression that copies value from a variable to another variable. The assign task can be: a regular assign for setting the value of a context variable, a Get environment variable or a Get process Id that copies its value to a context variable, a Graft that adds nodes to an XML tree or a Prune that removes nodes from an XML tree.

The type of the assign task depends on the source of the task whereas the target of the assign task is always a context variable or an XPath expression.

To design an assign activity, it is strongly recommended to use the Insert Assign command in the flow contextual menu. This command automatically creates an assign activity with the correct input and assigned variables. You just need to define the source property (data transformation input variable) and the target property (data transformation assigned variable) part in the Assignments tab of the process property sheet.

Sybase WorkSpace Business Process concept

PowerDesigner concept

Assign activity

Process with "Assign" implementation type.

Assign task

Data transformation defined in the Assignments tab of the process with "Assign" implementation type.

Sequence of assign tasks

Several data transformations defined in the Assignments tab of the process with "Assign" implementation type.

Source property for the assign task

Input variable attribute of the data transformation.

Target property for the assign task

Assigned variable attribute of the data transformation.

Part

Assigned part attribute of the data transformation.

When you create an assign activity with the "Assign" implementation type, this triggers the display of the Assignments tab:



In the Assignments tab you then have to:

Note: You can right-click an <<Undefined>> process and select the Change to Assign command.