Class WorkflowTaskConditionNotMet

All Implemented Interfaces:
Serializable

public class WorkflowTaskConditionNotMet extends IllegalStateException
Thrown by WorkflowTaskService.complete(java.lang.Long, java.lang.String, com.axelor.auth.db.User) while a task's when is false. The task is left untouched, so retrying once the record changes is right. getBlocked() carries the node's own <blocked> message.
See Also:
  • Constructor Details

    • WorkflowTaskConditionNotMet

      public WorkflowTaskConditionNotMet(String nodeId, String blocked)
  • Method Details

    • getBlocked

      public String getBlocked()
      The node's own <blocked>, rendered, or null if none was authored.