question

Ankur A3 avatar image
0 Likes"
Ankur A3 asked Andrew O commented

Error While Checking List Content Before Token Release in Object Process Flow?

Hi Team,

I am working on model using process flow where machine is pulling 1 token from buffer before starting process. There is also extra supply to buffer periodically. I want to consume extra supply from buffer first than regular supply and order should be place for replenishment once buffer content (list content) reaches to 0.

I am facing error while using wait for event activity which is checking the buffer content before placing the order. Can you help me to resolve it?

@Jason Lightfoot @Felix Möhlmann

1658909680127.png

Thank you!

27.07.2022_Object_Process_Flow_Error.fsm


FlexSim 21.0.10
process flowlistobjectcontentcheck
· 1
5 |100000

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

Andrew O avatar image Andrew O commented ·

Hi @Ankur A3, was Felix Möhlmann's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.

0 Likes 0 ·

1 Answer

·
Felix Möhlmann avatar image
1 Like"
Felix Möhlmann answered

Because the list is set to be 'local', there is an instance of the list for each object attached to the instanced process flow. The main list isn't valid in this case and you have to listen to the respective instance of the list instead.

You can do this by specifying the path to that instance in the object field through custom code.

1658912845902.png

27072022-object-process-flow-error-local-fm.fsm

You can also link the list activity to a global list instead and partition the entries by the instance object to keep them separate.

1658913812335.png

27072022-object-process-flow-error-global-fm.fsm


5 |100000

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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