Batch Activity label

gregory_p_chin
Not applicable
0 Views
3 Replies
Message 1 of 4

Batch Activity label

gregory_p_chin
Not applicable

In process flow, I have a batch activity with the following settings:

8051-capture.png

When the max wait timer is fired, I want to release the tokens and change the token label "batchSize" to whatever the current number of tokens were currently batched at time of max wait timer fired (still retaining the "group by" function).

I guess I need a reference to current count of tokens within the batch activity grouped by the label "row" so I can update the "batchSize" label.

0 Likes
Accepted solutions (1)
1 View
3 Replies
Replies (3)
Message 2 of 4

jing_chen
Not applicable
Accepted solution

Hi!

if check the code in OnWaitTimerFired, you will find the param "collected" which is currently batched at time of max wait timer fired.

8052-batch1.png

You can add a code snippet and type the code as following pic.

8053-batch2.png

Message 3 of 4

gregory_p_chin
Not applicable

Yes, this is it. Thank you...

0 Likes
Message 4 of 4

mischa_spelt
Advisor
Advisor

Probably a Set Label also works then, instead of the code snippet.