Use a JSON schema to create forms
With JSON Forms it is possible to quickly create forms in a workflow using just a JSON schema. The renderJSONSchema task is available in JSON Forms via Studio in earlier versions of Itential Platform. It is a manual task that accepts a schema as input, creates a form from the schema, renders it, and then discards the form instance.
Use the renderJSONSchema task
Task inputs
The task accepts five inputs that define how form elements are structured, rendered, and behave.
Sample input schemas
Use the sample schemas below as input to render a form using the renderJSONSchema task. Once task inputs are complete, save the automation and start the job.
jsonSchema
uiSchema
Render the JSON schema form
After the job runs, work the task from Jobs in Operations Manager, where you can also view task details and incoming variables.
Open the rendered form
Click the work task. The rendered form displays with the inputFields reflecting the fields defined in the JSON schema.

This task does not create a form instance in the json-form application. The form will not appear when you open the JSON Forms app.


