flow designer how to pick up previous value

Nenad Berbatovi
Tera Contributor

Hello,

I am very new to ServiceNow and trying to implement my first flow. I would like to change Assignment Group in an INC based on a simple condition. It works well. But I need to keep the previous value of the assignment group (for example in a description field). Is it possible (to pick up previous value) and how?

 

Best regards,

 

Nenad

 

4 REPLIES 4

Veer MS
Kilo Guru

Hi Nenad,

Here are the screenshots attached for the same.

Trigger condition:

 

 

find_real_file.png

 

Action:

 

find_real_file.png

FYI I have tested this and its working.

Let me know if this helps.

 

Thanks

Veer

Hi Nenad,

The above eg. is for updating the current record.

However, I would recommend to use the Business Rules for updating the field with the previous values.

Thanks

Veer

Brian Bouchard
Mega Sage

Hi Nenad - Beginning in Orlando it is possible to access previous value when the Trigger for the workflow is when a record is "created or updated" or "updated."

See the recent discussion where I walked someone else through a similar question:
https://community.servicenow.com/community?id=community_question&sys_id=0aa94af9db6594101cd8a345ca96...

 

- Brian

Ankur Bawiskar
Tera Patron
Tera Patron

HI Nenad,

Starting from Orlando release flow designer supports previous value

https://docs.servicenow.com/bundle/orlando-release-notes/page/release-notes/now-platform-capabilitie...

https://docs.servicenow.com/bundle/orlando-servicenow-platform/page/administer/flow-designer/task/fl...

But I would recommend using BR for such cases

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader