Workflow

The Workflow interface provides workflow related services to an interactive form, integration service or another workflow job. A number of specific methods to open a job or task are provided. In addition, access is provided to the workflow API, which contains all the functionality offered by the Ebase workflow system.

Workflow Functions

getApi Workflow.getApi( ) Returns a WorkflowManagment object representing the API for the workflow server.
completeTask Workflow.completeTask( [completionState , reason ] ) Signals completion of the current workflowed form and updates the workflow system with any workflow out parameters for the form.
openJob Workflow.openJob( processName , parameters [, owner , reason ] ) Opens a new workflow job for the process with name processName and passes any parameters to the new job as process attribute values.
openJobAndCompleteFirstTask Workflow.openJobAndCompleteFirstTask( processName , firstTaskId [, completionState , owner , reason ] ) Opens a new workflow job for the process with name processName and completes the first task designated by firstTaskId with completion state completionState.
openTaskAndGotoForm Workflow.openTaskAndGotoForm( taskId [, reason ] ) Terminates execution of the current form, opens an interactive task and starts the Ebase form associated with the task.
reOpenTaskAndGotoForm Workflow.reOpenTaskAndGotoForm( taskId ) Terminates execution of the current form, re-opens an interactive task and starts the Ebase form associated with the task.