oracle.apps.fnd.wf.engine
Interface  Executor
- public interface Executor
 
This interface must be implemented by all executors to be used by workflow
 engines. Executors implements this interface must also have public default
 constructor so that the ExecutionManager will be able to create
 instances of an executor.
 
 
RCS_ID
public static final java.lang.String RCS_ID
RCS_ID_RECORDED
public static final boolean RCS_ID_RECORDED
execute
public ActivityResult execute(WorkflowContext ctx,
                              WorkItemProcessActivity activity,
                              ActivityResult event,
                              java.lang.String runMode)
                       throws ExecutionException
- This procedure is called when a workflow engine decides to execute a
 function per activity definition.
- Parameters:
 ctx - : {$link WorkflowContext} within which the routine engine is
        runningactivity - :{$link WorkItemProcessActivity} to be executedevent - : {$link ActivityResult} result to cause this activity to be
        executed, usually an upstream instance result.runMode - : String indicates that if this is a cancel call or not
        (possible values are Function.RUN_MODE, Function.CANCEL_MODE etc.
        Function)- Returns:
 - activityResult : {$link ActivityResult} either returned by an
         activity function, or created by the executor to indicate the
         execution status.
 - Throws:
 ExecutionException - when fails to perform the execution for the
         given activity. This exception will result in the process jumping
         into an error process mode.