question

anon-user avatar image
0 Likes"
anon-user asked tannerp answered

Record which Processor an item went through

There are two things I want to do.

The first is,
It is to record in "mylabel" which Processor was passed.

The second is,
Check "mylabel" and move the item recorded via Processor1 to Queue2.

But I have no knowledge to make this.



FlexSim 19.0.5
labelflowflexsim 19.0.5
· 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.

Joerg Vogel avatar image Joerg Vogel commented ·

Please look on the tab Triggers!! The flow tab functions can achieve similar actions but only with extensive use of own source code. Possible triggers are Entry, Processfinish, Exit,...
You will write directly source code of some kind whether in source code editor or process flow. You can use arrays, label based tables or tracked variables. I prefer arrays, because you can append data by a simple method. Maybe you read about tracked variables in manual, too and then you try it on picklist option in the mentioned triggers. This isn’t an answer! I give some hints into a direction, because the front end of properties hasn’t changed to user more friendly look.

0 Likes 0 ·

1 Answer

tannerp avatar image
0 Likes"
tannerp answered

Like Jörg said, the triggers tab is the best way to achieve the label writing. You've actually got all of that set up correctly in your attached model. In order to pull the correct item, you need to specify the label value as a pointer and not a string. I changed this in the model as shown in the image below and it should behave as you've described. Hopefully this helps.

shimizu help.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.