Microflow to work on existing data

I made a microflow which displays the year  when extracted from a code field eg. ABDC-EF-19012 so it extracts 19 from the data and displays in another column as year as 2019. This only works when a new entry is made as it extracts the year when the save button is pressed. Is there a way so that this miroflow would work on existing data in my application.
1 answers

Hello Moayyed,

Perform a retrieve and run the code in a loop, then commit all the retrieved entities at the end (if they’re modified).

You can probably add an XPath to make sure you don’t retrieve already processed entities. You can also run this microflow on startup.

Hope this helps.