question

xuan-123 avatar image
0 Likes"
xuan-123 asked xuan-123 commented

How to set the same label value as the item in the process flow?

I want to build an AGV sorting system, and I hope to use process flow to control the AGV to move the item to the "destination" of the item label. How can I achieve it?


I have an idea to read and use the destination tag on the Item in the process flow, but I don't know how to do it?

1681081060606.png1681081607315.png

As I'm lack in experiences of using process flow, and need some help.

Thank you!

robot storing b.fsm

FlexSim 22.2.0
process flowlabelitem
1681081607315.png (25.4 KiB)
robot-storing-b.fsm (83.6 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.

Sri_vikas K avatar image
0 Likes"
Sri_vikas K answered xuan-123 commented

Hi @Xuan_123

Your value of destination label in the Process flow (Queue 1 Process) is not assigning properly. The value should be token.Item.destination.2023-04-10-1.png

So that the label will be create on the item created and using the event trigger source you can assign the label using assign activity in the label name coloumn.

2023-04-10-2.png

Refer the model below.

robot-storing-b_SVK.fsm


2023-04-10-1.png (473.4 KiB)
2023-04-10-2.png (466.6 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.

xuan-123 avatar image xuan-123 commented ·

Hi @Sri_vikas K

Thank you so much for your help, it is really very helpful.

0 Likes 0 ·
Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered xuan-123 commented

Tutorial Process Flow 5 Event triggered activities are able to assign labels to tokens based on attributes of such events. Please do not guess. It is better to do tutorials, then you can achieve what you want. Typically you can choose from event triggered activities involved item references and assign them to token labels as label name “item”.
By such a reference you can read then any label of this item and assign it to a token label.

· 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.

xuan-123 avatar image xuan-123 commented ·

Hi @Joerg Vogel

Thank you so much for your help, it is really very helpful.

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.