Interface IRemoteEventExecutionResult
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
RemoteEventExecutionResult
,WorkflowResponseWrapper
public interface IRemoteEventExecutionResult extends Serializable
Similar to theIEventExecutionResult
, but with slightly different info so that it can be sent to the frontend server.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getErrorMessage()
IFormDataAdapter
getFormDataAdapter()
Vorgang
getFormRecord()
IMapDiff<Serializable,Serializable>
getFrqSessionAttributesMapDiff()
IServletResponse
getServletResponse()
IMapDiff<String,Serializable>
getSessionAttributesMapDiff()
String[]
getStackTrace()
boolean
isWasFormRecordDeleted()
boolean
isWasSuccessful()
-
-
-
Method Detail
-
getErrorMessage
String getErrorMessage()
- Returns:
- If the workflow execution was not successful: the error message. Empty string otherwise.
-
getFormDataAdapter
IFormDataAdapter getFormDataAdapter()
- Returns:
- The current form data of the form record. The form data may have changed by some workflow node or action.
-
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.
-
getFrqSessionAttributesMapDiff
IMapDiff<Serializable,Serializable> getFrqSessionAttributesMapDiff()
- Returns:
- Changes to FRQ session attributes requested during workflow execution by some workflow node or action. These should be applied to the current FRQ session, if any.
- Since:
- 7.4.0
-
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.
-
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.
-
getStackTrace
String[] getStackTrace()
- Returns:
- If the workflow execution was not successful: the error call stack. Empty array otherwise.
-
isWasFormRecordDeleted
boolean isWasFormRecordDeleted()
- Returns:
true
when the form record was deleted by the workflow execution, i.e. when an action of typedelete form record
was executed.
-
isWasSuccessful
boolean isWasSuccessful()
- Returns:
- Whether the workflow execution was successful.
-
-