question

Alessio Merlo avatar image
0 Likes"
Alessio Merlo asked Alessio Merlo commented

Recover fields value from an entry of the list

Hi,

today I inserted a fixed arguments in the fields of a list with the command listpush("mylist",id,0,argument1,...), but I am not able to retrieve the value when I pull the entry from the list because the listpull command returns only the value of the entry and from the value I can't recover the value of the field.

I attached a model which reproduces my problem.

Can someone help me?

pullfromlist.fsm

FlexSim 16.2.1
listpull from listretrieve fields from list
pullfromlist.fsm (18.0 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.

1 Answer

Matt Long avatar image
1 Like"
Matt Long answered Alessio Merlo commented

There currently isn't a way to do this. It's on our radar for integrating this functionality using the SELECT statement, but nothing yet. The work around would be to push a token or other node to the list and store that field value on the token/node.

· 3
5 |100000

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