Variable transformations allow builders in Workshop to apply common operations to variables, as well as chain operations together by referencing previous operations.
Variable transformations run in the browser rather than the Foundry backend. Transformations on primitive types, such as strings, numbers, dates, and booleans, do not require round trips to Foundry services.
Parser field. For example, if passing in a string variable with the value 06/26/24, select M/dd/yyyy as the corresponding parser format to cast to a date type.Parser field. The timezone used when casting the outputted timestamp value may be defined either using the user’s local timezone, set statically via options in a dropdown, or set dynamically using a string reference or variable. For example, if passing in a string variable with value 2024 06 26 12:50 AM, select yyyy M dd hh:mm aa as the corresponding parser format to cast to a timestamp type.[latitude], [longitude] pair to cast to a geopoint type. For example: 40.782142,-73.96596.{"type":"Polygon","coordinates":[[[-73.9580917968885,40.80044406792189],[-73.98186087075722,40.76811683550534],[-73.97304465743831,40.76434392565562],[-73.94930767833077,40.79687062648023],[-73.9580917968885,40.80044406792189]]]}.String concatenation operation.