FlowmageDocs

Attach file to dossier

BetaChanges data

Attaches an uploaded OTYS file to a record's dossier.

Settings

SettingWhat it is
ConnectionRequiredThe OTYS connection the step signs in with.
Attach to"candidate" or "relation" or "relationContact" or "vacancy" or "task" or "salesTrajectory" or "project"
Record OUIDRequiredtext
File OUIDRequiredThe uploaded file's OUID — the Upload file node hands you `ouid`.
Document typeRequiredThe OTYS document type — CV, motivation letter, contract. Read the list with a Search node over DocumentTypeService, or set one up in OTYS Go! under client setting GE91.
SubjectRequiredtext
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
fileOuidtext
documentTypeUidtext
subjecttext

Output

FieldType
dossierIdstring
Sample output, and the expression for each field
  • dossierId"00000000-0000-0000-0000-000000000000"

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>",
    "documentTypeUid": "<document type>",
    "entity": "candidate",
    "fileOuid": "<file ouid>",
    "recordOuid": "<record ouid>",
    "subject": "<subject>"
  },
  "label": "Attach file to dossier",
  "type": "otys.attachFile",
  "version": 1
}