Toggle script in flow designer to set the changed state field to its previous value.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2024 08:01 AM
Hi Everyone,
Requirement: When the user changes the field of the record then it should set that state field to its previous value.
for example: if current state of the record is "validating" and user changed that to "close". after closing system should set that field again to "validating".
Can anyone help me with the further script here?
Thanks in advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2024 08:09 AM
Do you want to set the previous value of state only when user change value of state field or any field on the form?
Please mark this comment as Helpful if it helped you.
Cheers,
Salma
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2024 11:38 PM
Hi @salma98 ,
I want to set previous value of state only.