How to capture a field value in scratchpad within UI Action?

Zod
Giga Guru

Hi Experts,

please tell me how I can 'catch" a field value in an UI Action within a scratchpad variable to be able to check for it within an Workflow that is triggered by the UI Action.

I was assuming something like "g_scratchpad.u_field = current.u_field;"   would work ... but it doesn't.

Thank you.

8 REPLIES 8

You can't use scratch pad in this case. Its better to save the previous value in another new field (ex.previous_state) and reference it later using the workflow, when it is rejected.



Please mark this response as correct or helpful if it assisted you with your question.

really ... this looks like a low-code solution 😉
Was the first think I thought of ... and was sure this in not professional 😉




But ok - this should be easy.


Thank you


I have checked you case in personal instance it is not getting, sorry for wrong info i have stated above.


Better you can query the same thing in workflow, if it hold any query info.



can i know what is your case? why you need.


Approval Workflow need to find the old state in case of rejection ... how to?



in face here are more details, but no answer at the end .. so I had to restart all over 😉