logo

NJP

Whats new with Q? Flow Designer - Transform Functions

Import · Jan 24, 2021 · article

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.

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

Transform functions allow you to easily manipulate pill values without needing to write inline scripts or custom actions. With Quebec, additional transform functions have been added which’ll likely make some of those actions you created redundant.

These, coupled with the new local variables (equivalent to workflow scratchpad) really elevates the functionality of simple data manipulation.

For information on how to use transform function, click here

Class Name Input Data Pill Output Data Pill
String To Proper Case String Capitalises the first letter of each word
Utilities Is Blank Any Returns true if blank / zero / falsy
Is Null Any Returns true if null or undefined
Simple Maths Absolute Value Number The distance a number is from 0
Round Number Rounds to nearest base 10
Square Root Number Square roots a positive real number

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

View original source

https://www.servicenow.com/community/now-platform-articles/whats-new-with-q-flow-designer-transform-functions/ta-p/2320163