I have an item list that is initialized from a data source and filtered by a form field (Customer/Group ID).
The problem is that when a new workflow instance is opened, this field is initially empty. Nevertheless, the item list initialization queries the data source. In my case this is a relatively slow external data source, causing an unnecessary delay of about 10 seconds.
What I actually need is:
- No data source query while the filter field is empty
- OnChange of the Customer/Group ID, initialize the item list
- The item list must store a snapshot, so a Data Table is not an option
For normal data source usage there are options to avoid querying on empty values, but I couldn't find anything similar for item list initialization.
Has anyone found a way to prevent the initial data source call, while still allowing the item list to be initialized later on demand?