Settings
| Setting | What it is |
|---|---|
| ConnectionRequired | The HiBob connection the step signs in with. |
| Employee idRequired | Picked from the list HiBob offers. |
| Termination dateRequired | YYYY-MM-DD — the day the employment ends. Bob dates the whole leaver workflow from this. |
| Last working day | YYYY-MM-DD, when the person stops working before the employment ends — garden leave, holiday taken out. Leave empty when it is the termination date. |
| Reason | An entry of your Bob's termination reason list. Leave empty to set none. |
| Reason type | An entry of your Bob's reason type list — voluntary or not, as your company words it. Leave empty to set none. |
| Notice period | How long the notice period is, in the unit below. Leave empty to set none. |
| Notice period unit | "days" or "weeks" or "month" or "years" |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `hibob`) |
employeeId | texta value from the vendor's own list |
terminationDate | text |
lastDayOfWork | text |
terminationReason | texta value from the vendor's own list |
reasonType | texta value from the vendor's own list |
noticeLength | number |
noticeUnit | "days" or "weeks" or "month" or "years", by default "weeks" |
Output
| Field | Type |
|---|---|
employeeId | string |
terminatedBob accepted the termination | boolean |
Sample output, and the expression for each field
- employeeId"33328"
- terminatedtrue
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>",
"employeeId": "<employee id>",
"lastDayOfWork": "",
"noticeUnit": "weeks",
"reasonType": "",
"terminationDate": "<termination date>",
"terminationReason": ""
},
"label": "Terminate employee",
"type": "hibob.terminateEmployee",
"version": 2
}Older versions
A flow that already has this version keeps running it. A new step always gets the newest.
Version 1
| Setting | What it is |
|---|---|
| ConnectionRequired | The HiBob connection the step signs in with. |
| Employee idRequired | Picked from the list HiBob offers. |
| Last working dayRequired | YYYY-MM-DD. Bob dates the whole leaver workflow from this. |
| Other termination fields | Reason, type and notice period, spelled the way Bob's own termination record spells them. Open a terminated employee's Lifecycle table with the List employee table node to see the names your Bob uses. |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `hibob`) |
employeeId | texta value from the vendor's own list |
terminationDate | text |
extraFields | object (any keys), by default {} |