question

guoyi avatar image
0 Likes"
guoyi asked Felix Möhlmann answered

How to use JOIN in PF?

Hi all, I have some problem in learning JOIN activity in PF.

I first set up a Split in PF, and created a task sequence for the AGV . Travel1 can proceed normally, but after the Join activity, Travel2 shows that the label of the AGV does not exist. Is it an operation problem of the Join activity?

1685617902172.png1685617922701.png

1685618103828.png

This is my model, looking forward to your replyJOIN.fsm


FlexSim 23.1.2
process flow
1685618103828.png (9.0 KiB)
join.fsm (47.0 KiB)
1685617902172.png (33.1 KiB)
1685617922701.png (9.4 KiB)
5 |100000

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

1 Answer

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

The Join activity deletes all but one entering tokens. (If the tokens have a parent-child relationship then the parent token is kept.) In this case the taskSequence label is lost when the token on which it was created is deleted.

To make sure that labels that labels which are created in the parallel branches are retained on the final token, make the split tokens children of the original one and use the Label Access on Parent Only option, so all labels are created/changed on the parent token.

capture1.png


capture1.png (8.1 KiB)
5 |100000

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