question

Håkon L avatar image
0 Likes"
Håkon L asked Håkon L edited

Tutorial 1.1 List and resource - errormessage

Hi! I need some help in finding out what I have done wrong with regards to the tutorial 1.1 Use of list and resource - I find it hard to ealuate and understand some of the errormessages I get at times.

The first exception:
time: 36.199861 exception: Label property pulledItem retrieved on token "id:2". Label does not exist. At activity Transport Tasks/Assign Labels: Destination in process flow "OperatorTasks".

So I can see the exception happens at the activity "Transport tasks/assign labels" and I think it happens to the second token (the token with id 2.0) which runs through the activity(?) Is the label "token.pulleditem" correctly set up?

Second exception:
time: 36.199861 exception: FlexScript exception: Property destination not available for Variant with value NULL. Must by a treenode type Variant. at MODEL:/Tools/ProcessFlow/OperatorTasks/Assign Labels: Destination>labels/2/2

A destination value has been set to null(?) I really don't know how to enterprate this exception...


I've added my file.
In advance - thanks!

1.1 Use a list and a resource.fsm

FlexSim 22.2.2
labelsexception errortutorial
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

·
Jason Lightfoot avatar image
1 Like"
Jason Lightfoot answered Håkon L edited

Two things:

  1. You are overwriting the FlowItem label in "Assign Labels: Destination" - remove this label - it's already being added in the "Create Token in Transport Tasks" activity.
  2. Use itemDestination as the label field. You are referencing token.destination, not token.itemDestination.
· 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.

Håkon L avatar image Håkon L commented ·

Aha, I removed the label from Assign Labels: Destination, and the model works a little longer as a result. And i corrected the value you wrote at "unload Item at Destination". Thank you! It works!

1 Like 1 ·

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.