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.

compare old values and new values in flow designer

mariavic1998
Tera Contributor

Hello everyone, I wanted to know if you have any idea of how to approach this condition in flow designer, I think there's some scripting needed but I'm not sure. the conditional is the following one: 

mariavic1998_2-1708976431930.png

 

and this is all I have until now:

mariavic1998_1-1708976191009.png

 

1 ACCEPTED SOLUTION

CMDB Whisperer
Mega Sage

The only direct access you have to the previous value is from within a Business Rule, not a flow.  The flow is something that runs asynchronously, after a record has already been updated, so the previous value is no longer available to the program/flow logic.  So you are best off accomplishing this logic in a Business Rule. 

That said, if you absolutely need to do this from a flow after the update is already made, you may be able to pass the values to an Event that could then trigger a Flow.


The opinions expressed here are the opinions of the author.

View solution in original post

5 REPLIES 5

Aman Kumar S
Kilo Patron

Hi @mariavic1998 

Flows runs asynchronously, you will not be able to extract data for previous, you will have to use BRs for that.

Best Regards
Aman Kumar