Class WorkflowEvent

    • Method Detail

      • getCase

        @NotNull
        public CaseType getCase()
      • getProcessInstanceName

        public String getProcessInstanceName()
      • getOutcome

        protected abstract String getOutcome()
      • getChangeType

        public ChangeType getChangeType()
      • isApprovalCase

        public boolean isApprovalCase()
      • isManualResourceCase

        public boolean isManualResourceCase()
      • isResultKnown

        public boolean isResultKnown()
      • isApproved

        public boolean isApproved()
      • isRejected

        public boolean isRejected()
      • isRelatedToItem

        public boolean isRelatedToItem​(ItemPath itemPath)
        Description copied from interface: Event
        Checks if the event is related to an item with a given path. The meaning of the result depends on a kind of event (focal, resource object, workflow) and on operation (add, modify, delete). Namely, this method is currently defined for ADD and MODIFY (not for DELETE) operations, for focal and resource objects events (not for workflow ones). For MODIFY it checks whether an item with a given path is touched. For ADD it checks whether there is a value for an item with a given path in the object created. For unsupported events the method returns false. Paths are compared without taking ID segments into account. EXPERIMENTAL; does not always work (mainly for values being deleted)
        Returns:
      • getWorkflowTask

        @NotNull
        public CaseType getWorkflowTask()