question

Michael B2 avatar image
0 Likes"
Michael B2 asked Michael B2 commented

How to manually release batches in process

I am trying to force batches to be released from a batch activity (regardless of progress) if a subsequent token enters a parallel "release batch" activity. Is there a way to do this? I have been trying to use the custom code "release batch" activity, but I can't figure out how to make the reference to the batch in process on the parallel activity.

FlexSim 18.0.2
batching
· 2
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Kari Payton avatar image Kari Payton commented ·

Have you tried using preemption?

2 Likes 2 ·
Michael B2 avatar image Michael B2 Kari Payton commented ·

@Kari Payton that method appears to be a solution. Thank you!

0 Likes 0 ·

1 Answer

Jordan Johnson avatar image
0 Likes"
Jordan Johnson answered

See the getbatch() command in the help manual. I believe you can use it to get what you need.

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.