Prevent Data Source Microflow from Re-executing on Save/Cancel of New/Edit Pages

0
Hi all, I have a data grid that uses a microflow as its data source to fetch a list of records from the database. I also have New and Edit pages for creating and updating records.This microflow fetches records from external database and I'm using non persistable entities.  The issue I'm facing is:Whenever I click Save or Cancel on the New/Edit pages and return to the page with the data grid, the data source microflow executes again. This is causing unnecessary database calls and performance overhead. Is there a way to prevent the microflow from re-executing unless there's an actual change? Any suggestions or best practices would be greatly appreciated!   Thanks in advance!
asked
1 answers
0

if you refresh an object in the microflow, part of the entity displayed in the list, the datasource microflow must be re-executed to update the list. Its not possible to add the object or update the object inside that list, since its a datasource microflow.

 

My first question is: why do you have a microflow datasource?

answered