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

@Chakkaradeep : But even with this solution, there is no way to retrieve previous value of the column. What we get with your approach is an indicator of whether the column has changed or not. 

 

Of course we can send http request to SharePoint to get version history then compare it will the current value etc... etc... But what we want is the ability to retrieve previous values out-of-the-box.

 

For example: A people column that supports multiple values. We want to know who was removed/added.

Frequent Visitor

Lets wait for this section:

 

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.

 

😕

 

Currently I want to see what was old value and current value.