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.