question

Saiprasad A avatar image
0 Likes"
Saiprasad A asked Jason Lightfoot commented

Get labels from pushed entries in List

Hi,

In my model, i push flowitem(crate) to a list during multiple instances. Between those instances, the labels of the flowitem change.

This change is recorded in the list items as I am allowing duplicate entries with different labels.

Now, I would like to pull an entry from the list and along with it, get the labels stored in the list for that list entry of the item.

The problem that I am currently facing is when I pull from the list and refer its labels, the values of the labels are the latest labels on the pushed flowitem in the model.

I am unable to upload my model due to some constraints but let me know if you need further clarification on my question.

Could you please guide me in doing this?

FlexSim 19.1.2
list pull from list
· 5
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

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Jason Lightfoot commented

Once you pull an item reference of a list, you get naturally only this reference and so it represents its current state in a model. BUT you can instead SELECT values of list fields which you can pull from a list. By your pull you know which item you wanted to get this data from and you can compare it with the state in your model.

· 4
5 |100000

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