Metadata
Metadata is general information about the task and its execution that is standardised between all tasks in Swarm. The following information is contained in the metadata.
| Field | Description | Key Name | Data Type |
|---|---|---|---|
| Task ID | A unique identifier for the task | id | string |
| Debug mode | A flag to indicate that the task is running in debug mode | debug | boolean |
| Start time | The time that the task started running | start_time | datetime |
| Finish time | The time that the task finished | finish_time | datetime |
| Outcome | The outcome set by Swarm after task completion | outcome | string |
| Status | The task status at the completion of the job | status | string |
| Url | The url to the Unmand task | url | string |
| Resubmit | A flag to indicate if the running task has been resubmitted | resubmission | boolean |
| Project code | A unique identifier for the Swarm project | project_code | string |
| Flow version | The flow version number which the task runs | flow_version | string |
| Driver function | The browser session required for web actions | driver | function |
The value of metadata can be accessed from any action in the workflow with {{meta."Key Name"}}. For example, you can access the start time of the task with {{meta.start_time}}.