Interface NodeInstanceLog


  • public interface NodeInstanceLog
    Audit view of node instance where each node instance (in most of the cases) will have two entries:
    • when node instance was triggered
    • when node instance was left - completed
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int TYPE_ABORTED
      Indicates that the node instance was left because an abort operation (it is not active anymore)
      static int TYPE_ENTER
      Indicates that node instance was triggered
      static int TYPE_ERROR
      indicates that the node was left because an error
      static int TYPE_EXIT
      Indicates that node instance was left (it's no more active)
      static int TYPE_OBSOLETE
      Indicates that the node was left because of the workflow considered not needed to be executed
      static int TYPE_SKIPPED
      Indicates that the node was taking another route because a signal, timeout, escanalation.
    • Field Detail

      • TYPE_ENTER

        static final int TYPE_ENTER
        Indicates that node instance was triggered
        See Also:
        Constant Field Values
      • TYPE_EXIT

        static final int TYPE_EXIT
        Indicates that node instance was left (it's no more active)
        See Also:
        Constant Field Values
      • TYPE_ABORTED

        static final int TYPE_ABORTED
        Indicates that the node instance was left because an abort operation (it is not active anymore)
        See Also:
        Constant Field Values
      • TYPE_SKIPPED

        static final int TYPE_SKIPPED
        Indicates that the node was taking another route because a signal, timeout, escanalation.
        See Also:
        Constant Field Values
      • TYPE_OBSOLETE

        static final int TYPE_OBSOLETE
        Indicates that the node was left because of the workflow considered not needed to be executed
        See Also:
        Constant Field Values
      • TYPE_ERROR

        static final int TYPE_ERROR
        indicates that the node was left because an error
        See Also:
        Constant Field Values
    • Method Detail

      • getProcessInstanceId

        java.lang.Long getProcessInstanceId()
        Returns:
        process instance identifier
      • getProcessId

        java.lang.String getProcessId()
        Returns:
        id of the definition
      • getNodeInstanceId

        java.lang.String getNodeInstanceId()
        Returns:
        identifier of the node instance
      • getNodeId

        java.lang.String getNodeId()
        Returns:
        identifier of the node which usually is the unique identifier from process definition, but can be unique identifier assigned by the engine when unique id is not available
      • getNodeName

        java.lang.String getNodeName()
        Returns:
        name of the node from process definition
      • getDate

        java.util.Date getDate()
        Returns:
        date on when this node was triggered
      • getWorkItemId

        java.lang.Long getWorkItemId()
        Returns:
        identifier of work item that this node refers to, might be null if it's not work item based node
      • getConnection

        java.lang.String getConnection()
        Incoming or outgoing connection identifier (sequence flow) for given node. Incoming or outgoing depends on the type of the node instance log entry where
        • entry type will contain incoming sequence flow
        • exit type will contain outgoing sequence flow
        Returns:
        Incoming or outgoing connection identifier
        See Also:
        getType()
      • getExternalId

        java.lang.String getExternalId()
        Returns:
        external (optional) identifier associated with this process instance
      • getNodeType

        java.lang.String getNodeType()
        Returns:
        Node type that indicates what sort of activity it was e.g. Human Task, Script Task, etc
      • getType

        java.lang.Integer getType()
        Returns:
        Type of the node instance log entry - Entry or Exit
        See Also:
        TYPE_ENTER, TYPE_EXIT