Skip navigation links

Oracle Fusion Middleware
Workflow Services Java API Reference for Oracle SOA Suite
11g Release 1 (11.1.1)
E10660-02


oracle.bpel.services.workflow.task
Interface IRoutingSlipCallback

All Known Implementing Classes:
ExtendedAbstractRoutingSlipCallback

public interface IRoutingSlipCallback

Method Summary
 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

 

Method Detail

onTaskAssigned

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
Parameters:
task - The task object
action - The action that caused the assignment
outcome - The previous outcome if the assignment happened because a participant set the outcome and routed the task
outcomeUpdatedBy - The user id of the user who set the previous outcome, if any previous outcome

onTaskCompleted

void onTaskCompleted(Task task)
Invoked when the task is completed, expired, withdrawn or errored
Parameters:
task - The task object

onTaskUpdated

void onTaskUpdated(Task task,
                   java.lang.String action,
                   java.lang.String updatedBy)
Invoked when the task is updated
Parameters:
task - The task object
action - The action that caused the update
updatedBy - The id of the user who updated the task

onSubTaskUpdated

void onSubTaskUpdated(Task task,
                      java.lang.String parentTaskId,
                      java.lang.String action,
                      java.lang.String updatedBy)
Invoked when a sub task is updated
Parameters:
task - The task object
parentTaskId - 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 derived
action - The action that caused the update
updatedBy - The id of the user who updated the task

onStageComplete

void onStageComplete(Task task,
                     java.lang.String completedStageName,
                     java.lang.String completedStageOutcome)
Parameters:
task - The task object
completedStageName - The name of the completed stage
completedStageOutcome - The outcome of the completed stage

Skip navigation links

Oracle Fusion Middleware
Workflow Services Java API Reference for Oracle SOA Suite
11g Release 1 (11.1.1)
E10660-02


Copyright © 2009, Oracle and/or its affiliates. All rights reserved.