Workflows can now show custom labels to provide more context into the workflow execution state. Workflow designers can now define these labels at the workflow or the state level, and these could be both static and dynamic.

Run Labels can be added to the workflow or the state by defining those as key value pairs in the metadata.runLabels field. The value for the labels defined could be static strings or jq expressions, evaluated from the input data to the workflow/state. These evaluated labels can be seen on the run/state rows in the VMware Telco Cloud Automation UI.

Following is an example workflow that uses runLabels:
id: helloworld
version: '1.0'
specVersion: "0.7.0"
name: Hello World Workflow
description: Inject Hello World
start: Hello State
metadata:
 runLabels:
   wfName: 'hello world'
states:
 - name: Hello State
   type: inject
   metadata:
     runLabels:
       state: 'Hello State'
       name: '${ .name }'
   data:
     result: Hello World!
   end: true