Hi,
Are you finding that the flow works reliably?
I am finding that the condition Created = Modified sometimes triggers as 'false' because the times appear to be 1 second apart for newly created items:
Hi,
I have an idea, I tried it, and it works, when an item is created it is version 1.0,
For that to work you need to go to List settings, versioning. You can turn this on for any list.
An updated list item has a version that is bigger than 1 and in your condition you can just use that. In my trials it: Control (int(triggerBody()?['{VersionNumber}']) equals 1)
works a better than: Switch (@equals(triggerBody()?['Created'], triggerBody()?['Modified']).
@Blouwagie2 This was really helpful, thank you very much
Create a condition
First conditon type expression: int(triggerBody()?['{VersionNumber}'])
is equal to
1
now this is all thanks @Blouwagie2
Great suggestion - just tested and it works well! Thank you
Just adding to this, it only works when version control on the list is enabled, else the item will stay version number 1 even when it is edited:
User | Count |
---|---|
9 | |
3 | |
2 | |
1 | |
1 |
User | Count |
---|---|
6 | |
5 | |
3 | |
3 | |
2 |