Using Conditionals for Data Transformation in Itential’s JST Designer
Itential’s JST (JSON Schema Transformation) Designer allows users to easily transform data from one format or model to the next in order to facilitate end-to-end automated workflows. With conditionals, users can define functions that operate on data differently depending on various conditions – and Itential provides users with multiple options to implement conditional logic when building your own transformations.
Ternary operators and if/else functions are two kinds of conditionals that users can add to a JST – each option suits different kinds of data, so users can always choose the right tool for the right job. These conditionals make it possible to build much more complex JSTs that take in more data from various sources like device configurations, API payloads, and various templates, allowing users to see data transformation’s full potential for enabling automation.
In this ItentiaLearn demo, see examples of both types of conditionals and learn how to:
- Run and test a ternary operator function in a JST.
- Run and test an if/else function in a JST.
- Choose which option suits your JST’s data requirements.