Skip navigation links

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


oracle.bpel.services.workflow.task
Interface ITaskServiceCallbacks


public interface ITaskServiceCallbacks

Method Summary
 void onSubTaskUpdated(Task subTask, java.lang.String parentTaskId, java.lang.String action, java.lang.String updatedBy)
          Each onSubTaskUpdatedCallback will be invoked for each and every update of a sub task
 void onTaskAssigned(Task task, java.lang.String action, java.lang.String previousOutcome, java.lang.String previousOutcomeUpdatedBy)
          Each onTaskAssigned callback will be invoked when task is assigned due to initiation, reinitiation, outcome set, skip current assignment or routing slip override.
 void onTaskCompleted(Task task)
          Each onCompleteCallback will be invoked when the task is completed, expired, withdrawn
 void onTaskUpdated(Task task, java.lang.String action, java.lang.String updatedBy)
          Each onTaskUpdatedCallback will be invoked when task is updated.

 

Method Detail

onTaskAssigned

void onTaskAssigned(Task task,
                    java.lang.String action,
                    java.lang.String previousOutcome,
                    java.lang.String previousOutcomeUpdatedBy)
Each onTaskAssigned callback will be invoked when task is assigned due to initiation, reinitiation, outcome set, skip current assignment or routing slip override.
Parameters:
task - The task that was assigned
action - The action that caused assignment
previousOutcome - The previous outcome if any
previousOutcomeUpdatedBy - The user who set the previous outcome

onTaskCompleted

void onTaskCompleted(Task task)
Each onCompleteCallback will be invoked when the task is completed, expired, withdrawn
Parameters:
task - The task that was completed

onTaskUpdated

void onTaskUpdated(Task task,
                   java.lang.String action,
                   java.lang.String updatedBy)
Each onTaskUpdatedCallback will be invoked when task is updated. The update can be any of the actions that are not captured in the onCompleteCallback or onAssignedCallback. This callback will typically called for actions like escalate task, reassign task, payload updated, request for information, etc.
Parameters:
task - The task that was updated
action - The action that caused the update
updatedBy - The user who updated the task

onSubTaskUpdated

void onSubTaskUpdated(Task subTask,
                      java.lang.String parentTaskId,
                      java.lang.String action,
                      java.lang.String updatedBy)
Each onSubTaskUpdatedCallback will be invoked for each and every update of a sub task
Parameters:
subTask - The sub task that was updated
parentTaskId - The parent task id of this sub task
action - The action that caused the update
updatedBy - The user who updated the subTask

Skip navigation links

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


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