Improved Schema Validation for Transformation Tasks

Prev Next

This alert applies to Workflow Engine in the 2023.2.3 Itential Platform release.

Use Case: Job Variable Processing Error

When creating a parent workflow with two (2) childJob tasks, the child workflow in each childJob task would consist of a transformation. Moreover, both transformations in the child workflows were exposed as a job variable in both child workflows.

After setting (naming) the job variable input1 for the first childJob task, and input2 for the second childJob task, and then running the parent workflow, users would see the following error:

{{Errors encountered while processing job variables: reference "input" resolves to more than one schema}}

Resolution: Enhanced Schema Validation

Itential improved the schema validation process to automatically filter and remove duplicate $id keys from the incoming schemas of transformation tasks, which occurs on workflow save. Removing the duplicate $id in a schema does not change the behavior of the schema validation process on job start, thereby allowing the parent workflow to run as expected. Itential Platform users should no longer see this error when duplicate job variable names exist in child workflow transformations.

Please contact the Product Support Team if you continue to encounter problems or require more information.