Example 1:
This example show how to use a single template to construct a task.
Client workflow engine
Templates
Reuse task definitions with workflow templates.
Every task in the workflow engine supports the template property which allows you to construct the task based on an existing YAML or JSON object.
In the example above the start task is constructed first from it’s template, and then from its own properties. The resulting task might look like this:
Example 2:
This example shows how to use a list of templates, how to specify a template that might be inside of another object, and how to use expandable strings in template names.
In the example above, when the start task is created, it will look like on the Windows platform:

