Events and Messages 

Modules and packages work together through the contracts of a module and through events and messages.

Event Message
Purpose Lets others take part in a processing: contribute, change a figure, refuse Reports that something happened; the sender needs no answer
Mechanism PSR-14, dispatched through Psr\EventDispatcher\EventDispatcherInterface, synchronous, inside the processing and its transaction Symfony Messenger, the bus message.bus, after the commit, handled by the worker
Receiver #[AsEventListener] #[AsMessageHandler(bus: 'message.bus')]
May change Only what the event class offers Nothing of the sender; a handler acts on its own data
Lives in <Module>\Contract\Event <Module>\Contract\Message

Never inject or create a listener or a handler: code that raises an event knows only the dispatcher, code that sends a message only the publisher.

Messages 

Publish a message 

A command handler publishes the messages of its module with MessagePublisher (WebVision\Adsum\Core\Shared\Application\Bus\MessagePublisher):

$this->messages->publish(new PunchRecorded(/* ... */));
Copied!

The message is sent after the command's transaction is committed. A failing command publishes nothing.

A message is a final readonly class holding only strings, numbers, booleans, \DateTimeImmutable, backed enums, lists of these and the DTOs of a contract. Originated names the origin of a change: user, system or migration. Notifications, mails and live updates ignore messages of the origin migration.

Handle a message 

A handler is a method with #[AsMessageHandler(bus: 'message.bus')] and the message class as the type of its argument. A message may have any number of handlers; a package handles only messages of packages it requires in its composer.json.

use Symfony\Component\Messenger\Attribute\AsMessageHandler;
use WebVision\Adsum\Attendance\Punching\Contract\Message\PunchRecorded;

final readonly class ChatAnnouncements
{
    public function __construct(
        private ChatClient $chat,
    ) {}

    #[AsMessageHandler(bus: 'message.bus')]
    public function punchRecorded(PunchRecorded $punch): void
    {
        if ($punch->type === 'clockOut') {
            $this->chat->post(sprintf('%s clocked out.', $punch->employeeId));
        }
    }
}
Copied!
  • The worker handles messages on the queue async_high, or async_low for a message that implements BulkAsynchronousMessage. A handler cannot change the answer of the request that published the message.
  • Every handler handles a message once, also when the queue delivers it again. A failing handler is retried; after five attempts the message waits in the transport failed (see Operations).
  • A message that implements SecretCarryingMessage, such as one carrying a password reset token, is handled in the publishing process after the commit and never queued.
  • While the Horilla import runs, every message it causes is handled in the import's process and never queued, so that its results are final when it ends. A message that implements MigrationNotification is the exception: the migration sends it on purpose to tell a person something, and it waits on its queue like any other message.

Messages outside adsum 

Messages travel as JSON. Each package describes its messages in asyncapi/asyncapi.yaml (AsyncAPI 3), published with the API reference: the queue, the header type naming a message, and the JSON schema of its content. An added optional field keeps the version; renaming or removing a field, or changing its meaning, makes a new version, and the old one is still sent until the next major release.

Events 

An event is a class in the Contract\Event namespace of the module that raises it, dispatched through the injected EventDispatcherInterface inside the transaction. Its class says what a listener may change. An event that can refuse is stoppable (Psr\EventDispatcher\StoppableEventInterface): the first refusal stops it. A listener is a method with #[AsEventListener] and the event class as the type of its argument.

WorkingDayEvaluated 

Class

WebVision\Adsum\Attendance\Attendance\Contract\Event\WorkingDayEvaluated (adsum-attendance)

Raised

while a working day is calculated, after adsum's own working-time rules and before the day is stored

Receives

company, employee and date; status, work, break, night, Sunday and holiday time; the periods of work (workIntervals) and the codes of the rules found broken (violatedRules)

May change

addViolation(rule, severity, measuredSeconds, limitSeconds) adds a violation or notice of an own rule, with a rule code in camelCase. The day publishes WorkingTimeRuleViolated for it and shows it with the translation keys screen.violation.rule.<code>, screen.daySummary.violation.<code>, report.working-time-violations.value.rule.<code> and dashboard.violations.rule.<code> of the package's catalogue. The optional lawVersion and lawSource name the provision checked (such as DE.ArbZG.3.v1) and its official text. A service implementing WebVision\Adsum\Attendance\Attendance\Contract\ViolationRuleCodes lists its rule codes in ruleCodes() for the filter of the violation list (GET /api/v1/working-time-violation-rules) and, in ruleSetVersion(), the version of its checks. Raise that version whenever a check changes what it records: a recalculation writes nothing for a day whose inputs are the same, but a day checked under another rule set version counts as changed and has its violations evaluated again. withdrawViolation(rule, measuredSeconds) withdraws the violation adsum found for a rule when it measured exactly that, where the own rule states the same fact more precisely.

#[AsEventListener]
public function nightWork(WorkingDayEvaluated $day): void
{
    if ($day->nightSeconds > 8 * 3600) {
        $day->addViolation('nightWorkLimit', 'violation', $day->nightSeconds, 8 * 3600);
    }
}
Copied!

WorkingPeriodEvaluated 

Class

WebVision\Adsum\Attendance\Attendance\Contract\Event\WorkingPeriodEvaluated (adsum-attendance)

Raised

when a calendar week (Monday to Sunday in the person's office) has closed, for every employee, and again when a correction changes a day of a week that was evaluated before. Nothing is evaluated for the week that is running

Receives

company and employee; the Monday (from) and the Sunday (to) of the closed week. The event names no country: a listener answers only for the country of the person's office on to

May change

addViolation(PeriodViolation) adds a violation or notice of a rule over a period that ends with the week, such as an average over 24 weeks. The period of the violation (from and to) is the period the rule measured; to is the Sunday of the closed week. The violation belongs to the employee and the period, never to an attendance day; it is stored once per rule and period, updated, resolved when a later evaluation no longer finds it, and announced by WorkingTimePeriodRuleViolated. It is shown with the translation key screen.violation.rule.<code> of the package's catalogue. A service implementing WebVision\Adsum\Attendance\Attendance\Contract\ViolationRuleCodes lists the rule codes of the package; the codes of a rule over periods are also named by periodRuleCodes(), so that the filter of the violations of days does not offer them, since the periods tab of an account lists them.

#[AsEventListener]
public function nightWorkPerPeriod(WorkingPeriodEvaluated $week): void
{
    $from = $week->from->modify('-3 weeks');
    $seconds = $this->nightSeconds($week->employeeId, $from, $week->to);
    if ($seconds > 80 * 3600) {
        $week->addViolation(new PeriodViolation('nightWorkPerPeriod', 'violation', $from, $week->to, $seconds, 80 * 3600));
    }
}
Copied!

EntitlementCalculated 

Class

WebVision\Adsum\Leave\Policy\Contract\Event\EntitlementCalculated (adsum-leave)

Raised

when an employee's entitlement of a leave type for a year is calculated

Receives

company, employee, leave type and year; the unit (days or hours), whether the type is statutory vacation, and the entitlement of the policy

May change

addDays(days, reason, statutory) (in half days) or, for a type in hours, addSeconds(seconds, reason, statutory) adds what a law grants beyond the policy. A statutory addition raises the statutory minimum too. The breakdown lists additions under adjustments; the balances screen shows the reason with screen.leaveBalance.adjustmentReason.<reason>.

#[AsEventListener]
public function severeDisability(EntitlementCalculated $entitlement): void
{
    if ($entitlement->statutory && $this->disabilities->isSevere($entitlement->employeeId, $entitlement->year)) {
        $entitlement->addDays(5, 'severeDisability', statutory: true);
    }
}
Copied!

LeaveRequestSubmitting 

Class

WebVision\Adsum\Leave\Request\Contract\Event\LeaveRequestSubmitting (adsum-leave), stoppable

Raised

after a leave request passed adsum's own rules, before it is stored

Receives

company, employee, leave type, first and last day, unit, quantity (half days or seconds) and whether HR files it

May refuse

refuse(path, message, code). The request is answered 422 with that violation; nothing is stored.

#[AsEventListener]
public function inventory(LeaveRequestSubmitting $request): void
{
    if ($this->inventory->fallsInto($request->companyId, $request->startDate, $request->endDate)) {
        $request->refuse('startDate', 'Nobody takes leave on the day of the inventory.', 'inventoryDay');
    }
}
Copied!

CompanyFounded 

Class

WebVision\Adsum\Core\Organisation\Contract\Event\CompanyFounded (adsum-core)

Raised

when a company is created, in its transaction, after adsum set up its defaults

Receives

company, name, time zone, country (ISO 3166-1) and region (ISO 3166-2, if given)

May change

nothing; a listener seeds what the country needs in the same transaction.

#[AsEventListener]
public function seedCountryDefaults(CompanyFounded $company): void
{
    if ($company->countryCode === 'AT') {
        $this->defaults->seed($company->companyId, $company->regionCode);
    }
}
Copied!

CompanyDefaultsSetUp 

Class

WebVision\Adsum\Core\Organisation\Contract\Event\CompanyDefaultsSetUp (adsum-core)

Raised

each time the defaults of a company were set up: when it is founded, in its transaction, and when app:company:setup runs for it

Receives

company and country (ISO 3166-1)

May change

nothing but the count it reports with created(); a listener creates what the company still lacks and keeps what HR changed, because the event comes again every time, and tells how many entries it created, which app:company:setup adds to its own. The leave package listens and creates the leave types of the country.

OfficeOpened 

Class

WebVision\Adsum\Core\Organisation\Contract\Event\OfficeOpened (adsum-core)

Raised

when a location of a company is created, in its transaction

Receives

company, location, country, region, postal code and city

May change

nothing; a listener seeds what the country or region needs, such as the region's holiday calendar.

#[AsEventListener]
public function subscribeHolidays(OfficeOpened $office): void
{
    if ($office->regionCode !== null) {
        $this->calendars->subscribe($office->companyId, $office->locationId, $office->regionCode);
    }
}
Copied!

PunchTaken 

Class

WebVision\Adsum\Attendance\Punching\Contract\Event\PunchTaken (adsum-attendance)

Raised

in the request of a punch that an employee or a terminal took, right after the punch was committed and before the response goes out. Not for a retry that returns the existing punch, a punch filed as a correction request, an import or an automatic clock-out

Receives

company, employee, punch, type (clockIn, clockOut, breakStart, breakEnd), instant and source

May change

nothing; a listener does what must follow the punch at once and does not throw, because a failure must not fail a punch that is recorded. The message PunchRecorded follows for every punch and carries the rest of the work, so a listener that fails leaves its work to a handler of that message.

#[AsEventListener]
public function stopTimer(PunchTaken $punch): void
{
    if ($punch->type === 'clockOut') {
        $this->timers->stopAt($punch->employeeId, $punch->instant);
    }
}
Copied!

Messages by package 

Every message is published after the commit and goes to the queue async_high unless its entry says otherwise.

adsum-apprenticeship 

TrainingAbsenceLevelReached
WebVision\Adsum\Apprenticeship\Training\Contract\Message\TrainingAbsenceLevelReached. The share of the training time an apprentice missed rose to the level warning or threshold. It carries the totals only, never the kind of absence. Once for each rise.

adsum-assets 

AssetAllocated
WebVision\Adsum\Assets\Allocation\Contract\Message\AssetAllocated. A unit was handed over to an employee.
AssetExpiryApproaching
WebVision\Adsum\Assets\Allocation\Contract\Message\AssetExpiryApproaching. The notice date before an asset's expiry has come. Once per asset and expiry date.
AssetFineAssessed
WebVision\Adsum\Assets\Fine\Contract\Message\AssetFineAssessed. A fine was recorded against an employee. IDs and origin only; amount and installments come from AssetFineQuery. Not published for origin migration.
AssetFineCancelled
WebVision\Adsum\Assets\Fine\Contract\Message\AssetFineCancelled. A fine was cancelled. IDs and origin only.
AssetRequestAwaitingFulfilment
WebVision\Adsum\Assets\Request\Contract\Message\AssetRequestAwaitingFulfilment. An asset request is approved, or needed no approval, and waits for a unit.
AssetRequestCancelled
WebVision\Adsum\Assets\Request\Contract\Message\AssetRequestCancelled. An approved asset request was cancelled.
AssetRequestFulfilled
WebVision\Adsum\Assets\Request\Contract\Message\AssetRequestFulfilled. An asset request was fulfilled by an allocation.
AssetReturnRequested
WebVision\Adsum\Assets\Allocation\Contract\Message\AssetReturnRequested. The holder of a unit asked to return it.
AssetReturned
WebVision\Adsum\Assets\Allocation\Contract\Message\AssetReturned. A unit came back, with the outcome of the return.
AssetServiceRequested
WebVision\Adsum\Assets\Service\Contract\Message\AssetServiceRequested. The holder of a unit asked for service.
AssetServiceResolved
WebVision\Adsum\Assets\Service\Contract\Message\AssetServiceResolved. A service request was completed or rejected.
AssetUnitStatusChanged
WebVision\Adsum\Assets\Register\Contract\Message\AssetUnitStatusChanged. The stored status of a unit changed.

adsum-attendance 

AttendanceCorrected
WebVision\Adsum\Attendance\Correction\Contract\Message\AttendanceCorrected. A manager or HR corrected a day directly.
AttendanceCorrectionFailed
WebVision\Adsum\Attendance\Correction\Contract\Message\AttendanceCorrectionFailed. An approved correction request could not be applied because the day changed meanwhile.
AttendanceDayRecalculated
WebVision\Adsum\Attendance\Attendance\Contract\Message\AttendanceDayRecalculated. An attendance day got new values. Not published when the inputs did not change.
AttendanceDayReturned
WebVision\Adsum\Attendance\Attendance\Contract\Message\AttendanceDayReturned. A manager or HR sent a day back for correction, with their message.
AttendanceDayValidated
WebVision\Adsum\Attendance\Attendance\Contract\Message\AttendanceDayValidated. A manager or HR validated a closed day.
AutomaticClockOutRecorded
WebVision\Adsum\Attendance\Attendance\Contract\Message\AutomaticClockOutRecorded. The automatic clock-out ended a day, which waits for the employee to confirm or correct it. Once per day.
BreakReminderDue
WebVision\Adsum\Attendance\Reminder\Contract\Message\BreakReminderDue. A person has worked as long as the rules of their country name without a break (workedSeconds), counting from the clock-in punchId. Once per day.
ClockInReminderSent
WebVision\Adsum\Attendance\Presence\Contract\Message\ClockInReminderSent. A manager or HR reminded a missing employee to clock in, with an optional message.
ClockOutCutByImport
WebVision\Adsum\Core\Notification\Contract\Message\ClockOutCutByImport. An import of earlier time records moved the clock-out of an employee's day to clockOut. Unlike the records of an import, it notifies.
LatenessIncidentRecorded
WebVision\Adsum\Attendance\Lateness\Contract\Message\LatenessIncidentRecorded. A late start or early end was recorded, or recorded again after its deviation returned.
LatenessIncidentWithdrawn
WebVision\Adsum\Attendance\Lateness\Contract\Message\LatenessIncidentWithdrawn. The deviation of an incident vanished with a recalculation of its day.
LatenessPenaltyBasisChanged
WebVision\Adsum\Attendance\Lateness\Contract\Message\LatenessPenaltyBasisChanged. An incident of an active penalty was withdrawn or dismissed; the penalty stays until HR or the recording manager decides.
LongDayDetected
WebVision\Adsum\Attendance\Attendance\Contract\Message\LongDayDetected. A day counts only 24 hours of work because a work interval of it is longer or still open after that long. Once per day.
MissingPunchDetected
WebVision\Adsum\Attendance\Attendance\Contract\Message\MissingPunchDetected. A day closed with an open work interval (clockOut missing) or an open break (breakEnd missing). Once per day.
PunchImportFinished
WebVision\Adsum\Attendance\DataExchange\Contract\Message\PunchImportFinished. A punch file was imported.
PunchRecorded
WebVision\Adsum\Attendance\Punching\Contract\Message\PunchRecorded. A punch was recorded. origin is migration for imported punches and system for automatic clock-outs.
PunchVoided
WebVision\Adsum\Attendance\Punching\Contract\Message\PunchVoided. A correction voided a punch.
RunningClockNoticed
WebVision\Adsum\Attendance\Reminder\Contract\Message\RunningClockNoticed. A person has worked 8 or 16 hours (hours, breaks not counted) since the clock-in punchId. Once per pair and limit.
WorkOnAbsenceDetected
WebVision\Adsum\Attendance\Attendance\Contract\Message\WorkOnAbsenceDetected. Somebody worked on a day of approved leave or sickness (absenceSource leave or sickness). Once per day.
WorkingTimeAccountBooked
WebVision\Adsum\Attendance\Account\Contract\Message\WorkingTimeAccountBooked. An entry was written to a working-time account, with the new balance and the limit warnings.
WorkingTimePeriodRuleViolated
WebVision\Adsum\Attendance\Compliance\Contract\Message\WorkingTimePeriodRuleViolated. A period broke a working-time rule, such as the average of 24 weeks, and the violation is announced: for the first window of a run of violating windows and for the first window ending in each later month of the run. measuredSeconds and limitSeconds are per working day for an average.
WorkingTimeRuleViolated
WebVision\Adsum\Attendance\Compliance\Contract\Message\WorkingTimeRuleViolated. A day broke a working-time rule or carries a notice. Once per employee, date and rule; limitSeconds is null for a notice.
WorkingTimeSettled
WebVision\Adsum\Attendance\Account\Contract\Message\WorkingTimeSettled. HR decided a settlement proposal of a working-time account.
WorkingTimeSettlementDue
WebVision\Adsum\Attendance\Account\Contract\Message\WorkingTimeSettlementDue. Balances at the end of a reference period lie beyond a carry-over limit; HR has settlement proposals.

adsum-attendance-devices 

AttendanceDeviceRegistered
WebVision\Adsum\AttendanceDevices\Device\Contract\Message\AttendanceDeviceRegistered. HR or an admin registered an attendance device. origin is migration for imported devices.
AttendanceDeviceEventRejected
WebVision\Adsum\AttendanceDevices\DeviceEvent\Contract\Message\AttendanceDeviceEventRejected. A device event could not become a punch and waits for HR; it carries the device, the event, the employee (empty while the device user is not mapped), the device user, the reason code and the instant of the event.
AttendanceDeviceStatusChanged
WebVision\Adsum\AttendanceDevices\Device\Contract\Message\AttendanceDeviceStatusChanged. The state of an attendance device changed (connected, degraded, offline or disabled); it carries the device, its name and the previous and the new state. HR and administrators are notified of the change to and from offline.
DeviceUserMapped
WebVision\Adsum\AttendanceDevices\DeviceUser\Contract\Message\DeviceUserMapped. HR connected a device user ID with an employee; it carries the device, the device user ID, the employee and the first day of the mapping.

adsum-automations 

AutomationExecuted
WebVision\Adsum\Automations\Automation\Contract\Message\AutomationExecuted. An automation fired for an event and handed its messages on; the run lists each recipient with the outcome.

adsum-core 

AccountAddedToCompany
WebVision\Adsum\Core\Identity\Contract\Message\AccountAddedToCompany. An existing account was linked to an employee of a company at once.
AccountBlockLifted
WebVision\Adsum\Core\Identity\Contract\Message\AccountBlockLifted. A block of an account was lifted.
AccountBlocked
WebVision\Adsum\Core\Identity\Contract\Message\AccountBlocked. An account was blocked; from startsAt no login and no token is accepted.
AnnouncementAudienceExtended
WebVision\Adsum\Core\Announcement\Contract\Message\AnnouncementAudienceExtended. A change of an announcement added people to its audience; only those not told before are named.
AnnouncementCommented
WebVision\Adsum\Core\Announcement\Contract\Message\AnnouncementCommented. Somebody commented on an announcement.
AnnouncementDeleted
WebVision\Adsum\Core\Announcement\Contract\Message\AnnouncementDeleted. An announcement was deleted with its comments, views and files.
AnnouncementPublished
WebVision\Adsum\Core\Announcement\Contract\Message\AnnouncementPublished. An announcement was published, with the members of its audience, each told once. Not told for origin migration.
ApprovalCommentAdded
WebVision\Adsum\Core\Approval\Contract\Message\ApprovalCommentAdded. Somebody commented on an approval.
ApprovalCompleted
WebVision\Adsum\Core\Approval\Contract\Message\ApprovalCompleted. Every step is approved or skipped, or no approval was needed (autoApproved); the owning domain applies the subject.
ApprovalDelegated
WebVision\Adsum\Core\Approval\Contract\Message\ApprovalDelegated. A substitute was added to a step.
ApprovalEscalated
WebVision\Adsum\Core\Approval\Contract\Message\ApprovalEscalated. A step waited past the escalation threshold; the next level was added.
ApprovalRejected
WebVision\Adsum\Core\Approval\Contract\Message\ApprovalRejected. A step was rejected; the owning domain rejects the subject.
ApprovalReminderDue
WebVision\Adsum\Core\Approval\Contract\Message\ApprovalReminderDue. A step waited another reminder interval (number counts from 1). Once per step and number.
ApprovalRequested
WebVision\Adsum\Core\Approval\Contract\Message\ApprovalRequested. A subject was submitted for approval.
ApprovalStepAssigned
WebVision\Adsum\Core\Approval\Contract\Message\ApprovalStepAssigned. A step became decidable (reason activated, or escalation for an added approver).
ApprovalStepDecided
WebVision\Adsum\Core\Approval\Contract\Message\ApprovalStepDecided. An approver approved or rejected a step.
ApprovalWithdrawn
WebVision\Adsum\Core\Approval\Contract\Message\ApprovalWithdrawn. The requester, or the system for a leaver, withdrew a pending approval; the owning domain withdraws the subject.
BonusPointsChanged
WebVision\Adsum\Core\Employee\Contract\Message\BonusPointsChanged. An entry changed an employee's bonus points by points.
BonusPointsRedeemed
WebVision\Adsum\Core\Employee\Contract\Message\BonusPointsRedeemed. An approved redemption turned points into amount minor units of currency, paid once, decided on the company's local decisionDate (Y-m-d).
BonusRedemptionDecided
WebVision\Adsum\Core\Employee\Contract\Message\BonusRedemptionDecided. A redemption of bonus points was approved or rejected.
CompanyArchived
WebVision\Adsum\Core\Organisation\Contract\Message\CompanyArchived. An admin archived a company. Restoring publishes nothing.
CompanyCreated
WebVision\Adsum\Core\Organisation\Contract\Message\CompanyCreated. An admin created a further company.
CompanyInvitationDeclined
WebVision\Adsum\Core\Identity\Contract\Message\CompanyInvitationDeclined. The holder of an existing account declined to join the company.
CompanyInvitationRequested
WebVision\Adsum\Core\Identity\Contract\Message\CompanyInvitationRequested. A company asks the holder of an existing account to join.
ContentTemplateActivated
WebVision\Adsum\Core\Customisation\Contract\Message\ContentTemplateActivated. A version of a company's text is shown from now on, with its slot, language and number, and whether it was scheduled.
CompanyModuleSwitched
WebVision\Adsum\Core\Customisation\Contract\Message\CompanyModuleSwitched. A module was switched on or off for a company, with the module key and its new state.
CompanyFeatureSwitched
WebVision\Adsum\Core\Customisation\Contract\Message\CompanyFeatureSwitched. A feature of a module was switched on or off for a company, with the feature key and its new state.
CustomFieldRequiredAdded
WebVision\Adsum\Core\Customisation\Contract\Message\CustomFieldRequiredAdded. HR made an employee field required while employees have no value in it, with their number.
DashboardPresetChanged
WebVision\Adsum\Core\Dashboard\Contract\Message\DashboardPresetChanged. An admin changed or reset a company's role preset.
DashboardTabAdded
WebVision\Adsum\Core\Dashboard\Contract\Message\DashboardTabAdded. A user gained a role and received its dashboard tab.
DisciplinaryActionRecorded
WebVision\Adsum\Core\Employee\Contract\Message\DisciplinaryActionRecorded. HR recorded a disciplinary action.
DisciplinaryActionWithdrawn
WebVision\Adsum\Core\Employee\Contract\Message\DisciplinaryActionWithdrawn. HR withdrew a disciplinary action.
EmployeeAccountInvitationRequested
WebVision\Adsum\Core\Employee\Contract\Message\EmployeeAccountInvitationRequested. HR asked for an account for an employee; Identity creates or renews it and sends the invitation in locale.
EmployeeAccountInvited
WebVision\Adsum\Core\Identity\Contract\Message\EmployeeAccountInvited. The account exists and its invitation was sent; the employee module links it.
EmployeeDeleted
WebVision\Adsum\Core\Employee\Contract\Message\EmployeeDeleted. An employee created by mistake was deleted; Identity unlinks the account and disables it unless it is still needed.
EmployeeExitScheduled
WebVision\Adsum\Core\Employee\Contract\Message\EmployeeExitScheduled. An exit was scheduled, changed or cancelled (no exit date).
EmployeeExited
WebVision\Adsum\Core\Employee\Contract\Message\EmployeeExited. The exit date has passed in the company's time zone. Once per exit; Identity deactivates the account.
EmployeeHired
WebVision\Adsum\Core\Employee\Contract\Message\EmployeeHired. An employee was created. Origin migration for an employee imported from Horilla.
EmployeeMailQueued
WebVision\Adsum\Core\Employee\Contract\Message\EmployeeMailQueued. A mail from HR waits to be delivered to the recipient line recipientId.
EmployeeRehired
WebVision\Adsum\Core\Employee\Contract\Message\EmployeeRehired. An exited employee was rehired into the same record. The account stays disabled until HR sends an invitation.
EmployeeTransferred
WebVision\Adsum\Core\Employee\Contract\Message\EmployeeTransferred. An employee moves to another company from the date; the source record exits the day before. Packages move open items with it.
EmployeeUpdated
WebVision\Adsum\Core\Employee\Contract\Message\EmployeeUpdated. Fields of an employee changed. changedFields names the API properties, never values. effectiveFrom is the first day to recalculate from, or null for changes without a date.
FinalSettlementStatusChanged
WebVision\Adsum\Core\Employee\Contract\Message\FinalSettlementStatusChanged. The final settlement of a leaver changed its status; published by the package that keeps final settlements.
IntegrationConnectionFailed
WebVision\Adsum\Core\Integrations\Contract\Message\IntegrationConnectionFailed. The connection of an integration of a company failed a check after the last one had passed, with the error code of the first failed check. Published once per change, not for every failing check.
IntegrationConnectionRestored
WebVision\Adsum\Core\Integrations\Contract\Message\IntegrationConnectionRestored. The connection of an integration of a company passed every check again after it had failed.
IntegrationDisabled
WebVision\Adsum\Core\Integrations\Contract\Message\IntegrationDisabled. An admin disabled an integration for a company; its settings and the records created through it are kept.
IntegrationEnabled
WebVision\Adsum\Core\Integrations\Contract\Message\IntegrationEnabled. An admin enabled an integration for a company.
LoginBlockRequested
WebVision\Adsum\Core\Employee\Contract\Message\LoginBlockRequested. A disciplinary action blocks the login from startsAt (included) until endsAt (excluded, open without one). Each reference blocks once.
LoginBlockWithdrawn
WebVision\Adsum\Core\Employee\Contract\Message\LoginBlockWithdrawn. The action of reference no longer blocks the login.
LoginEmailChangeRequested
WebVision\Adsum\Core\Identity\Contract\Message\LoginEmailChangeRequested. Carries the confirmation token for a new login e-mail address to the mail handler. Handled in the process, never queued.
LoginEmailChanged
WebVision\Adsum\Core\Identity\Contract\Message\LoginEmailChanged. A person confirmed a new login address newEmail, valid from at.
LoginEmailCodeRequested
WebVision\Adsum\Core\Identity\Contract\Message\LoginEmailCodeRequested. Carries a login code to the mail handler. Handled in the process, never queued.
MigratedApprovalsReleased
WebVision\Adsum\Core\Approval\Contract\Message\MigratedApprovalsReleased. The migrated approvals of a company were released at go-live, with the number of steps per approver.
OrganisationUnitChanged
WebVision\Adsum\Core\Organisation\Contract\Message\OrganisationUnitChanged. A structure entry (department, jobPosition, jobRole, employmentType, location) or the company changed. Queue async_low.
PasswordChangeRequired
WebVision\Adsum\Core\Identity\Contract\Message\PasswordChangeRequired. HR or an admin (requestedBy) requires a new password at the next login.
PasswordChanged
WebVision\Adsum\Core\Identity\Contract\Message\PasswordChanged. A person set a new password.
PasswordResetRequested
WebVision\Adsum\Core\Identity\Contract\Message\PasswordResetRequested. Carries the reset token to the mail handler. Handled in the process, never queued.
PenaltyRecorded
WebVision\Adsum\Core\Employee\Contract\Message\PenaltyRecorded. A penalty was recorded. The penalty ID is the idempotency key of every consumer.
PenaltyWithdrawn
WebVision\Adsum\Core\Employee\Contract\Message\PenaltyWithdrawn. A penalty was withdrawn; consumers reverse what they booked.
PersonalAccessTokenCreated
WebVision\Adsum\Core\Identity\Contract\Message\PersonalAccessTokenCreated. A personal access token was created; its owner is told.
PersonalAccessTokenExpiring
WebVision\Adsum\Core\Identity\Contract\Message\PersonalAccessTokenExpiring. A token expires in daysBefore days. Published by the daily reminder job.
PersonalAccessTokenRevokedByAdmin
WebVision\Adsum\Core\Identity\Contract\Message\PersonalAccessTokenRevokedByAdmin. An admin revoked a token of another person (ownerId).
PolicyPublished
WebVision\Adsum\Core\Employee\Contract\Message\PolicyPublished. A policy was published, or changed with notice to its audience.
ReportingLineChanged
WebVision\Adsum\Core\Employee\Contract\Message\ReportingLineChanged. An employee's manager changes from effectiveFrom; either manager may be none. Published when the change is made.
RequestCommented
WebVision\Adsum\Core\Comment\Contract\Message\RequestCommented. Somebody commented on a request; names request and author, never the text.
ResponsibilitiesHandedOver
WebVision\Adsum\Core\Employee\Contract\Message\ResponsibilitiesHandedOver. An employee's responsibilities went to a successor from the date, with the employees who got the successor as manager.
ReturnableItemsChanged
WebVision\Adsum\Core\Employee\Contract\Message\ReturnableItemsChanged. An employee was handed or returned something of the company and now holds openCount items; published by the package that keeps them.
RoleChanged
WebVision\Adsum\Core\Identity\Contract\Message\RoleChanged. hr or admin was granted or revoked.
SecuritySettingsChanged
WebVision\Adsum\Core\Identity\Contract\Message\SecuritySettingsChanged. A company changed its security settings.
SetupChecklistCompleted
WebVision\Adsum\Core\Customisation\Contract\Message\SetupChecklistCompleted. Every required step of a company's setup checklist is done or skipped. Once per company.
TriggerOccurred
WebVision\Adsum\Core\Shared\Contract\Message\TriggerOccurred. Something an automation trigger reacts to happened: the trigger's key, the subject and the employee it is about, its attributes before and after, the user who caused it and the origin. Published by the package that registers the trigger through TriggerPublisher; without the automations package installed nothing is published.
TwoFactorEnrolled
WebVision\Adsum\Core\Identity\Contract\Message\TwoFactorEnrolled. A person enrolled an authenticator.
TwoFactorReset
WebVision\Adsum\Core\Identity\Contract\Message\TwoFactorReset. An admin (resetBy) removed a person's second factor.
UserInvited
WebVision\Adsum\Core\Identity\Contract\Message\UserInvited. Carries the invitation token to the mail handler; for a single sign-on domain the mail leads to the login page. Handled in the process, never queued.
UserLoggedIn
WebVision\Adsum\Core\Identity\Contract\Message\UserLoggedIn. A login succeeded; method is password, sso or token.
UserProvisionedBySso
WebVision\Adsum\Core\Identity\Contract\Message\UserProvisionedBySso. Single sign-on created an account without roles; HR links it to an employee.
UserSessionRevoked
WebVision\Adsum\Core\Identity\Contract\Message\UserSessionRevoked. A person ended one or all other of their web sessions.

adsum-documents 

DocumentRequested
WebVision\Adsum\Documents\Request\Contract\Message\DocumentRequested. An employee was asked for a document of a type: their item of a request is open, new or again.
DocumentRequestItemCancelled
WebVision\Adsum\Documents\Request\Contract\Message\DocumentRequestItemCancelled. An open item of a request was cancelled: its recipient was removed, left the company or the request was closed.
EmployeeDocumentChanged
WebVision\Adsum\Documents\Document\Contract\Message\EmployeeDocumentChanged. A document of an employee was changed: its details, its file or its type. Names the document, the employee, the type, the digitalAsset flag and the origin.
EmployeeDocumentDeleted
WebVision\Adsum\Documents\Document\Contract\Message\EmployeeDocumentDeleted. A document of an employee was deleted with its file. Names the document, the employee, the type, the digitalAsset flag and the origin.
EmployeeDocumentExpired
WebVision\Adsum\Documents\Document\Contract\Message\EmployeeDocumentExpired. A document has expired: its expiry date has passed. Sent once per document and expiry date.
EmployeeDocumentExpiring
WebVision\Adsum\Documents\Document\Contract\Message\EmployeeDocumentExpiring. A document expires soon: its reminder day has come, daysLeft days before its expiry date. Sent once per document and expiry date.
EmployeeDocumentRecorded
WebVision\Adsum\Documents\Document\Contract\Message\EmployeeDocumentRecorded. A document of an employee was recorded: by the employee, HR, a manager, a handover or the import. Names the document, the employee, the type, the digitalAsset flag and the origin.
EmployeeDocumentRejected
WebVision\Adsum\Documents\Document\Contract\Message\EmployeeDocumentRejected. A document an employee provided was rejected; the employee reads the reason with the document. Names the document, the employee, the type, the digitalAsset flag and the origin of the document.
EmployeeDocumentVerified
WebVision\Adsum\Documents\Document\Contract\Message\EmployeeDocumentVerified. A document an employee provided was checked and accepted. Names the document, the employee, the type, the digitalAsset flag and the origin of the document.

adsum-helpdesk 

DepartmentManagerEnded
WebVision\Adsum\Helpdesk\Configuration\Contract\Message\DepartmentManagerEnded. A help-desk manager assignment ended because the employee left the department or the company. Names the assignment, the department, the employee and the last day they led its queue.
TicketArchived
WebVision\Adsum\Helpdesk\Ticket\Contract\Message\TicketArchived. A ticket was archived or taken out of the archive. Names the ticket, whether it is archived now and the employee who did it.
TicketAssigneesChanged
WebVision\Adsum\Helpdesk\Ticket\Contract\Message\TicketAssigneesChanged. The assignees of a ticket changed, also through a claim or an approved claim request. Names the ticket, the employees added and removed and the employee who changed them.
TicketChanged
WebVision\Adsum\Helpdesk\Ticket\Contract\Message\TicketChanged. Fields of a ticket changed: title, description, type, priority, deadline or tags. Names the ticket, the changed fields without their values and the employee who changed them.
TicketClaimed
WebVision\Adsum\Helpdesk\Ticket\Contract\Message\TicketClaimed. An employee of the queue took the unassigned ticket and is its only assignee. Names the ticket and the employee.
TicketCommented
WebVision\Adsum\Helpdesk\Ticket\Contract\Message\TicketCommented. A comment was added to a ticket, with text, files or both. Names the ticket, the comment and its author, never the text.
TicketConversationChanged
WebVision\Adsum\Helpdesk\Ticket\Contract\Message\TicketConversationChanged. The conversation of a ticket changed other than by a new comment: a comment was edited or deleted, or a file was added or removed. Names the ticket, the kind of change and the employee who made it.
TicketDeleted
WebVision\Adsum\Helpdesk\Ticket\Contract\Message\TicketDeleted. A new ticket was deleted. As the ticket is gone, names its number and title and the employees to inform: its assignees, the help-desk managers of its queue and its individual target.
TicketForwarded
WebVision\Adsum\Helpdesk\Ticket\Contract\Message\TicketForwarded. A ticket was forwarded to another queue; its assignees stay. Names the ticket, the previous and the new target and the employee who forwarded it.
TicketRaised
WebVision\Adsum\Helpdesk\Ticket\Contract\Message\TicketRaised. A ticket was raised. Names the ticket and the employee who raised it, for themselves or for its owner.
TicketStatusChanged
WebVision\Adsum\Helpdesk\Ticket\Contract\Message\TicketStatusChanged. A ticket moved from one status to another, a resolution and a reopening included. Names the ticket, both statuses and the employee who moved it.

adsum-ldap 

LdapEntryUnmatched
WebVision\Adsum\Ldap\Directory\Contract\Message\LdapEntryUnmatched. A directory entry matches no employee by work e-mail address or personnel number.
LdapSyncCompleted
WebVision\Adsum\Ldap\Directory\Contract\Message\LdapSyncCompleted. A directory sync ended with completed, failed or massBlockPrevented.

adsum-leave 

Quantities are in the base of the unit: half days, or seconds for types in hours.

AllocationGranted
WebVision\Adsum\Leave\Allocation\Contract\Message\AllocationGranted. Extra days were granted for an approved request.
ClosureDaysBooked
WebVision\Adsum\Leave\Closure\Contract\Message\ClosureDaysBooked. Days of a published closure were booked for an employee: how many, who pays them, and until when (Y-m-d) the employee may ask to work instead.
ClosureDaysChanged
WebVision\Adsum\Leave\Closure\Contract\Message\ClosureDaysChanged. An employee's closure days changed, with the closure's status and the days now booked.
CompensatoryTypeMissing
WebVision\Adsum\Leave\Compensation\Contract\Message\CompensatoryTypeMissing. Compensatory days were earned, but the company names no compensatory type; they wait.
LeaveApproved
WebVision\Adsum\Leave\Request\Contract\Message\LeaveApproved. Leave was approved and booked, with the type's category, what it consumes and whether it credits working time.
LeaveBalanceChanged
WebVision\Adsum\Leave\Ledger\Contract\Message\LeaveBalanceChanged. A booking changed the balance of an employee and type; balance is the balance on the booking day.
LeaveBooked
WebVision\Adsum\Leave\Ledger\Contract\Message\LeaveBooked. A ledger entry outside of leave usage: entry type, signed amount and origin.
LeaveCancelled
WebVision\Adsum\Leave\Request\Contract\Message\LeaveCancelled. Approved leave was cancelled for the dates given, with the same type details as LeaveApproved.
LeaveEncashed
WebVision\Adsum\Leave\Ledger\Contract\Message\LeaveEncashed. Leave was paid out: quantity and date, no money.
LeaveExpiryReminded
WebVision\Adsum\Leave\Run\Contract\Message\LeaveExpiryReminded. Days of an entry expire on a date unless taken.
LeaveRecalculated
WebVision\Adsum\Leave\Request\Contract\Message\LeaveRecalculated. Future days of a request count differently after a change of the calendar or the working time.
LeaveRejected
WebVision\Adsum\Leave\Request\Contract\Message\LeaveRejected. A leave request was rejected by an approver or by the system.
LeaveRemainderAtExitCalculated
WebVision\Adsum\Leave\Ledger\Contract\Message\LeaveRemainderAtExitCalculated. What is left of a leave type at the exit date, negative where more was taken than earned. Published again when the exit date changes.
LeaveRequested
WebVision\Adsum\Leave\Request\Contract\Message\LeaveRequested. An employee asked for leave, with dates and parts.
LeaveSettingsChanged
WebVision\Adsum\Leave\Settings\Contract\Message\LeaveSettingsChanged. HR saved the leave settings, with the compensatory type, if any. Queue async_low.
LeaveWithdrawn
WebVision\Adsum\Leave\Request\Contract\Message\LeaveWithdrawn. A pending leave request was withdrawn.
PlanningDeadlineNear
WebVision\Adsum\Leave\Planning\Contract\Message\PlanningDeadlineNear. An employee planned less than a planning deadline (Y-m-d) asks for, and the deadline is near.
SicknessCertificateOverdue
WebVision\Adsum\Leave\Sickness\Contract\Message\SicknessCertificateOverdue. A report reached the day that needs a medical certificate without one. Once per report.
SicknessChanged
WebVision\Adsum\Leave\Sickness\Contract\Message\SicknessChanged. The range of a report changed; consumers recalculate both ranges.
SicknessConfirmed
WebVision\Adsum\Leave\Sickness\Contract\Message\SicknessConfirmed. HR confirmed a report, with the ranges its certificates cover.
SicknessReported
WebVision\Adsum\Leave\Sickness\Contract\Message\SicknessReported. Sickness was reported, without an end while open-ended. No diagnosis or certificate.
SicknessWithdrawn
WebVision\Adsum\Leave\Sickness\Contract\Message\SicknessWithdrawn. A report made by mistake was withdrawn.

adsum-offboarding 

ExitProcessManagersAssigned
WebVision\Adsum\Offboarding\Process\Contract\Message\ExitProcessManagersAssigned. Employees were newly named managers of an exit process.
ExitStageManagersAssigned
WebVision\Adsum\Offboarding\Process\Contract\Message\ExitStageManagersAssigned. Employees were newly named managers of a stage of an exit process.
OffboardingCaseCancelled
WebVision\Adsum\Offboarding\Case\Contract\Message\OffboardingCaseCancelled. An open offboarding case was cancelled (reason); the scheduled exit stays.
OffboardingCaseCompleted
WebVision\Adsum\Offboarding\Case\Contract\Message\OffboardingCaseCompleted. An offboarding case reached the completion stage; the account stays until the exit takes effect.
OffboardingCaseStageChanged
WebVision\Adsum\Offboarding\Case\Contract\Message\OffboardingCaseStageChanged. An offboarding case moved to another stage of its process, also back or out of the completion stage.
OffboardingCaseStarted
WebVision\Adsum\Offboarding\Case\Contract\Message\OffboardingCaseStarted. An offboarding case was opened, by a resignation, a scheduled exit or by hand (originKind).
OffboardingMessageSent
WebVision\Adsum\Offboarding\Case\Contract\Message\OffboardingMessageSent. A message was sent to the leaver of an offboarding case.
OffboardingTaskAssigned
WebVision\Adsum\Offboarding\Case\Contract\Message\OffboardingTaskAssigned. Employees became owners of a task of an offboarding case.
OffboardingTaskStatusChanged
WebVision\Adsum\Offboarding\Case\Contract\Message\OffboardingTaskStatusChanged. The status of a task of an offboarding case was changed by hand.
ResignationAcceptanceFailed
WebVision\Adsum\Offboarding\Resignation\Contract\Message\ResignationAcceptanceFailed. An approved resignation could not be accepted; it stays pending with the reason errorCode.
ResignationAccepted
WebVision\Adsum\Offboarding\Resignation\Contract\Message\ResignationAccepted. A resignation was accepted: the exit is scheduled and the offboarding case open.
ResignationRejected
WebVision\Adsum\Offboarding\Resignation\Contract\Message\ResignationRejected. A resignation was rejected; it stays final.
ResignationSubmitted
WebVision\Adsum\Offboarding\Resignation\Contract\Message\ResignationSubmitted. An employee handed in a resignation, or HR recorded one.
ResignationWithdrawn
WebVision\Adsum\Offboarding\Resignation\Contract\Message\ResignationWithdrawn. A pending resignation was withdrawn, or an accepted one with its cancelled exit.

adsum-onboarding 

NewcomerConvertedToEmployee
WebVision\Adsum\Onboarding\Process\Contract\Message\NewcomerConvertedToEmployee. A newcomer became an employee: the record was created from the process and linked to it. Names the source, such as the candidate, so recruitment can mark the candidate as joined.
OnboardingCancelled
WebVision\Adsum\Onboarding\Process\Contract\Message\OnboardingCancelled. A process was cancelled; its portal link stopped working. The reason code is hireRevoked or employeeExited when the system cancelled it, hr otherwise.
OnboardingCompleted
WebVision\Adsum\Onboarding\Process\Contract\Message\OnboardingCompleted. A process entered the final stage of its plan, on the company-local date completedOn.
OnboardingMailFailed
WebVision\Adsum\Onboarding\Portal\Contract\Message\OnboardingMailFailed. A mail to a newcomer failed for good after its last attempt, with the reason code and the sender.
OnboardingNotStarted
WebVision\Adsum\Onboarding\Process\Contract\Message\OnboardingNotStarted. A newcomer was to be onboarded by themselves on their hire, but no plan fits (reason noPlan).
OnboardingPortalSent
WebVision\Adsum\Onboarding\Portal\Contract\Message\OnboardingPortalSent. The portal link of a process was sent anew, with the mail that carries it; the previous link stopped working.
OnboardingPortalSubmitted
WebVision\Adsum\Onboarding\Portal\Contract\Message\OnboardingPortalSubmitted. The newcomer submitted the portal. IDs only; HR reviews the data before anything reaches an employee record.
OnboardingReopened
WebVision\Adsum\Onboarding\Process\Contract\Message\OnboardingReopened. A completed process left the final stage and runs again.
OnboardingStageChanged
WebVision\Adsum\Onboarding\Process\Contract\Message\OnboardingStageChanged. A process moved to another stage of its plan, with both stages. A move within a stage publishes nothing.
OnboardingStageManagersAssigned
WebVision\Adsum\Onboarding\Plan\Contract\Message\OnboardingStageManagersAssigned. Employees were newly named managers of an onboarding stage. Their IDs only; saving the same managers again publishes nothing.
OnboardingStarted
WebVision\Adsum\Onboarding\Process\Contract\Message\OnboardingStarted. An onboarding started in the first stage of its plan, by HR or by itself on a hire. IDs, the source and, for an employee, the employee.
OnboardingTaskManagerMissing
WebVision\Adsum\Onboarding\Plan\Contract\Message\OnboardingTaskManagerMissing. The last manager of an onboarding task left the company. Once per task; HR acts for the task until a manager is named.
OnboardingTaskManagersAssigned
WebVision\Adsum\Onboarding\Plan\Contract\Message\OnboardingTaskManagersAssigned. Employees were newly named managers of an onboarding task. Their IDs only.
OnboardingTaskStatusChanged
WebVision\Adsum\Onboarding\Process\Contract\Message\OnboardingTaskStatusChanged. The status of a task instance changed, with the old and the new status and the employee who changed it.

adsum-payroll 

ClaimCommented
WebVision\Adsum\Payroll\Claim\Contract\Message\ClaimCommented. Somebody commented on a claim, with the claim, the employee who claims and the author.
ClaimPayable
WebVision\Adsum\Payroll\Claim\Contract\Message\ClaimPayable. A claim was approved and is paid with the next open payslip, with its type and the amount that is paid.
ContractActivated
WebVision\Adsum\Payroll\Contract\Contract\Message\ContractActivated. A contract became active. IDs only.
ContractEnding
WebVision\Adsum\Payroll\Contract\Contract\Message\ContractEnding. A contract ends in 30 days; published once per contract and end date, with the end date.
ContractTerminated
WebVision\Adsum\Payroll\Contract\Contract\Message\ContractTerminated. A contract was terminated or ended with the exit of the employee, with its end date.
FinalSettlementConfirmed
WebVision\Adsum\Payroll\Settlement\Contract\Message\FinalSettlementConfirmed. The final settlement of a leaver was confirmed, with the payslip, the employee and the last day of employment.
LoanCreated
WebVision\Adsum\Payroll\Loan\Contract\Message\LoanCreated. A loan, salary advance or fine exists for an employee, made by HR, by an approved request or handed over by another package, with its type and amount.
LoanSettled
WebVision\Adsum\Payroll\Loan\Contract\Message\LoanSettled. A loan was settled early, with the amount paid.
PayRunCreated
WebVision\Adsum\Payroll\PayRun\Contract\Message\PayRunCreated. A pay run was created with its draft payslips, by HR or by a schedule, with its period.
PayslipConfirmed
WebVision\Adsum\Payroll\PayRun\Contract\Message\PayslipConfirmed. A payslip was confirmed, so it is frozen and the employee may read it, with its period.
PayslipPaid
WebVision\Adsum\Payroll\PayRun\Contract\Message\PayslipPaid. A payslip was paid, with its period and the day of payment; paid is final.
PayslipPublished
WebVision\Adsum\Payroll\PayRun\Contract\Message\PayslipPublished. A payslip was published to its employee when it was confirmed, with its period; a resent mail publishes nothing.
PayslipReopened
WebVision\Adsum\Payroll\PayRun\Contract\Message\PayslipReopened. A confirmed payslip that was not paid became a draft again, with its period.
RetroDifferenceRecorded
WebVision\Adsum\Payroll\PayRun\Contract\Message\RetroDifferenceRecorded. Days of a confirmed payslip changed afterwards, with the payslip, its period and the changed days; the next payslip of the employee pays the difference.

adsum-performance 

AnonymousFeedbackSubmitted
WebVision\Adsum\Performance\Feedback\Contract\Message\AnonymousFeedbackSubmitted. Anonymous feedback was submitted about the company (general), an employee, a department or a job position. Names no author.
BonusPointsAwarded
WebVision\Adsum\Performance\Bonus\Contract\Message\BonusPointsAwarded. A bonus rule awarded points to an employee for completed work, booked into the core's bonus point ledger.
FeedbackRequested
WebVision\Adsum\Performance\Feedback\Contract\Message\FeedbackRequested. Reviewers are asked to answer an open feedback round: all of them when it opens, those added later when they are added.
FeedbackResponseSubmitted
WebVision\Adsum\Performance\Feedback\Contract\Message\FeedbackResponseSubmitted. A reviewer submitted their response to a round. Names neither the reviewer nor their group.
FeedbackResultsReleased
WebVision\Adsum\Performance\Feedback\Contract\Message\FeedbackResultsReleased. The results of a closed round were released to the employee it is about.
FeedbackRoundClosed
WebVision\Adsum\Performance\Feedback\Contract\Message\FeedbackRoundClosed. A round was closed before its last day; its last day passing closes it without this message.
FeedbackRoundOpened
WebVision\Adsum\Performance\Feedback\Contract\Message\FeedbackRoundOpened. A feedback round about an employee opened on its first day.
KeyResultAssigned
WebVision\Adsum\Performance\Objective\Contract\Message\KeyResultAssigned. A key result was added to an assignment; createdBy is the user who added it.
KeyResultChanged
WebVision\Adsum\Performance\Objective\Contract\Message\KeyResultChanged. The title, values, weight or dates of a key result changed; changedBy is the user who changed them.
KeyResultCheckedIn
WebVision\Adsum\Performance\Objective\Contract\Message\KeyResultCheckedIn. A value was checked in for a key result.
KeyResultStatusChanged
WebVision\Adsum\Performance\Objective\Contract\Message\KeyResultStatusChanged. The status of a key result changed from from to to at changedAt.
MeetingMinutesShared
WebVision\Adsum\Performance\Meeting\Contract\Message\MeetingMinutesShared. The organisers shared the minutes of a performance meeting with its participants.
MeetingScheduled
WebVision\Adsum\Performance\Meeting\Contract\Message\MeetingScheduled. A performance meeting was scheduled; scheduledBy is the user who scheduled it.
ObjectiveAssigned
WebVision\Adsum\Performance\Objective\Contract\Message\ObjectiveAssigned. An objective was assigned to an employee.
ObjectiveAssignmentStatusChanged
WebVision\Adsum\Performance\Objective\Contract\Message\ObjectiveAssignmentStatusChanged. The status of an assignment changed from from to to at changedAt; closing it is the change to closed.
ObjectiveCommented
WebVision\Adsum\Performance\Objective\Contract\Message\ObjectiveCommented. A comment was written on an assignment; authorId is the user who wrote it.

adsum-projects 

ProjectBudgetThresholdReached
WebVision\Adsum\Projects\Project\Contract\Message\ProjectBudgetThresholdReached. A project's booked time reached 80 or 100 percent of its budget for the first time.
ProjectStatusChanged
WebVision\Adsum\Projects\Project\Contract\Message\ProjectStatusChanged. A project changed its status; changedBy is the user.
TaskCompleted
WebVision\Adsum\Projects\Board\Contract\Message\TaskCompleted. A task entered a stage of the category done.
TaskReopened
WebVision\Adsum\Projects\Board\Contract\Message\TaskReopened. A task left the stages of the category done.
TimeEntryRecordedOnBehalf
WebVision\Adsum\Projects\Timesheet\Contract\Message\TimeEntryRecordedOnBehalf. Someone else created, changed or deleted an employee's entry; changeSeconds is signed.
TimerNotBooked
WebVision\Adsum\Projects\Timesheet\Contract\Message\TimerNotBooked. A punch could not book the timer; it runs on.
TimerStarted
WebVision\Adsum\Projects\Timesheet\Contract\Message\TimerStarted. An employee's timer started.
TimerStopped
WebVision\Adsum\Projects\Timesheet\Contract\Message\TimerStopped. An employee's timer stopped, with or without booking.
TimesheetEntryRecorded
WebVision\Adsum\Projects\Timesheet\Contract\Message\TimesheetEntryRecorded. Booked time changed on a project, task and date; changeSeconds is signed.
TimesheetPlausibilityWarningRaised
WebVision\Adsum\Projects\Timesheet\Contract\Message\TimesheetPlausibilityWarningRaised. More time is booked on a day than was worked, beyond the tolerance. Once per employee, day and excess.
TimesheetWeekLocked
WebVision\Adsum\Projects\Timesheet\Contract\Message\TimesheetWeekLocked. An employee's week was locked.
TimesheetWeekReopened
WebVision\Adsum\Projects\Timesheet\Contract\Message\TimesheetWeekReopened. A week is open again, reopened by the manager or HR or withdrawn by the employee (byEmployee).
TimesheetWeekSubmitted
WebVision\Adsum\Projects\Timesheet\Contract\Message\TimesheetWeekSubmitted. A week was submitted and waits for the manager (byManager).

adsum-recruitment 

ApplicationDocumentUploaded
WebVision\Adsum\Recruitment\Document\Contract\Message\ApplicationDocumentUploaded. A file was uploaded for a document of an application, by the candidate in the portal or by staff.
ApplicationReceived
WebVision\Adsum\Recruitment\Candidate\Contract\Message\ApplicationReceived. An application came in from the careers page, an employee, staff, a talent pool, the resume pool or the import, and waits in its first stage. Names the application, the candidate, the opening, the stage and the source.
ApplicationRejected
WebVision\Adsum\Recruitment\Candidate\Contract\Message\ApplicationRejected. An application was rejected with reasons of the company. IDs only; no mail goes to the candidate by itself.
ApplicationReopened
WebVision\Adsum\Recruitment\Candidate\Contract\Message\ApplicationReopened. A rejected or withdrawn application was set back to active in a stage. IDs only.
ApplicationStageChanged
WebVision\Adsum\Recruitment\Candidate\Contract\Message\ApplicationStageChanged. An application changed its stage or status: moved, hired, moved out of hired, rejected, reopened, withdrawn or converted. Names the stages and statuses before and after, and who changed it.
ApplicationWithdrawn
WebVision\Adsum\Recruitment\Candidate\Contract\Message\ApplicationWithdrawn. An application was withdrawn, by the candidate in the portal or recorded by staff. IDs only, with who withdrew it.
ApplicationsArrivedInStage
WebVision\Adsum\Recruitment\Candidate\Contract\Message\ApplicationsArrivedInStage. Applications were moved into a stage, one or many at once. Names the applications and the employee who moved them.
CandidateConvertedToEmployee
WebVision\Adsum\Recruitment\Hiring\Contract\Message\CandidateConvertedToEmployee. An external candidate hired through recruitment became an employee, by HR in recruitment or through onboarding.
CandidateErased
WebVision\Adsum\Recruitment\Candidate\Contract\Message\CandidateErased. A candidate was erased by HR or anonymised after the retention period (origin system): files and personal data are gone, stage transitions stay for the figures.
CandidateHireRevoked
WebVision\Adsum\Recruitment\Hiring\Contract\Message\CandidateHireRevoked. A hired application left the hired stage before its conversion.
CandidateHired
WebVision\Adsum\Recruitment\Hiring\Contract\Message\CandidateHired. An application became hired, with the joining date of the offer if known and, for an internal candidate, the employee; onboarding starts from it.
CandidateNoteAdded
WebVision\Adsum\Recruitment\Candidate\Contract\Message\CandidateNoteAdded. A candidate added a note to their application in the portal.
InternalCandidateHired
WebVision\Adsum\Recruitment\Hiring\Contract\Message\InternalCandidateHired. HR completed the internal hire of an employee, with the new position and the day it takes effect.
InterviewCancelled
WebVision\Adsum\Recruitment\Interview\Contract\Message\InterviewCancelled. An interview was cancelled; it stays in the history.
InterviewChanged
WebVision\Adsum\Recruitment\Interview\Contract\Message\InterviewChanged. An interview was rescheduled (rescheduled) or an interviewer left the company and was taken off it (interviewerLeft), with the interviewers added, removed and kept.
InterviewCompleted
WebVision\Adsum\Recruitment\Interview\Contract\Message\InterviewCompleted. An interview was marked completed.
InterviewScheduled
WebVision\Adsum\Recruitment\Interview\Contract\Message\InterviewScheduled. An interview of an application was scheduled with its interviewers.
JobBoardPostingFailed
WebVision\Adsum\Recruitment\JobBoard\Contract\Message\JobBoardPostingFailed. A posting, update or removal of an opening on a job board failed for the first time; it is retried.
JobOpeningChanged
WebVision\Adsum\Recruitment\Opening\Contract\Message\JobOpeningChanged. An opening was changed, archived or restored.
JobOpeningClosed
WebVision\Adsum\Recruitment\Opening\Contract\Message\JobOpeningClosed. A job opening was closed and takes no new applications: by its managers or HR, or by the daily job after its last day to apply (origin system). Sent once per closing.
JobOpeningDeleted
WebVision\Adsum\Recruitment\Opening\Contract\Message\JobOpeningDeleted. A job opening without applications was deleted. Names the opening and its title.
JobOpeningManagersAssigned
WebVision\Adsum\Recruitment\Opening\Contract\Message\JobOpeningManagersAssigned. Employees were named managers of a job opening. Names the newly named only.
JobOpeningPublished
WebVision\Adsum\Recruitment\Opening\Contract\Message\JobOpeningPublished. A job opening was published on the careers page; its start date tells when it becomes visible.
JobOpeningReopened
WebVision\Adsum\Recruitment\Opening\Contract\Message\JobOpeningReopened. A closed job opening was reopened.
OfferStatusChanged
WebVision\Adsum\Recruitment\Hiring\Contract\Message\OfferStatusChanged. The offer of an application changed its status.
PipelineChanged
WebVision\Adsum\Recruitment\Opening\Contract\Message\PipelineChanged. The stages of a job opening changed: added, renamed, retyped, moved, deleted or given other managers. IDs only.
PipelineStageManagersAssigned
WebVision\Adsum\Recruitment\Opening\Contract\Message\PipelineStageManagersAssigned. Employees were named managers of a stage of a job opening. Names the newly named only.
VacancyFilled
WebVision\Adsum\Recruitment\Hiring\Contract\Message\VacancyFilled. The hires of an opening reached its vacancy.

adsum-reporting 

ExportFailed
WebVision\Adsum\Reporting\Export\Contract\Message\ExportFailed. An export failed; failureCode says why. IDs only.
ExportReady
WebVision\Adsum\Reporting\Export\Contract\Message\ExportReady. An export can be downloaded for 24 hours. IDs only.
ExportRequested
WebVision\Adsum\Reporting\Export\Contract\Message\ExportRequested. An export was requested. IDs only.
PayrollMonthClosed
WebVision\Adsum\Reporting\Payroll\Contract\Message\PayrollMonthClosed. HR closed a payroll month and every month before it.
PivotTemplateShared
WebVision\Adsum\Reporting\Pivot\Contract\Message\PivotTemplateShared. A pivot template became visible to the company.
ReportAccessSettingsChanged
WebVision\Adsum\Reporting\Report\Contract\Message\ReportAccessSettingsChanged. A company replaced its report access settings.
ReportSubscriptionRecipientSkipped
WebVision\Adsum\Reporting\Subscription\Contract\Message\ReportSubscriptionRecipientSkipped. A recipient got nothing for a slot: left the company or may no longer run the report. IDs only.
ReportSubscriptionSuspended
WebVision\Adsum\Reporting\Subscription\Contract\Message\ReportSubscriptionSuspended. No recipient may still run the report; delivery stops until the owner activates it again. IDs only.

adsum-ticket-time 

TicketTimeEntryChanged
WebVision\Adsum\TicketTime\Entry\Contract\Message\TicketTimeEntryChanged. An employee made or changed a ticket time entry. Names the employee and the entry, never the description, the ticket or the time.
TicketTimeEntryDeleted
WebVision\Adsum\TicketTime\Entry\Contract\Message\TicketTimeEntryDeleted. An employee deleted a ticket time entry. Names the employee and the entry only.
TicketTimeEntryStopped
WebVision\Adsum\TicketTime\Entry\Contract\Message\TicketTimeEntryStopped. A ticket time entry was stopped: by the employee, by switching to another timer, by the end of work or by the exit of the employee. Names the employee and the entry only.
TicketTimeLimitReached
WebVision\Adsum\TicketTime\Entry\Contract\Message\TicketTimeLimitReached. A running ticket timer reached the limit per log of the company. Once per timer. Names the employee, the entry and the limit, never the description or the ticket.
TicketTimeWorkItemKept
WebVision\Adsum\TicketTime\Sync\Contract\Message\TicketTimeWorkItemKept. An employee deleted an entry whose work item had been changed in the tracker, so the work item stays there. Names the employee, the entry, the ticket and the minutes the tracker holds, never the description.
TicketTrackerTokenRefused
WebVision\Adsum\TicketTime\Token\Contract\Message\TicketTrackerTokenRefused. A tracker refused the saved token of an employee while ticket time was synced. Once per token, until the employee replaces it. Names the connection, never the token.
TicketTrackerTokenMissing
WebVision\Adsum\TicketTime\Token\Contract\Message\TicketTrackerTokenMissing. An employee still has ticket time entries that wait for a personal token. Once a day for each such employee, and not on a day without waiting entries. Names how many, never what they say.

adsum-training 

CertificationExpired
WebVision\Adsum\Training\Certification\Contract\Message\CertificationExpired. A verified certification has ended: sent once, on the first day after validUntil.
CertificationExpiring
WebVision\Adsum\Training\Certification\Contract\Message\CertificationExpiring. A verified certification ends soon: sent once per reminder threshold (thresholdDays) with the days left, also after days the job missed.
CertificationRecorded
WebVision\Adsum\Training\Certification\Contract\Message\CertificationRecorded. A certification was recorded: by the employee (unverified), by HR or by a completed training (verified).
EmployeeSkillChanged
WebVision\Adsum\Training\Skill\Contract\Message\EmployeeSkillChanged. A skill of an employee's profile was set, confirmed, raised by a training or removed (level null). Names the employee, the skill, the level and its source.
LearningAssignmentCompleted
WebVision\Adsum\Training\Learning\Contract\Message\LearningAssignmentCompleted. A learning assignment was completed by acknowledgement or by a course, with the programme version.
LearningAssignmentCreated
WebVision\Adsum\Training\Learning\Contract\Message\LearningAssignmentCreated. A person was assigned a learning programme, with the cycle and the local assignment and due dates.
LearningAssignmentDueSoon
WebVision\Adsum\Training\Learning\Contract\Message\LearningAssignmentDueSoon. An open learning assignment is due in daysLeft days; sent once per assignment.
LearningAssignmentOverdue
WebVision\Adsum\Training\Learning\Contract\Message\LearningAssignmentOverdue. An open learning assignment passed its due date; sent once per assignment, also after days the job missed.
LearningOverdueDigest
WebVision\Adsum\Training\Learning\Contract\Message\LearningOverdueDigest. The weekly digest of a manager: the overdue assignments of their reports, once per ISO week.
TrainingAllowancePayable
WebVision\Adsum\Training\Request\Contract\Message\TrainingAllowancePayable. An approved training allowance became payable with its completed training: employee, allowance, kind, amount in minor units, currency and payroll month. A payroll package takes it over through TrainingAllowanceQuery.
TrainingCompleted
WebVision\Adsum\Training\Course\Contract\Message\TrainingCompleted. A person completed a session or an external training; completedOn is the local date of its last day.
TrainingEnrolmentChanged
WebVision\Adsum\Training\Course\Contract\Message\TrainingEnrolmentChanged. A person was enrolled or waitlisted, promoted from the waiting list (promoted), withdrawn with a reason, or got an external training.
TrainingRequestFiled
WebVision\Adsum\Training\Request\Contract\Message\TrainingRequestFiled. A training request was filed and submitted to the approval engine, by the employee or by a manager for an employee in scope.
TrainingSessionCancelled
WebVision\Adsum\Training\Course\Contract\Message\TrainingSessionCancelled. A session was cancelled; the enrolments of employeeIds were withdrawn with the reason sessionCancelled.
TrainingSessionScheduled
WebVision\Adsum\Training\Course\Contract\Message\TrainingSessionScheduled. A session was scheduled or changed; rescheduled when its slots or place changed while people were enrolled, newTrainerIds the trainers it gained.
TrainingSessionUpcoming
WebVision\Adsum\Training\Course\Contract\Message\TrainingSessionUpcoming. A session starts on the next local day; its enrolled participants (employeeIds) are reminded once.

adsum-working-time 

AbsencesChanged
WebVision\Adsum\WorkingTime\Calendar\Contract\Message\AbsencesChanged. The absences in an employee's calendar changed for the range; consumers of the calendar recalculate.
CompensatoryDaysChanged
WebVision\Adsum\WorkingTime\Calendar\Contract\Message\CompensatoryDaysChanged. Compensatory days earned on an off day changed; days is the new value, 0 revokes them.
CompensatoryDaysEarned
WebVision\Adsum\WorkingTime\Calendar\Contract\Message\CompensatoryDaysEarned. Work on an off day earned compensatory days for the first time.
DayCreditsChanged
WebVision\Adsum\WorkingTime\Calendar\Contract\Message\DayCreditsChanged. The credits a package hands to an employee's calendar changed for the range (to is null for an open end); consumers of the calendar recalculate.
HolidayCalendarChanged
WebVision\Adsum\WorkingTime\Calendar\Contract\Message\HolidayCalendarChanged. Holidays or weekly off days of a company changed from from to to (inclusive, null: open-ended). Names no employees. Queue async_low.
HolidayFeedFailed
WebVision\Adsum\WorkingTime\Calendar\Contract\Message\HolidayFeedFailed. The official feed of a holiday calendar failed for the first time since its last good import.
RosterPublished
WebVision\Adsum\WorkingTime\Schedule\Contract\Message\RosterPublished. A planner published roster drafts, with the employees whose plan changed.
ScheduleChangeApproved
WebVision\Adsum\WorkingTime\Schedule\Contract\Message\ScheduleChangeApproved. A schedule change was approved for from to to (null: open end).
ShiftChanging
WebVision\Adsum\WorkingTime\Schedule\Contract\Message\ShiftChanging. An employee's planned model changes on the date; modelId is null without a planned shift.
SwapRequestChanged
WebVision\Adsum\WorkingTime\Schedule\Contract\Message\SwapRequestChanged. A shift swap needs consent (consentRequested) or was declined, expired, approved or rejected.
WorkTypePlanChanged
WebVision\Adsum\WorkingTime\WorkType\Contract\Message\WorkTypePlanChanged. The planned work type may have changed from from to to (inclusive, null: open-ended).
WorkingTimeAssignmentChanged
WebVision\Adsum\WorkingTime\Schedule\Contract\Message\WorkingTimeAssignmentChanged. An employee's planned working time changed from from to to (inclusive, null: open-ended); consumers recalculate the range.