14 new Flow Designer transform functions (San Dieg... - ServiceNow Community
Mark Roethof
Tera Patron
Tera Patron

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!

 

C

If this content helped you, I would appreciate it if you hit bookmark or mark it as helpful.

 

Interested in more Articles, Blogs, Videos, Podcasts, Share projects I shared/participated in?
- Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

 

Kind regards,


Mark Roethof

ServiceNow Technical Platform Architect @ Eraneous

3x ServiceNow Developer MVP
3x ServiceNow Community MVP

---

LinkedIn

Version history
Last update:
‎08-04-2024 05:16 AM
Updated by:
Contributors