g_scratchpad in flow designer

sidharthaa
Tera Contributor

what we can use in flow designer instead of g_scratchpad object?

3 REPLIES 3

Fabian Kunzke
Mega Sage

Hey,

This is more or less a question on if you should. The flow designer offers the use of variables instead. Feel free to look into that:

https://www.servicenow.com/community/servicenow-ai-platform-forum/flow-designer-scratchpad-equivalen...

 

Regards

Fabian

 

ps.: Technically it is probably doable, but i would rather hand-over the proper variables as flow-inputs and use variables within the flow-designer. [Correction: technically it is not possible]

Tanushree Maiti
Kilo Patron

Hi @sidharthaa 

 

There is no g_scratchpad feature in Flow Designer, and it’s generally unnecessary anyway since you can access data from every step directly in Flow.

 

Refer: https://www.servicenow.com/community/servicenow-ai-platform-forum/flow-designer-scratchpad-equivalen...

 

https://www.servicenow.com/community/developer-forum/can-you-have-a-quot-scratchpad-quot-similar-var....

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin:

Ankur Bawiskar
Tera Patron

@sidharthaa 

what's your actual question?

g_scratchpad is used in display business rule to pass value to client side scripts etc

But in terms of flow there is nothing as such as flow runs in background

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

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