Tasks
Get Template
Task to retrieve a Template or a specific path within the Template
Basic usage
The below task retrieves a template of the current stub.
Parameters
  templateuuid  required  string
 UUID of the template to retrieve : ~~stub.program.templateuuid
  path  optional  string
 Specific path within the template to return. If provided, only the data at this path will be returned instead of the full template
Example: branches.draft.contexts.default.parts.flow.actions
Result
Properties
template
Template object retrieved. If a path parameter was provided, only the data at that specific path will be returned. Otherwise, the full template structure is returned.
Examples
Get template.data only
Result
 TIP
 If you would just like to get the current template, specifically the  built template, it may be easier to use  savedata task instead with a savevalue of ~~program.