Unable to get Rack path from token address using Storage.system.getSlot

Unable to get Rack path from token address using Storage.system.getSlot

takahisa_m
Not applicable
161 Views
4 Replies
Message 1 of 5

Unable to get Rack path from token address using Storage.system.getSlot

takahisa_m
Not applicable

[ FlexSim 21.0.4 ]

[Question]
I am creating a Process Flow that specifies the rack address in the global table, creates items in order, and picks the created items.
I created a parameter called "Destination" in <Assign Labels> and used Storage.system.getSlot to assign the path of the rack that created the item.
After that, I'm trying to get information about the object (in this case the Rack) that picks the item.
However, "Destination" becomes <no path>, and the object that created the item becomes NULL.

[Version]
FlexSim 21.0.4

[OS]
Windows 10 Pro (x64) 20H2
OS build 19042.870

[Phenomenon]
Please Check "TrainingProcessFlow.fsm" and "GetSlotError.xlsx" with the error image pasted.
When you execute <Step> several times in "TrainingProcessFlow.fsm", an exception occurs.
This message is probably caused by the "Rack" parameter being NULL.
When you click on the created token, "Destination" is <no path>.

0 Likes
Accepted solutions (1)
162 Views
4 Replies
Replies (4)
Message 2 of 5

joerg_vogel_HsH
Mentor
Mentor
Accepted solution

Your address is not complete. 38355-f9473a7f-3786-43b4-85bb-f246f9c9a386.jpeg
from Key Concepts about Warehousing

0 Likes
Message 3 of 5

joerg_vogel_HsH
Mentor
Mentor
0 Likes
Message 4 of 5

joerg_vogel_HsH
Mentor
Mentor

And if you assign successfully a slot, you get the rack object by the property storageObject. Maybe you have to cast the token label value of the slot directly as(Storage.Slot) to evaluate the storage object.

0 Likes
Message 5 of 5

takahisa_m
Not applicable

@Jörg Vogel Thank you.

0 Likes