FlowmageDocs

List templates

BetaReads data

Lists the Oneflow templates you can create contracts from.

Settings

SettingWhat it is
ConnectionRequiredThe Oneflow connection the step signs in with.
WorkspacesComma-separated Oneflow workspace ids. Leave empty for every workspace you can see.
Only active"" or "true" or "false"
Templates per call1 to 100.
Offsetnumber
sort"name"
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `oneflow`)
workspaceIdstext
active"" or "true" or "false"
limitnumber, by default 100
offsetnumber, by default 0
sort"name", by default "name"

Output

FieldType
templatesarray
templateCountTemplates in this answernumber
totalCountHow many Oneflow holds in totalnumber
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
}