Chapter 17 Working with Sybase WorkSpace Business Process
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. This activity contains an assign task (<<Assign>> data transformation) displayed in a sub-diagram. You just need to define the source property (data transformation input variable) and the target property (data transformation assigned variable) part in the data transformation property sheet.
Sybase WorkSpace Business Process concept | PowerDesigner concept |
---|---|
Assign activity | Composite process with <<Assign>> stereotype. |
Assign task | Data transformation in the <<Assign>> process. |
Sequence of assign tasks | Flows between data transformations. |
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>> stereotype, an event handler automatically creates a composite process with a sub-diagram filled with a default sequence of assign tasks, that is to say a start object followed by an <<Assign>> data transformation followed by an end object. You can add more data transformations to the sub-diagram. You also have to define the source and target properties in the data transformation property sheet.
Change to Assign
You can right-click an <<Undefined>> process and select the Change to Assign command.
Copyright (C) 2005. Sybase Inc. All rights reserved. |
![]() |