Settings
| Setting | What it is |
|---|---|
| ConnectionRequired | The Personio connection the step signs in with. |
| Employee idRequired | text |
| Kind of period | "WORK" or "BREAK" |
| StartsRequired | A date and time without a timezone offset. |
| Ends | Leave empty for a period that is still running. |
| Comment | text |
| Project id | The project has to be Active. A break cannot carry a project. |
| Skip approval | Off, Personio files the period as Pending and asks a manager. On, it is confirmed immediately. |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `personio`) |
personId | text |
periodType | "WORK" or "BREAK", by default "WORK" |
start | text |
end | text |
comment | text |
projectId | textused when `periodType` is "WORK" |
skipApproval | true/false, by default false |
Output
| Field | Type |
|---|---|
attendanceId | string |
affectedPeriodsEvery period Personio created or changed for this day | array |
affectedCountPeriods Personio touched | number |
Sample output, and the expression for each field
- affectedCount1
- affectedPeriods
- [0]
- id"att_9"
- [0]
- attendanceId"att_9"
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": {
"comment": "",
"connection": "<connection id>",
"end": "",
"periodType": "WORK",
"personId": "<employee id>",
"projectId": "",
"skipApproval": false,
"start": "<starts>"
},
"label": "Create attendance",
"type": "personio.createAttendance",
"version": 1
}