Not really sure why this isn't working. I also tried it with a global list in a general process flow and it still didn't work. Might be a bug.
As a workaround you can listen to the general "OnContentChange" event and then check if the partition content has reached the target value in a Decide activity. Make sure that the connections coming from the Decide activity have the correct ranks.
I just happend to be in a similar pickle as @Ankur A3 and I found another solution. With a wait for event you can listen for On Partition Content Change and set it to Decrease or Increase to specific values or just 0. However listen for event on partition only works if you use a Global list and only if you go to the General tab of that list and check "Track Number Fields Total".
I realize that is answer is close to a year too late, but I find it to be a bit neater than the proposed workarounds.WaitForListEmpty.fsm
Hi @Felix Möhlmann,
In my model, run sub flow will release 1 token once all token will be pulled. While check for wait for event if condition is not matching, token will be sent to sink and there is not other token available for exchange process.
I think we have to have event triggered source to make it happen.
Thank you!
Ok @Felix Möhlmann. Got it!
Here, I have created partition based on object and availability to make sure that finished item is not pulled for processing.
I don't know why things are not working as per condition. Ideally, it it should trigger exchange process once partition content is reached 5. But it is going to wait for event.
Thank you!
The command "getstat" is missing a 0 parameter between "STAT_CURRENT" and the partition array.
This is not added when using the sampling tool because it is not necessary in a general process flow. However in an instanced flow that parameter tells the command that it should look at the global instance of the list activity.
15 People are following this question.
FlexSim can help you understand and improve any system or process. Transform your existing data into accurate predictions.
FlexSim is a fully 3D simulation software environment. FlexSim can be used to simulate any process in any industry.
FlexSim®, FlexSim Healthcare™, Problem Solved.®, the FlexSim logo, the FlexSim X-mark, and the FlexSim Healthcare logo with stylized Caduceus mark are trademarks of FlexSim Software Products, Inc. All rights reserved.
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © 2025 Autodesk Inc. All rights reserved