Settings
| Setting | What it is |
|---|---|
| ConnectionRequired | The OTYS connection the step signs in with. |
| Entity | "candidate" or "relation" or "relationContact" or "vacancy" or "task" or "salesTrajectory" or "project" |
| Record OUIDRequired | text |
| Files per call | 1 to 200 — OTYS never returns more than 200, whatever you ask. |
| Skip files | number |
| Fetch every page | Pages on offset, and refuses past 10,000 files. |
| Cursor | Paste a previous run's Next cursor to read the page after it. |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `otys`) |
entity | "candidate" or "relation" or "relationContact" or "vacancy" or "task" or "salesTrajectory" or "project", by default "candidate" |
recordOuid | text |
limit | number, by default 100 |
offset | number, by default 0 |
returnAll | true/false, by default false |
cursor | text |
Output
| Field | Type |
|---|---|
files | array |
fileCountFiles in this answer | number |
totalHow many OTYS counted | number |
hasMoreMore files are waiting behind this page | boolean |
nextCursorCursor for the next page | string |
Sample output, and the expression for each field
- fileCount0
- files[]
- hasMorefalse
- total0
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": {
"connection": "<connection id>",
"cursor": "",
"entity": "candidate",
"limit": 100,
"offset": 0,
"recordOuid": "<record ouid>",
"returnAll": false
},
"label": "List dossier files",
"type": "otys.listFiles",
"version": 2
}Older versions
A flow that already has this version keeps running it. A new step always gets the newest.
Version 1
| Setting | What it is |
|---|---|
| ConnectionRequired | The OTYS connection the step signs in with. |
| Entity | "candidate" or "relation" or "relationContact" or "vacancy" or "task" or "salesTrajectory" or "project" |
| Record OUIDRequired | text |
| Files per call | 1 to 200 — OTYS never returns more than 200, whatever you ask. |
| Skip files | number |
| Fetch every page | Pages on offset, and refuses past 10,000 files. |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `otys`) |
entity | "candidate" or "relation" or "relationContact" or "vacancy" or "task" or "salesTrajectory" or "project", by default "candidate" |
recordOuid | text |
limit | number, by default 100 |
offset | number, by default 0 |
returnAll | true/false, by default false |