Toggle script in flow designer to set the changed state field to its previous value.

ShraddhaMore
Tera Contributor

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?

ShraddhaMore_0-1720018834484.png

 

Thanks in advance!

2 REPLIES 2

salma98
Tera Contributor

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

Hi @salma98 ,

I want to set previous value of state only.