question

Richie R avatar image
0 Likes"
Richie R asked Richie R edited

Why did my token.item is missing after join ?

time: 20.227862 exception: Label property item retrieved on token id:5. Label does not exist. At /Tools/ProcessFlow/ProcessFlow/Load.

i got this error because of my token lost after join process

My flexsim version 19.0.0

Load two item sample.fsm

FlexSim 19.0.9
processflowflexsim 19.0.0flexsim 19.0.9jointoken lost
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

Allister Wilson avatar image
0 Likes"
Allister Wilson answered Richie R edited

The token with the item label is entering the join activity through connector number 2, you need to ensure it comes into the join through connector number 1.

This section of the manual explains what is happening in more detail : https://docs.flexsim.com/en/19.0/ModelLogic/AdditionalConcepts/Coordination/#connectors

· 4
5 |100000

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

Richie R avatar image Richie R commented ·

can't i keep the label form two connector @Allister Wilson?

isther a way to keep both connector label

0 Likes 0 ·
Allister Wilson avatar image Allister Wilson Richie R commented ·

Only the token which came in through connector 1 survives.

This usually isn't a problem, since Join tends to be used with Split, so your child tokens (which exited the Split through connectors > 1) can write labels to the parent token (which left the Split through connector 1) when necessary.

In cases like yours, Join isn't really the best tool for the job. Instead I'd suggest you push your items to a list whenever they arrive. Then the tokens which are generated every 10 seconds can just pull 2 items from the list and transport them.

0 Likes 0 ·
Richie R avatar image Richie R Allister Wilson commented ·

I think I got it @Allister Wilson

is this what you mean?Load two item sample.fsm

0 Likes 0 ·
Show more comments