Package io.zeebe.test.util.record
Class WorkflowInstances
- java.lang.Object
-
- io.zeebe.test.util.record.WorkflowInstances
-
public class WorkflowInstances extends Object
-
-
Constructor Summary
Constructors Constructor Description WorkflowInstances()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Map<String,String>getCurrentVariables(long workflowInstanceKey)static Map<String,String>getCurrentVariables(long workflowInstanceKey, long completedPosition)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.
-
-
-
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.
-
-