Interface SessionInteraction.DecisionResult
- Enclosing interface:
- SessionInteraction
public static interface SessionInteraction.DecisionResult
Contains the report of a decision request (accept or reject).
- Since:
- 5.8.0
-
Method Summary
Modifier and TypeMethodDescriptionReturns error messages if the comment is specified as mandatory but is currently empty, and/or if a specific constraint is not valid.Returns an exception if a specific workflow trigger throws an exception just before the completion of the work item.boolean
Returnstrue
if the result contains error messages or an exception.
-
Method Details
-
hasFailed
boolean hasFailed()Returnstrue
if the result contains error messages or an exception. -
getErrorMessages
List<UserMessage> getErrorMessages()Returns error messages if the comment is specified as mandatory but is currently empty, and/or if a specific constraint is not valid. -
getException
OperationException getException()Returns an exception if a specific workflow trigger throws an exception just before the completion of the work item.
-