Workflow Activities
Workflow activities are atomic work units which can be connected together to define a business process.
Workflow activities share a common set of tags that define their execution mode and interaction with the rest of the workflow system.
An activity is defined by a Name which is any string of size 80 or less characters. This name (English only) should convey the purpose of the activity and will appear in the Event Log.
A workflow cannot have duplicate actions.
<Activity Name="InternalEditMoveToFirst"> <Start/> <Action>StateTransition</Action> <Description lang="en">Set workflow to next step.</Description> <Execution>SYNCHR</Execution> <Parameter direction="in" name="InDocument" type="document" eval="variable">inDoc</Parameter> <Parameter direction="out" name="ConversationState" eval="variable" type="string">InternalEditNextState</Parameter> </Activity>
Tag | Semantics | Signature | Valid Values |
---|---|---|---|
Start
(Only one activity can have a start tag) |
Specifies the first activity to execute. |
<Start/> |
No values. |
Action | The type of activity to execute. |
<Action>#PCDATA</Action> |
See list of activities. The name specified here must be one of the pre-defined activities. |
Description (Optional) | A textual description of the activity. The description must contain 80 or less characters, else an error occurs.
It is recommended that a description be provided. The description shows up in the Event Details and can be in any language. |
<Description>#PCDATA</Description> |
Any arbitrary string. |
Execution | The execution mode.
SYNCHR - the process engine will wait for the activity to complete before proceeding. ASYNCHR - the process engine will not wait for the activity to complete. Failure of the activity may be ignored by the process engine. |
<Execution>#PCDATA</Execution> |
SYNCHR and ASYNCHR. SYNCHR is supported for all activity types. Check details of each activity to verify if it supports ASYNCHR. |