How to set previous value in a field if return date has arrived
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2024 04:13 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2024 05:13 AM - edited 11-20-2024 05:25 AM
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 🙂