logo

NJP

14 new Flow Designer transform functions (San Diego)

Import · Feb 03, 2022 · article

Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

Hi there,

The San Diego release and its Early Access is live! One of the updated features: Flow Designer transform functions. The possibilities within the transform function op Flow Designer have been increased again, making transforming data pill values without the need to write a script again easier and more robust. The Rome release contains 45 different transforms, while the San Diego release contains 59 different transforms!

Let's have a look at the new transform functions.

Transform functions

Not familiar with transform functions? Have a look at the following ServiceNow Product Documentation page, which explains the transform functions.

Transform functions

New San Diego transform functions

The following Flow Designer transform functions have been added to the San Diego release:

Math

To Fixed - Returns a string representation of a floating point number fixed to the number of digits specified.

_Date & Time_Date Difference - Return a duration of time between the input date and the parameter date time.Day - Returns the day component of a specific date and time.End of Month - Returns a date representing the last day of a month which falls a specified number of months before or after specified date.Hour - Returns the hour component of a specific date and time.Minute - Returns the minute component of a specific date and time.Month - Returns the month component of a specific date and time.Second - Returns the seconds component of a specific date and time.Week - Returns the week of the year that a specific date falls on.

Year - Returns the year component of a specific date and time.

String

Convert String to Number - Converts a string to number.

_Utilities_Join - Concatenates the given input with the delimiter and returns the concatenated string.Sort - Returns sorted array, sorted in ascending or descending order.

Unique - Removes duplicate elements from given input array.

---

And that's it. Hope you like it. If any questions or remarks, let me know!

Kind regards,

Mark Roethof

ServiceNow Technical Platform Architect @ Eraneous

3x ServiceNow Developer MVP

3x ServiceNow Community MVP

---

LinkedIn

image

View original source

https://www.servicenow.com/community/developer-articles/14-new-flow-designer-transform-functions-san-diego/ta-p/2323177