Interface IRemoteEventExecutionResult

    • Method Detail

      • isWasSuccessful

        boolean isWasSuccessful()
        Returns:
        Whether the workflow execution was successful.
      • getErrorMessage

        String getErrorMessage()
        Returns:
        If the workflow execution was not successful: the error message. Empty string otherwise.
      • getStackTrace

        String[] getStackTrace()
        Returns:
        If the workflow execution was not successful: the error call stack. Empty array otherwise.
      • getServletResponse

        IServletResponse getServletResponse()
        Returns:
        The servlet response set by the workflow execution, i.e. the response to the HTTP request, if any. null if no response was set explicitly. This response, if set, should be returned.
      • getFormRecord

        Vorgang getFormRecord()
        Returns:
        The updated form record. The workflow execution may change the data of the form record, so this might be a different instance with different data than the form record passed in to the workflow executor.
      • isWasFormRecordDeleted

        boolean isWasFormRecordDeleted()
        Returns:
        true when the form record was deleted by the workflow execution, i.e. when an action of type delete form record was executed.
      • getSessionAttributesMapDiff

        IMapDiff<String,​Serializable> getSessionAttributesMapDiff()
        Returns:
        Changes to HTTP session attributes requested during workflow execution by some workflow node or action. These should be applied to the current HTTP session.
      • getFormDataAdapter

        IFormDataAdapter getFormDataAdapter()
        Returns:
        The current form data of the form record. The form data may have changed by some workflow node or action.