question

Miguel Pereira avatar image
0 Likes"
Miguel Pereira asked Miguel Pereira edited

Pull from List

Hey everyone,


I'm trying to do a pull from list but i want the task executer to load all of the items he push and not just a part of it. Is there a way for it to pull everything from the list instead of putting a request/require fixed number?


The number of items that needs to pull isn't always the same.


Thanks, Miguel Pereira.

FlexSim 21.0.5
listslist pull from listflexsim 21.0.5push and pull listitem list
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

Eric M avatar image
1 Like"
Eric M answered Miguel Pereira edited

Hi @Miguel Pereira if you want to pull all the entries off the list, just make sure the list is a global list and then use this code in the Request Number of the pull activity:

  1. List("YourGlobalListName").entries().length

In general, a good option for pulling different numbers off the list is to use labels. The label would go in the Request Number. You would just need to figure out how to assign the right number to pull to the label before entering the pull activity.

· 11
5 |100000

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