cancel
Showing results for 
Search instead for 
Did you mean: 

Modified trigger should give previous values for fields changed

When triggering a Flow on the modification of a list item then it should be possile to get the current and previous values of the fields that were changed. 

 

Status: Started

Hi all,

 

Happy to announce that we started the development of building granular trigger for SharePoint item and file changes along with the plan to provide old and new values.

 

To be able to infer and provide old and new values, we will first need the ability for a trigger that can run when an item is modified and then the ability to get what changed for that modified item. So, to support this, we will be releasing a new trigger and a new action that works along with this new trigger to help you get started. 

 

  1. 'When an item or file is modified' trigger
    1. Only triggers on an item or file updates, not on an item or file creation.
  2. 'Get item or file properties changes' action
    1. This new action returns information about whether or not a column's value was modified.
    2. This action when released will:
      1. Only work with the 'When an item or file is modified' trigger.
      2. Require versioning to be turned on for the associated list or library 

 

With these two updates, you can now build a flow when someone modifies a list or library and then using the new action check if a particular column or file property was modified since the last flow run. For example, you can check if the Status column was modified since the last run and then get the current Status value, else do something else.  

 

After this update, we will continue to work on enabling the 'Get item or file properties changes' to provide old and new values of the columns. 

 

Thank you all for being patient with us. Will update this thread as we have more updates.

 

Thanks,

Chakkaradeep

Comments
New Member

Must have! Adds huge value, specially if added inside email. Departments save time and reduce clicks to see info what has been changed inside the list/library. Currently, using 3rd party service to ensure this feature.

Frequent Visitor

This is so generic and could add another dimension to Flow, pretty please.

New Member

Must to have !!!

New Member

Great article. This is exactly what I’ve been looking for.

geometry dash

Regular Visitor

Must have!,

 

additionally or alternatively a trigger "When a field was modified" would be nice - or solve 90% of these issues

Kudo Collector
Kudo Collector

@avt,

 

I agree that there is a workaround possible, but that doesn't mean that it's a greta workaround. In my opinion a Flow should only include steps that logically make sense. This should exclude workarounds for technical reasons. In the long run there needs to be an easy way to accomplish this.

Kudo Collector
Kudo Collector

@Pieter_Veenstra

True.

Something like get specific/previous version of shp item and when specific collumn was modified would be really helpfull.

Kudo Collector

How we can add 1,000 votes in 1 swoop? 🙂

Advocate I

why on earth flow doesnt have what the sharepoint designer workflows had as default i dont know why! It would make my life so much easier and wasted time looking for an alternative method.