Workflow.completeTask

Signals completion of the current workflowed form and updates the workflow system with any workflow out parameters for the form. The corresponding workflow interactive task will be transitioned by this method call to state Completed. This method can only be called from the form which is being completed.

Parameters

java.lang.String  completionState,  java.lang.String  reason,