how to view all values of all variables like workflow.scratchpad.variable=values? in certain workflow

mallikharjunasw
Tera Contributor

how to view all values of all variables like workflow.scratchpad.variable=values? in certain workflow

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron

Hi Mallikharjuna,

Where do you want to view those?

in the logs if you want then you can use

gs.log('Workflow scratchpad value is: ' + workflow.scratchpad.variable);

Mark Correct if this solves your issue and also mark Helpful if you find my response worthy based on the impact.
Thanks
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

View solution in original post

3 REPLIES 3

Ankur Bawiskar
Tera Patron

Hi Mallikharjuna,

Where do you want to view those?

in the logs if you want then you can use

gs.log('Workflow scratchpad value is: ' + workflow.scratchpad.variable);

Mark Correct if this solves your issue and also mark Helpful if you find my response worthy based on the impact.
Thanks
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Ankur Bawiskar
Tera Patron

Can you also mark answer as correct if it helped.

Regards

Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

while giving variable values in scratchpad in workflow , can we open that sheet to see how it is filled?