Skip navigation links

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


oracle.bpel.services.workflow.assignment.dynamic
Interface IDynamicTaskEscalationFunction

All Superinterfaces:
IDynamicAssignmentFunction

Deprecated. since 11.1.1.6.2 - use IDynamicTaskEscalationPattern instead.

@Deprecated
public interface IDynamicTaskEscalationFunction
extends IDynamicAssignmentFunction

Classes that implement workflow Custom Escalation Functions that select which user a task should be escalted to must implement this interface. As well as providing a class that implements this interface, you must also provide configuration information for the new function. Please refer to the Workflow Services chapter in the BPEL Process Manager Developer's Guide for more information.

Since:
10.1.3.1.0

Method Summary
 java.lang.String getTaskEscalationUser(java.lang.String user)
          Deprecated. Instead use getTaskEscalationUser(Task task) function.
 java.lang.String getTaskEscalationUser(Task task)
          Deprecated. This method will be called to get the user to escalate the task to

 

Methods inherited from interface oracle.bpel.services.workflow.assignment.dynamic.IDynamicAssignmentFunction
getDescription, getFunctionName, setInitParams

 

Method Detail

getTaskEscalationUser

java.lang.String getTaskEscalationUser(Task task)
                                       throws DynamicAssignmentException
Deprecated. 
This method will be called to get the user to escalate the task to
Parameters:
task - a Task value
Returns:
The user to whom the task should be escalated to
Throws:
DynamicAssignmentException - if an error occurs

getTaskEscalationUser

java.lang.String getTaskEscalationUser(java.lang.String user)
                                       throws DynamicAssignmentException
Deprecated. Instead use getTaskEscalationUser(Task task) function.
This method will be called to get the user to escalate the task to. By default getTaskEscalationUser(Task task) will be called. To use this function edit your .task file. Add escalationParameter as the last element of globalConfiguration Element containing your escalationFunction with its value set to user. For example,

<escalationParameter>user&lt/escalationParameter> &lt/globalConfiguration>

If escalationParameter is not set or is set to any other value executeTaskEscalationFunction( String functionName , Task task ) will be invoked.

Parameters:
user - The user to whom the task is currently assigned to
Returns:
The user to whom the task should be escalated to
Throws:
DynamicAssignmentException - if an error occurs

Skip navigation links

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


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