Settings
| Setting | What it is |
|---|---|
| ConnectionRequired | The Oneflow connection the step signs in with. |
| Workspaces | Comma-separated Oneflow workspace ids. Leave empty for every workspace you can see. |
| Only active | "" or "true" or "false" |
| Templates per call | 1 to 100. |
| Offset | number |
sort | "name" |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `oneflow`) |
workspaceIds | text |
active | "" or "true" or "false" |
limit | number, by default 100 |
offset | number, by default 0 |
sort | "name", by default "name" |
Output
| Field | Type |
|---|---|
templates | array |
templateCountTemplates in this answer | number |
totalCountHow many Oneflow holds in total | number |
Sample output, and the expression for each field
- templateCount0
- templates[]
- totalCount0
Errors
When a step of this node stops a run, the run page shows a code. Look it up:
Example step
The step as a flow file holds it. Replace each value in <…>.
{
"config": {
"active": "",
"connection": "<connection id>",
"limit": 100,
"offset": 0,
"sort": "name",
"workspaceIds": ""
},
"label": "List templates",
"type": "oneflow.listTemplates",
"version": 1
}