Hi, is it possible to determine if a file is created OR modified in a flow.
I want different logic for new and modified files, but with the only trigger I found, "When an item is created or modified", both cases are handled in the same flow. So I need a way to determine if the file triggering this flow is created or if it is modified.
Solved! Go to Solution.
I assume that you are referring to files stored in SharePoint. If so, you can use a condition to compare the created and modified dates/times. If they are the same, then the file is new. If not, then the file has been modified.
If this addresses your issue, please mark your post as Solved.
Scott
I assume that you are referring to files stored in SharePoint. If so, you can use a condition to compare the created and modified dates/times. If they are the same, then the file is new. If not, then the file has been modified.
If this addresses your issue, please mark your post as Solved.
Scott
This is not always true, I got a case with a 2 seconds delay in-between creation and modified on a "On creation" trigger. So my best bet is to compare the "Since version" with "1.0" as first version of the record.
You are absolutely correct! I wrote my post in 2018 and we've learned a lot since then. Obviously, you need to make sure that versioning is turned on for the list.
User | Count |
---|---|
22 | |
15 | |
14 | |
10 | |
9 |
User | Count |
---|---|
43 | |
28 | |
25 | |
24 | |
23 |