agvnetwork

agvnetwork

a9080109
Observer Observer
103 Views
4 Replies
Message 1 of 5

agvnetwork

a9080109
Observer
Observer
0 Likes
Accepted solutions (1)
104 Views
4 Replies
Replies (4)
Message 2 of 5

mitregatomasz90
Advocate
Advocate
Accepted solution

Hi

Try something like this in decide block

40014-1622550596439.png

value of pallet label Type will be number of connector going from decide block

0 Likes
Message 3 of 5

a9080109
Observer
Observer
I would like to ask what is the principle
0 Likes
Message 4 of 5

eric_m3
Not applicable

This is kind of a double label. It works by looking at the token, then the label "PulledItem" on the token, then the label "Type" that is on the "PulledItem." If you click on the token, you can see the labels in the properties window.

40148-1622837826384.png

So here, the token.PulledItem label is a pointer to the Pallet that's being carried by the TaskExecuter and MOM Car.

When we add token.PulledItem.Type, we are now looking at a label on the PulledItem (or the pallet in the reference). If we click on the pallet, we can see its labels in the property window (Type has a value of 2).

40167-1622837972130.png

So the "Send to Token" in the decide activity will either have a value of 1 or 2. The Decide activity will then send the token out one of its connectors, either 1 or 2 depending on what the item Type is.

40168-1622838129382.png

0 Likes
Message 5 of 5

Jeanette_Fullmer
Community Manager
Community Manager

Hi @霈倫 , was Tomasz MG's answer helpful? If so, please click the red "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 unaccept and comment back to reopen your question.

0 Likes