Interface IWorkflowExecutionPostProcessor

    • Method Detail

      • 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.