Terminates execution of the current form, opens an interactive task and starts the Ebase form associated with the task.
Any declared workflow in parameters for the new form are passed into the new form from the workflow job.
This method can only be used with interactive tasks associated with Ebase forms (Activity type: Ebase Form Activity).
Typically, this method is used by a task list application to start an interactive task when selected by the user.
The interactive task identified by
taskId
must be in stateWaiting
, and will be transitioned by this method call to stateActive
. The task must already be assigned to the user. If the task has previously been opened and therefore has a state ofActive
, method #reOpenTaskAndGotoForm(String) should be used instead. If the task has stateUnassigned
, it must first be assigned to the user using method com.ebasetech.xi.api.workflow.WorkflowManagement#assign(String, String, boolean, String, String).The taskId is passed into the form associated with the task and can be obtained using system variable
$WF_TASK_ID
.