Hi,
I am looking for a solution on how to trigger a flow ONLY if file has been edited in SP Document library.
triggering (When Item or File modified) is also trigger if other metadata columns changes! what is the trigger condition for file content changes!
Thanks
Hi @l4u124
Pls try this expression:
@or(endswith(triggerOutputs()?['body/{FilenameWithExtension}'],'.xlsx'),endswith(triggerOutputs()?['body/{FilenameWithExtension}'],'.xls'))
If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.
Thanks
Hi there! This is actually what I needed 🙂 Any idea on how to modify your line above so it triggers if it's an xlsx or xls (legacy) file type?
If one had the funds for licenses that would be the better choice but my solution works without additional licenses. Deep links, parameters , and variables are free!
I think you should be using Docusign or AdobeSign for a use case like this.
I do this using a power app ...that is how they upload the signed version, which over writes the original and sends email with app deep link to next signer or back to requestor. Uses flows and lists and status columns etc.
Is there something specific inside the file that is being edited that you could key off of perhaps? Without a way to compare the file before and after edits there is no data point for power automate to key off of.
Thanks for the response, No, I need to trigger the flow ONLY if the file content changed. which means trigger only if someone open the file and edit it.
Hi there,
If you're looking for a specific value (ie, when it changes to "Signed", or if "Signed" changes to "Yes", something like that) you can use this in your trigger condition:
@equals(triggerBody()?['Column name']?['Value'],'Value')
Thanks for response, I think I didn't explain my issue well, what I need is only trigger action if file has been edited, not other metadata columns in document library, so if the file content updated the trigger kicks off.