question

Victoria avatar image
0 Likes"
Victoria asked Felix Möhlmann commented

Task Error Involved 1: blank at Load in Task Sequence

My model has a pull from list item which references a global table to run a subtask if the tokens pushed in satisfy the type and quantity on the global table for the current day. Once the tokens enter the IQWaferInspection subtask, they have a NULL label which is my pull from list selection criteria ((P+).WaferArrivalQty >= .DemandQty). The task error shown below appears at midnight on 1/3/2024 when the first token reaches the load task of the IQWaferInspection subtask.



1740601179800.png



FederalFactoryModel1.fsm

FlexSim 25.0.1
task errornull label
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

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Felix Möhlmann commented

I believe you want to use WHERE rather than SELECT to filter for items with a large enough 'WaferArrivalQuantity' (SELECT writes the value to a label). And the 'DemandQty' label is present on the puller, so it should be "WHERE WaferArrivalQuantity >= puller.DemandQty".

The 'involved1' value (item to load) shows as blank because you are pulling tokens from the list. Tokens can't be loaded. You need to copy the 'item' label from the pulled token to the puller.

capture1.png

The same is true for the other Pull from List as well.


capture1.png (35.5 KiB)
· 2
5 |100000

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

Victoria avatar image Victoria commented ·

Hi Felix, thank you for your answer. That did resolve my problem and the model runs, however, now I get a message in the compiler console that says "syntax error, unexpected where, expecting end of code". What is the proper syntax to use?


My current query is WHERE WaferArrivalQty >= Puller.DemandQty WHERE WaferArrivalType = Puller.DemandType

0 Likes 0 ·
Felix Möhlmann avatar image Felix Möhlmann Victoria commented ·
0 Likes 0 ·