Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Previous Values in flow Designer

Shashwat1
Tera Contributor

I want to access the previous values in my flow designer.

The scenario is When a field changes i need the previous and current values, but the data pills does not contain any value i.e. the drop down is empty .I only have trigger > Changed Fields > FDChangedFields. (nothing after that).

I have put the Changed fields pill in body and checked logs it contains the data but i am struggling to see access that data in condition builder.

This a custom table inherited the core idea table.

 

 

find_real_file.pngfind_real_file.png

1 REPLY 1

Jon23
Mega Sage

To get the previous/current values you need to do a 'For Each Item' on the Changed Fields object.  Then for example, do an 'If' on the item field name (and other condition ie: previous value is not current value).  If true, do something. 

For example:

find_real_file.png

>>> To help others, please mark this as Correct or Helpful if this response has been of any use. <<<