Skip to main content
About the Resource Center

Convert a string value to a typed value

Within a call flow, it is not uncommon for flow authors to want to convert a string value in to a typed value. For many basic data types, Architect supports converting a string value to another type.

The following scenario illustrates the problem a flow author may encounter when trying to convert a string value of “5” that, at runtime, returns the integer value of 5.

ToInt("5")
Note: While this process works for many data types, including boolean, integer, decimal, dateTime, and duration, network-based data types do not support conversion of a string to that type within a call flow. Network-based data types currently include users, queues, skills, groups and wrapup codes. .