FlowmageDocs

Create attendance

BetaChanges data

Records a work or break period for a Personio employee.

Settings

SettingWhat it is
ConnectionRequiredThe Personio connection the step signs in with.
Employee idRequiredtext
Kind of period"WORK" or "BREAK"
StartsRequiredA date and time without a timezone offset.
EndsLeave empty for a period that is still running.
Commenttext
Project idThe project has to be Active. A break cannot carry a project.
Skip approvalOff, Personio files the period as Pending and asks a manager. On, it is confirmed immediately.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `personio`)
personIdtext
periodType"WORK" or "BREAK", by default "WORK"
starttext
endtext
commenttext
projectIdtextused when `periodType` is "WORK"
skipApprovaltrue/false, by default false

Output

FieldType
attendanceIdstring
affectedPeriodsEvery period Personio created or changed for this dayarray
affectedCountPeriods Personio touchednumber
Sample output, and the expression for each field
  • affectedCount1
  • affectedPeriods
    • [0]
      • id"att_9"
  • 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
}