Update absence
BetaChanges data
Moves a Personio absence period in time, or changes its comment.
Settings
| Setting | What it is |
|---|---|
| ConnectionRequired | The Personio connection the step signs in with. |
| Absence idRequired | text |
| Starts | A date and time without a timezone offset. Leave empty to keep it as it is. |
| First day | "" or "FIRST_HALF" or "SECOND_HALF" |
| Ends | text |
| Last day | "" or "FIRST_HALF" or "SECOND_HALF" |
| Comment | text |
| Skip approval | On, Personio applies the change without asking a manager. |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `personio`) |
absenceId | text |
startsFrom | text |
startsFromHalf | "" or "FIRST_HALF" or "SECOND_HALF" |
endsAt | text |
endsAtHalf | "" or "FIRST_HALF" or "SECOND_HALF" |
comment | text |
skipApproval | true/false, by default false |
Output
| Field | Type |
|---|---|
absenceAbsence, as Personio answered it | object |
updatedPersonio accepted the change | boolean |
Sample output, and the expression for each field
- absence
- id"abs_9"
- updatedtrue
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": {
"absenceId": "<absence id>",
"comment": "",
"connection": "<connection id>",
"endsAt": "",
"endsAtHalf": "",
"skipApproval": false,
"startsFrom": "",
"startsFromHalf": ""
},
"label": "Update absence",
"type": "personio.updateAbsence",
"version": 1
}