1. Tasks
  2. Template Update

Tasks

Template Update

Update the flow or layout of a template using a task

Basic usage

Add a lastname text field to the submit_user_info action using a task

loading...

Parameters

templateuuid
required
string

the templateuuid to update


branch
"draft"
"live"

the branch to update

Default: draft


context
string

the context to update

Default: default


part
"flow"
"layout"

the part to update

Default: flow


path
string

the path inside branch.context.part the apply the changes to


operation
"merge"
"set"
  • merge will merge the changes into the existing data at path
  • set will replace the existing data at path with changes

Default: merge


changes
required
Object

the changes to be applied.

An object with the structure of the data to be applied at path


Result

loading...

Examples

Update template.data to include the org's name

loading...

Result

loading...