Kieran Anson
Kilo Patron

ServiceNow's Quebec family release is just around the corner and is one of the largest (I think) family releases we’ve had. It contains some really jaw-dropping features that will have any inner-nerd dancing for joy to get started with exploring what they can do.

find_real_file.png If you haven’t already, get an early start and upgrade your PDI to Quebec now.

One of the biggest reasons for me not fully adopting Flow Designer in favour of the now-legacy workflow editor was the lack of a scratchpad or temporary variable. Finally our cries have been heard by the Flow Designer gods!

 

Creating Flow Variables

Flow variables are created via the More Actions menu accessible within the top right corner of the designer UI. You can create several variables at a time by choosing a name and data type for each one. Flow variables appear as data pills in the Flow variables section of the data panel.

find_real_file.png

This release supports flow variables with a data type of Integer, JSON, Reference, String, Boolean. A variables data type is fixed and can’t be mutated but the value it contains is mutable through the flow

Set Flow Variable Value

Variable values are set using the Set Flow Variables flow logic. Notice that is pluralized? That’s right, you can set multiple variables in one flow logic which is just a small touch but I see being a handy user experience boost.

find_real_file.png

Using Flow Variables

You use these flow variables just like the outputs from any action within a flow, simply access using the data pill.

Interested to learn more? Check out the Quebec Flow Designer Release Notes

Comments
vishurajm
Tera Contributor

Hi Kieran,

 

Thanks for the info. Can I know if these variables can be accessed from server script (Business rule, Script include) similar to wrorkflow_scratchapd?

 

Regards,
Vishu

Version history
Last update:
‎01-24-2021 02:33 PM
Updated by: