question

Mary W2 avatar image
0 Likes"
Mary W2 asked Benjamin W2 commented

transportation-Load

Hey, I have been trying to know why the process flow , in Load its getting wrong ?espana-mapa-autosave.fsm

process flowloadloading onto the truck
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

tannerp avatar image
1 Like"
tannerp answered Benjamin W2 commented

Hi @Mary W2,

I reviewed your model and it appears that your Load activity is referencing a token label called "Pallet."

Unfortunately, there is not any label "Pallet" on the token.

The Load activity needs to reference an existing label. To achieve this, you can do a variety of things; you can push the pallet to a list and pull it from a list to assign it to the "Pallet" label, or you can reference the first object in that queue (if you will be loading at the same queue every time) by using the code below.

Model.find("Plane14/Carga Girona").subnodes[1]

I used this latter option to update your model. Additionally, I assume you intend to travel to a specific x, y, z location on the next activity. For this, you'll want to use a Travel to Location activity rather than a Travel activity and then call the x, y, and z values using the code as shown below.

Hopefully this helps!

Model: espana-mapa.fsm


ref-pallet.png (9.4 KiB)
no-pallet.png (30.8 KiB)
map-location.png (14.0 KiB)
espana-mapa.fsm (580.0 KiB)
· 3
5 |100000

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

Mary W2 avatar image Mary W2 commented ·

Thanks so much !!! . I have a doubt with "Travel", because I need trucks able to travel not to a specific zone but to many zones, thats why I made a label with "Almacen" name, because I created a group and assigned to the pallet, if I use this Travel I think that I cannot put many different zones

0 Likes 0 ·
tannerp avatar image tannerp Mary W2 commented ·

Hi @Mary W2,

You can assign a label to the items so that the "Travel" activity knows what location to travel to. The label could come from a table or a list. This way, you can send pallets to all different locations.

1 Like 1 ·
Benjamin W2 avatar image Benjamin W2 commented ·

Hi @Mary W2,

Did Tanner answer your question? If so, please click Accept. If not, how else can we help?

0 Likes 0 ·