I would like to use FlexScript to programmatically retrieve the percentages of completion for the items actively going through a batch step in Process Flow, like these:
I see in the Model Tree that the currentQuantity and batchQuantity for each batch are stored in nodes under:
Tools/ProcessFlow/ProcessFlow/BatchTask/stats/instances/ProcessFlow/batches/
The currentQuantity and batchQuantity values appear to map to the fractions in the batches shown above, but I’m not sure how best to programmatically extract those values for all of the active batches in a batch step. Thanks in advance for your help.
@anthony.johnson - this is to populate the custom GUI that you recently showed me.