Hi !
I am trying to check how many tokens are waiting inside a batch activity.
I tried the following
treenode batchActivity = getactivity(processFlow, "Batch");
Array tokensInBatch = gettokens(processFlow, batchActivity);
print("[Decide] Waiting for Batch:"+ numtostring(tokensInBatch.length));
But I only get 0. I tried this method for counting the tokens in a Breath activity and it worked, so I guess the Batch activity is a bit different due to the tokens being batched.
Yet is there a way to get all the tokens waiting to be batched with code ?