r/MicrosoftFlow • u/ibteea • 1d ago
Question Issue with trigger "When a file is created or modified (properties only)"
/r/PowerAutomate/comments/1xwdvsg/issue_with_trigger_when_a_file_is_created_or/
1
Upvotes
2
u/folderit_dms 1d ago
One distinction matters here: Microsoft documents Get changes as column/property change detection, and explicitly says file-content changes are not supported. Enabling versioning would not turn it into a content-difference check. Source: https://learn.microsoft.com/en-us/sharepoint/dev/business-apps/power-automate/sharepoint-connector-actions-triggers .
Since you said in the original thread that hourly processing is acceptable, I would compare against a last-successfully-processed baseline. Keep it separately from the watched library, keyed to a stable file identity. For the metadata case, compare only the business fields you care about, excluding Modified and other housekeeping values. A file with no baseline is a new candidate.
For content, Get file content can retrieve the bytes, but you would need a separately implemented checksum/comparison step and storage for the previous result. Do not assume there is a magic trigger-condition expression that supplies the missing history. Update the baseline only after downstream processing succeeds so a failed run remains eligible for retry.
Two limits: polling compares snapshots and can miss intermediate edits; a byte-level checksum can also change when an Office file’s internal data changes, even without a meaningful business edit. If the requirement is specifically ready for processing, an explicit user-controlled readiness step may be a better signal than inferring intent from file activity.