I have a flow that triggers on
When an item or a file is modified in a document library.
To stop it re-triggering when the item is updated, I'm checking that a DateTime field called
FlowModified isn't within 2 minutes of the
Modified time using this trigger condition:
FlowModified has a default value, so for newly added files (though not for folders…), this is working fine.
The problem is that existing files in the library have nothing in
FlowModified. And in this case it seems like
FlowModified isn't returned at all in
triggerBody() and I can't test its value.
Is there a way I can trigger my flow when
FlowModified is empty as well as applying the condition above when
FlowModified does contain a value?