question

Darvin Davis avatar image
0 Likes"
Darvin Davis asked Jeanette F commented

Port by case

5-2_5.fsm5-2_4.fsm5-2.fsmHi I need help with port by case. I have the following process line flow Machine 1-2-1-sink

I tried to increment the value of a label called times processed at machine 1 but it is not working
port-by-case.png

I have uploaded the file if there are any improvements or corrections please do mention it would help me a lot in terms of learning it.

thank you for the help.

FlexSim 24.1.0
help requestdoubts
port-by-case.png (11.2 KiB)
5-2-5.fsm (30.9 KiB)
· 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.

Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @Darvin Davis, was Joerg Vogel'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 comment back to reopen your question.

0 Likes 0 ·

1 Answer

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered

Try in case function: item.TimesProcessed

by attribute labels array you get access to labels nodes and not Label values

maybe you succeed by adding after your statement .value property.

5 |100000

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