Used to perform a workflow vote.
<!-- SOAP_ACTION = EvaluateActivity, ApplyAML, or ApplyItem -->
<AML>
<Item type="Activity" action="EvaluateActivity">
<Activity>{Activity ID}</Activity>
<ActivityAssignment>{Assignment ID}</ActivityAssignment>
<Paths>
<Path id="{ID of the chosen Path}">{Name of the chosen Path}</Path>
</Paths>
<DelegateTo>{Either '0' or the ID of the user to delegate to.}</DelegateTo>
<Tasks>
<Task id="{ID of the task}" completed="{'0' or '1' indicating if the task was completed}"></Task>
</Tasks>
<Variables>
<Variable id="{ID of the variable}">{Value of the variable}</Variable>
</Variables>
<Authentication mode="{Type of authentication (e.g. e-signature)}">{Password for the type of authentication}</Authentication>
<Comments>{Comments}</Comments>
<Complete>{'0' or '1' indicating if the activity is complete}</Complete>
</Item>
</AML>
The pipeline as of 9.3 is:
Event |
Context |
Notes |
on_vote |
<Item type="Activity">
<!-- Activity properties -->
<WorkflowEvent>on_vote</WorkflowEvent>
<AssignmentId>{Assignment ID}</AssignmentId>
<Path>{Path Name}</Path>
</Item>
|
|
Activity promotion |
|
The new activity is promoted to the `Active` state |
on_activate |
<Item type="Activity">
<!-- Newly activated activity properties -->
<WorkflowEvent>on_activate</WorkflowEvent>
</Item>
|
|
on_assign |
<Item type="Activity">
<!-- Newly activated activity properties -->
<WorkflowEvent>on_assign</WorkflowEvent>
</Item>
|
|
Event |
Context |
Notes |
on_vote |
<Item type="Activity">
<!-- Activity properties -->
<WorkflowEvent>on_vote</WorkflowEvent>
<AssignmentId>{Assignment ID}</AssignmentId>
<Path>Refuse</Path>
</Item>
|
|
on_refuse |
<Item type="Activity">
<!-- Activity properties -->
<WorkflowEvent>on_refuse</WorkflowEvent>
<AssignmentId>{Old Assignment ID}</AssignmentId>
<ToAssignmentId>{New Assignment ID}</ToAssignmentId>
</Item>
|
|
Event |
Context |
Notes |
on_vote |
<Item type="Activity">
<!-- Activity properties -->
<WorkflowEvent>on_vote</WorkflowEvent>
<AssignmentId>{Assignment ID}</AssignmentId>
<Path>Delegate</Path>
</Item>
|
|
on_delegate |
<Item type="Activity">
<!-- Activity properties -->
<WorkflowEvent>on_delegate</WorkflowEvent>
<AssignmentId>{Old Assignment ID}</AssignmentId>
<ToAssignmentId>{New Assignment ID}</ToAssignmentId>
</Item>
|
|