cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Allow pulling to token.Object.Label

Allow pulling to token.Object.Label

Hi,

Not sure if this is an idea or a bug report, but I expected this to work already and just found out it doesn't.

When I want to pull to a token label, I can enter "token.Destination" in the Pull To field and the label will be created if it didn't exist before.

However, if I want to have an indirection here, it doesn't work: if the token already has a label "token.Object" which points at something supporting labels, and I try to Pull To "token.Object.Destination" I will get

time: 0.000000 exception: FlexScript exception: Label property pulled retrieved on /Box1. Label does not exist. at MODEL:/Tools/ProcessFlow/ProcessFlow/Pull from List>variables/assignTo

Instead, I need to write the more verbose token.Object.labels.assert("Destination").

pull_to_object_label.fsm

1 Comment
logan_gold
Community Manager

I know this is a few years old now, but I did want to mention something for anybody that sees this idea.  I believe this is expected behavior.  If you look at the documentation for the Assign To property, it mentions the need to use something like the assert() example mentioned in the original post.  This is still the case today with FlexSim 25.1.

 

 

Can't find what you're looking for? Ask the community or share your knowledge.

Submit Idea