Settings
| Setting | What it is |
|---|---|
| ConnectionRequired | The OTYS connection the step signs in with. |
| Attach to | "candidate" or "relation" or "relationContact" or "vacancy" or "task" or "salesTrajectory" or "project" |
| Record OUIDRequired | text |
| File OUIDRequired | The uploaded file's OUID — the Upload file node hands you `ouid`. |
| Document typeRequired | The 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. |
| SubjectRequired | text |
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 |
fileOuid | text |
documentTypeUid | text |
subject | text |
Output
| Field | Type |
|---|---|
dossierId | string |
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
}