How to set previous value in a field if return date has arrived

francoPalacios
Tera Contributor

When select "On hold" button the Demand state is set as "On hold" and you have to set a "Return date". When return date has arrived i need to set the previous state that the Demand was before "On hold" state.

I tried with BR but it doesn't work because it needs to have a change to execute the BR and that's not what i want.

1 REPLY 1

KrishanSharma
Tera Expert

Hi @francoPalacios,

 

You can create a flow and trigger it whenever the demand goes to On Hold. Then, you can use OOB Wait for action to match the return date.
Also, to fetch the previous values you can refer below links:
https://www.servicenow.com/community/now-platform-forum/previous-values-in-flow-designer/m-p/1192462
https://www.servicenow.com/community/now-platform-forum/working-with-previous-current-values-in-flow...
https://www.servicenow.com/community/now-platform-forum/using-the-data-within-the-quot-changed-field... 
Please mark my answer helpful & correct if it helps 🙂