question

Patrick Cloutier avatar image
0 Likes"
Patrick Cloutier asked Patrick Cloutier commented

Transfer label value from token pushed to a list to puller token

I'm trying to transfer label values from tokens that are pushed to a list to the tokens that are pulling from that list. Is there any way to do this?

In other works I have tokens that are pushed to a list along with their labels and values. That works.

BUT when I pull from that list, I can't find anyway to pull those labels and values and assign them to the puller token.

How to do this?

Thanks a lot,

FlexSim 17.1.2
pull from listlists
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

·
Regan Blackett avatar image
0 Likes"
Regan Blackett answered Jason Merschat commented

The dot syntax should make this pretty direct. If you have a token pushed to a list with labels like this:

You can assign them to their puller with an Assign Labels activity right after the Pull from List activity like this:

The dot syntax expression basically says assign the labels by looking at the token (in this case the one that just executed the Pull from List), look at its pulled label value, and look at its label (Type, Weight and Item) and give whatever values you see there.

You end up with something like this:



pushed.png (15.0 KiB)
puller.png (18.1 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.

Patrick Cloutier avatar image Patrick Cloutier commented ·

Thanks. I was doing exactly that but it wasn't working. Lost almost a day trying to make it work. Now I started from scratch redoing what you did and it works. Must be a tiny mistake I can't see somewhere.

Thanks

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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