FlowmageDocs

List attachments

BetaReads dataVersion 2

Lists the files attached to a Bullhorn record.

Settings

SettingWhat it is
ConnectionRequiredThe Bullhorn connection the step signs in with.
EntityRequiredtext
Record idRequiredtext
Fieldstext
Files per call1 to 500.
Skip filesnumber
Fetch every pagePages with start until a short page, 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 `bullhorn`)
entityTypetext
entityIdtext
fieldstext, by default "id,name,description,contentType,contentSubType,fileType,fileExtension,fileSize,dateAdded,isPrivate"
countnumber, by default 100
startnumber, by default 0
returnAlltrue/false, by default false
cursortext

Output

FieldType
filesarray
fileCountFiles in this answernumber
hasMoreMore files are waiting behind this pageboolean
nextCursorCursor for the next pagestring
Sample output, and the expression for each field
  • fileCount0
  • files[]
  • hasMorefalse

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>",
    "count": 100,
    "cursor": "",
    "entityId": "<record id>",
    "entityType": "<entity>",
    "fields": "id,name,description,contentType,contentSubType,fileType,fileExtension,fileSize,dateAdded,isPrivate",
    "returnAll": false,
    "start": 0
  },
  "label": "List attachments",
  "type": "bullhorn.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 Bullhorn connection the step signs in with.
EntityRequiredtext
Record idRequiredtext
Fieldstext
Files per call1 to 500.
Skip filesnumber
Fetch every pagePages with start until a short page, and refuses past 10,000 files.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `bullhorn`)
entityTypetext
entityIdtext
fieldstext, by default "id,name,description,contentType,contentSubType,fileType,fileExtension,fileSize,dateAdded,isPrivate"
countnumber, by default 100
startnumber, by default 0
returnAlltrue/false, by default false