Enabling real-time messaging from workflow engine
Events refer to data captured by Corrigo Enterprise in the course of core workflow. Event data may be generated by an end user (a Technician that invokes "Check In" procedure, for example), or by system actor. Event Notifications describes the sub-system used by advanced integrated systems to tap into this event stream - in real time - using a simple JSON-based API. Two components make up Event Notifications: the Event Plugin and the Event Service.
Event Plugins are installed at Corrigo, by Corrigo Integration Services, and they are registered for specific Companies. This registration process includes URL information about the presence of the Event Service to which this plugin is connected.
Event Service describes a simple REST/JSON service hosted outside of Corrigo, on a web server that is (usually, not always) on same local network as the external interfaces required to complete the integration. The Event Service receives a single message type, the EventNotification Class, which carries relevant data about the event. The "last mile" of the integration occurs after these Events are forwarded to the target system API.
EventCategory | Event Category Description | Triggered by Action Type |
---|---|---|
Status | WO status is changed | WOActionType.Create, WOActionType.PickUp, WOActionType.Start (Check-In) WOActionType.OnHold, WOActionType.Complete, WOActionType.Cancel, WOActionType.Reopen, WOActionType.Stop (Check-Out) |
Updates | Flag is Set Flag is Cleared WO is assigned/reassigned WO is Verified Scheduled Start updated | WOActionType.Attention WOActionType.FlagCleared WOActionType.Assign WOActionType.Verified WOActionType.SchedStartChanged |
Financial Status | Change to Vendor Invoice Status Change to Internal Cost Status | WOActionType.APInvStatus WOActionType.CostStatus |
Quote Status | Quote workflow | WOActionType.QuoteRequested WOActionType.QuoteSubmitted WOActionType.QuoteApproved WOActionType.QuoteRejected |
Note Update | WO Note is added/updated | WOActionType.Note |
Estimate Approval | WO estimate changed | WOActionType.EstimateApproved WOActionType.EstimateRejected |
Owner Update | WO user replaced | WOActionType.OwnerChanged |
Document Attach | Attach document to WorkOrder | WOActionType.WonDocAttach |