FlowmageDocs

Update attachment

BetaChanges data

Replaces a file already attached to a Bullhorn record.

Settings

SettingWhat it is
ConnectionRequiredThe Bullhorn connection the step signs in with.
EntityRequiredtext
Record idRequiredtext
File idRequiredtext
File contentsRequiredBase64 of the file — {{ file("cv.pdf").base64 }}.
File nameRequiredtext
File typetext
External idRequiredtext
Content typetext
Descriptiontext
Attachment typeBullhorn's own `type` field on the attachment.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `bullhorn`)
entityTypetext
entityIdtext
fileIdtext
contenttextits `{{ }}` must give a string
nametext
fileTypetext, by default "SAMPLE"
externalIdtext
contentTypetext
descriptiontext
categorytext

Output

FieldType
fileIdnumber
Sample output, and the expression for each field
  • fileId1

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": {
    "category": "",
    "connection": "<connection id>",
    "content": "<file contents>",
    "contentType": "",
    "description": "",
    "entityId": "<record id>",
    "entityType": "<entity>",
    "externalId": "<external id>",
    "fileId": "<file id>",
    "fileType": "SAMPLE",
    "name": "<file name>"
  },
  "label": "Update attachment",
  "type": "bullhorn.updateFile",
  "version": 1
}