Employee Inactive
The Employee Inactive event is fired when an employee's status is changed to Inactive or Deleted. It is useful for an employee off-boarding use case. Note: this does not include cases where the employee is marked as unused.
Payload Schema
In addition to the standard fields every event has, the employee inactive event has the following fields in its payload:
Field Name | Description |
---|---|
employeeInfo | Information about the employee, including: name, email, department and role. |
connectedSystemsCount | The number of systems this employee had access to. To retrieve the list of systems, you can use the appropriate API. |
An example event:
{
"employeeInfo": {
"fullName": "John Doe",
"email": "[email protected]",
"mineResourceId": "a20a040e-6c09-4c56-b728-6bc6c5edc61f",
"department": "R&D",
"role": "Backend Engineer"
},
"connectedSystemsCount": 100,
"eventId": "123456789abcdefghijklm",
"eventType": "EmployeeInactive",
"isTest": true
}
Updated about 1 year ago