public interface IRoutingSlipCallback
| Modifier and Type | Method and Description |
|---|---|
void |
onStageComplete(Task task, java.lang.String completedStageName, java.lang.String completedStageOutcome) |
void |
onSubTaskUpdated(Task task, java.lang.String parentTaskId, java.lang.String action, java.lang.String updatedBy)
Invoked when a sub task is updated
|
void |
onTaskAssigned(Task task, java.lang.String action, java.lang.String outcome, java.lang.String outcomeUpdatedBy)
Invoked when the task outcome is set and assigned to next participant
|
void |
onTaskCompleted(Task task)
Invoked when the task is completed, expired, withdrawn or errored
|
void |
onTaskUpdated(Task task, java.lang.String action, java.lang.String updatedBy)
Invoked when the task is updated
|
void onTaskAssigned(Task task, java.lang.String action, java.lang.String outcome, java.lang.String outcomeUpdatedBy)
task - The task objectaction - The action that caused the assignmentoutcome - The previous outcome if the assignment happened because a participant set the outcome and routed the taskoutcomeUpdatedBy - The user id of the user who set the previous outcome, if any previous outcomevoid onTaskCompleted(Task task)
task - The task objectvoid onTaskUpdated(Task task, java.lang.String action, java.lang.String updatedBy)
task - The task objectaction - The action that caused the updateupdatedBy - The id of the user who updated the taskvoid onSubTaskUpdated(Task task, java.lang.String parentTaskId, java.lang.String action, java.lang.String updatedBy)
task - The task objectparentTaskId - The task id of the root parent task. The root parent is not the necessarily the immediate parent, but the original task from which this sub task is derivedaction - The action that caused the updateupdatedBy - The id of the user who updated the taskvoid onStageComplete(Task task, java.lang.String completedStageName, java.lang.String completedStageOutcome)
task - The task objectcompletedStageName - The name of the completed stagecompletedStageOutcome - The outcome of the completed stage