Interface IWorkflowExecutionPostProcessor

All Superinterfaces:
Serializable
All Known Implementing Classes:
SupplyDefaultServletResponsePostProcessor, SupplyDefaultWorkflowStatePostProcessor

public interface IWorkflowExecutionPostProcessor extends Serializable
Callback that is called after the workflow was executed, but before the final result is created. Lets you modify the workflow execution context, such as by supplying a default servlet response when none was set.
Since:
7.0.11
Author:
XIMA MEDIA GmbH
  • Method Details

    • postProcess

      void postProcess(IWorkflowExecutionPostProcessParams params) throws Exception
      Called just before the workflow completes. Lets you modify the workflow, e.g. by providing a default servlet response when none was set. Note that the form record may have been deleted by the workflow. If you perform actions that rely on the existing of the form record, check beforehand.
      Parameters:
      params - Parameters with the workflow context and the current workflow result.
      Throws:
      Exception - When post-processing step could not be applied. This will result in a workflow failure. Catch the exception yourself if you do not wish for that to happen.