question

Roger avatar image
0 Likes"
Roger asked Jeanette F commented

Duplicar objetos

Hola,

como puedo hacer para que al procesar un item flow me salgan dos con etiquetas diferentes para mandar a diferentes puertos.

Gracias en avanzado.

FlexSim 23.1.0
proccesor
· 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 @Roger, 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

A decide activity can evaluate labels.

It would be better to evaluate one single label with different values rather than to evaluate more different label names to come to a decision.

If there are more label names involved you can write a code to loop through all label names of the labels node. Then you increment a local variable which computed value is responsible for your decision of port diversion.

5 |100000

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