CREATE TEMPLATE FROM JSON

Creates one or more response templates on the d3VIEW platform from a JSON definition, optionally replacing any previously registered templates of the same name. Use this worker when you need to programmatically provision or refresh test/simulation result templates as part of an automated workflow.

When to use

Tagged: json, physicaltest, platform, provisioning, template.

Inputs

Label ID Type Default Required Description
JSON json textarea Full JSON payload defining the template(s) to create — must conform to the d3VIEW template schema (structure, channels, metadata); no default, this field is required.
Remove Existing remove_existing scalar yes   Whether to delete and replace any template(s) with the same name before creating the new one(s); accepts ‘yes’ (default) to overwrite or ‘no’ to leave existing templates untouched.

Outputs

Label ID Type Description
Template templates integer Integer ID of the newly created (or updated) template registered on the platform.
All Templates all_templates dataset Dataset containing the full list of all templates currently registered on the platform after the operation completes.

Disciplines

  • data.dataset.ingest
  • platform.workflow

Auto-generated from platform schema. Worker id: create_template_from_json. Schema hash: 6544283626b9. Hand-curated docs in workerexamples/ override this page when present.