In the attached example model five tokens with a label called "Index" are pushed to a list. Then ten other tokens are created that pull values from that list according to the following query (choose the highest "Index" value and write that value to a label on the puller).
SELECT Index ORDER BY Index DESC
The Index field is a dynamic expression that simply returns the label of the list value (token). However, it first checks the "ID" label on the puller.
For the fifth pull (last value on list) and every backorder fulfillment thereafter, the following error message is shown in the system console.
FlexScript exception: Retrieving ID label property on node that does not exist at MODEL:/Tools/ProcessFlow/ProcessFlow/List>stats/instances/ProcessFlow/list>variables/fields/Index/expression at line 7
This suggests, and I confirmed by debugging the expression, that the puller is not successfully passed into the field expression in these cases.
If the SELECT clause is removed from the query, everything works as expected.
Can't find what you're looking for? Ask the community or share your knowledge.