Skip to content

System events

Besides the events you emit yourself, BizzStream automatically fires a small set of system events when something noteworthy happens in an environment. These events are reserved by the platform: their type is prefixed with BIZZSTREAM, which means you cannot emit them yourself from an Emit Event action rule, script, or REST call. You can, however, listen for them exactly like any other event, to react to something the platform did.

Two system events are fired around package installation.

BIZZSTREAM_PACKAGE_INSTALLATION

Fired when a package is installed into an environment for the first time.

Its info property carries:

Property Description
packageId The id of the installed package.
packageName The name of the installed package.
userId The id of the user who initiated the installation.
dateTime The date and time of the installation, in ISO 8601 format.
previousVersionNumber Empty (null), as there is no previously installed version.
targetVersion The readable version number of the package that was installed.
installedByImportWizard true when the install was triggered through the import wizard, false for a direct package install.

BIZZSTREAM_PACKAGE_UPDATE

Fired when a package that is already installed in an environment is updated to a different version.

Its info property carries:

Property Description
packageId The id of the updated package.
packageName The name of the updated package.
userId The id of the user who initiated the update.
dateTime The date and time the update was initiated, in ISO 8601 format.
previousVersionNumber The readable version number that was installed before the update, e.g. 1.2.0.
targetVersion The readable version number the package was updated to, e.g. 2.0.0.
installedByImportWizard true when the update was triggered through the import wizard, false for a direct package update.