FlowmageDocs

List dossier files

BetaReads dataVersion 2

Lists the files in an OTYS record's dossier.

Settings

SettingWhat it is
ConnectionRequiredThe OTYS connection the step signs in with.
Entity"candidate" or "relation" or "relationContact" or "vacancy" or "task" or "salesTrajectory" or "project"
Record OUIDRequiredtext
Files per call1 to 200 — OTYS never returns more than 200, whatever you ask.
Skip filesnumber
Fetch every pagePages on offset, and refuses past 10,000 files.
CursorPaste a previous run's Next cursor to read the page after it.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `otys`)
entity"candidate" or "relation" or "relationContact" or "vacancy" or "task" or "salesTrajectory" or "project", by default "candidate"
recordOuidtext
limitnumber, by default 100
offsetnumber, by default 0
returnAlltrue/false, by default false
cursortext

Output

FieldType
filesarray
fileCountFiles in this answernumber
totalHow many OTYS countednumber
hasMoreMore files are waiting behind this pageboolean
nextCursorCursor for the next pagestring
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
SettingWhat it is
ConnectionRequiredThe OTYS connection the step signs in with.
Entity"candidate" or "relation" or "relationContact" or "vacancy" or "task" or "salesTrajectory" or "project"
Record OUIDRequiredtext
Files per call1 to 200 — OTYS never returns more than 200, whatever you ask.
Skip filesnumber
Fetch every pagePages on offset, and refuses past 10,000 files.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `otys`)
entity"candidate" or "relation" or "relationContact" or "vacancy" or "task" or "salesTrajectory" or "project", by default "candidate"
recordOuidtext
limitnumber, by default 100
offsetnumber, by default 0
returnAlltrue/false, by default false