Class WorkflowInstances


  • public class WorkflowInstances
    extends Object
    • Constructor Detail

      • WorkflowInstances

        public WorkflowInstances()
    • Method Detail

      • getCurrentVariables

        public static Map<String,​String> getCurrentVariables​(long workflowInstanceKey)
      • getCurrentVariables

        public static Map<String,​String> getCurrentVariables​(long workflowInstanceKey,
                                                                   long completedPosition)
      • getCurrentVariables

        public static Map<String,​String> getCurrentVariables​(long workflowInstanceKey,
                                                                   long startingPosition,
                                                                   long stoppingPosition)
        CAVEAT: as this has no knowledge of the scope hierarchy, it just returns a map-reduce of all the variable records for the given workflow instance. This means, for example, that two tasks running in parallel in different sub-processes would see their respective scopes.