This page provides a reference for utility actions available in the workflow automation actions catalog. These actions enable you to perform common data transformation and utility operations in your workflow definitions.
Utility actions
This action is used to transform from epoch timestamp to date/time. Possible references:
- https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
- https://docs.oracle.com/javase/8/docs/api/java/time/ZoneId.html#SHORT_IDS
Refer fromEpoch for more information.
Input | Optionality | Type | Description |
|---|---|---|---|
timestamp | Required | int | An integer representing epoch timestamp. Note that, UNIX epochs are the number of seconds after 1st Jan 1970, midnight UTC (00:00) |
timestampUnit | Optional | string | A string representing unit of provided timestamp. Acceptable values: SECONDS, MILLISECONDS(DEFAULT) |
timezoneId | Optional | string | A string representing timezone for desired date/time, default: UTC |
pattern | Optional | string | A string representing pattern for desired datetime, default: ISO-8601 |
Field | Optionality | Datatype | Description |
|---|---|---|---|
date | Required | string | A string representation of date. |
time | Required | string | A string representation of time. |
datetime | Required | string | A string representation of datetime. |
timezone | Required | map | A map representation of timezoneId and abbreviation. |
Example | Workflow Input | Outputs |
|---|---|---|
| | |
This action is used to transform various type of input (JSON, map) to a CSV format.
Input | Optionality | Type | Description |
|---|---|---|---|
data | Required | any | A string representing a data to transform into CSV, typically a JSON string or a map. |
Field | Optionality | Datatype | Description |
|---|---|---|---|
csv | Required | string | A CSV representation of the data received. |
Example | Workflow Input | Outputs |
|---|---|---|
| |
Generate an RFC-compliant V4 uuid.
Input | Optionality | Datatype | Description |
|---|---|---|---|
Field | Datatype | Description |
|---|---|---|
uuid | string |
Example | Workflow Input | Outputs |
|---|---|---|
name: generateUUID
| |