Business Event History

Form ID: (SM502030)

You use this form to review the history of both the occurrence of business events and the processing of each event. On this form, you can also make the system resume the processing of failed events and clear the history of processing.

Form Toolbar

The form toolbar includes standard buttons and form-specific buttons and commands. For the list of standard buttons, see Form Toolbar and More Menu. The form-specific commands can be shown as buttons on the form toolbar, as commands on the More menu, or in both places. These commands are listed in the following table in alphabetical order.

Command Description
Delete All Deletes all records from the Business Events and Subscribers tables.
History Settings Opens the History Settings dialog box, where you can specify whether the system should clear the history automatically and how often, by selecting the Delete History Automatically After check box.
Resume Processing Resumes the processing of the business event or events that have the Selected check box selected in the Business Events table. Only the business events that have the Failed status can be selected for the resumed processing.
Show Event Data

Opens the Show Event Data dialog box, where you can view the data (in JSON format) that causes the occurrence of the business event that you have selected (by clicking its row) in the Business Events table. (You can also open this dialog box by double-clicking the row of the business event in the table.) The data can include the values of the fields of the generic inquiry before the business event and the values of the fields of the generic inquiry after the business event has occurred.

This button is available if the status of the selected business event is Completed with Error or Failed.

Selection Area

In this area, you can select the criteria of the records to be displayed in the Business Events table.
Element Description
Event ID The identifier of the business event for which you want to see the history of occurrences in the Business Events table.
From Date The date from which you want to see the history of occurrences in the Business Events table.
To Date The date to which you want to see the history of occurrences in the Business Events table.

Business Events Table

In this table, you can review the history of the occurrence of business events. The table includes the predefined filtering tabs that filter the occurrences of business events by the statuses of the business event processing.

Table 1. Table Columns
Column Description
Selected A check box that indicates (if selected) that the processing of this business event will resume if you click the Resume Processing button on the form toolbar.
Status The status of the business event processing, which can be one of the following:
  • Completed: All subscribers of the business event have been processed successfully.
  • Completed with Error: An error has occurred or multiple errors have occurred only for optional subscribers—that is, the subscribers for which the Stop on Error check box on the Subscribers tab of the Business Events (SM302050) form is cleared.
  • Failed: An error has occurred for a mandatory subscriber—that is, a subscriber for which the Stop on Error check box on the Subscribers tab of the Business Events form is selected.
Event ID The identifier of the business event. You can click the event ID in a row to open the business event on the Business Events form.
Type The type of the business event.
Active A check box that indicates (if selected) that the business event is active and can be processed by the system.
Screen ID The identifier of the generic inquiry form that defines the data the system monitors to detect whether the business event has occurred.
Triggered Date The date and time when the business event has occurred.
Processed Date The date and time when the business event has been processed.
Execution Result

A message that shows how many subscribers of the business event has not been processed.

The message is displayed in this column if the Status is Completed with Error or Failed.

Subscribers Table

You use this table to review the statuses of the processing of the subscribers of the business event selected in the Business Events table. That is, you click a row in the Business Events table, and the Subscribers table shows the subscribers to the event and the status of processing for each subscriber.

Table 2. Table Toolbar

The table toolbar includes standard buttons and buttons that are specific to this table. For the list of standard buttons, see Table Toolbar. The table-specific buttons are listed below.

Button Description
Execute Executes the subscriber or subscribers that have the Selected check box selected in the Subscribers table. Only the subscribers that have the Completed with Error or Failed status can be selected for the repeated execution.
Table 3. Table Columns
Column Description
Selected A check box that indicates (if selected) that this subscriber is selected and will be executed if you click Execute on the table toolbar.
Status The status of the processing of the subscriber of the business event, which can be one of the following:
  • Completed: The subscriber has been processed successfully.
  • Completed with Error: The subscriber is optional—that is, for this subscriber, the Stop on Error check box on the Subscribers tab of the Business Events (SM302050) form is cleared—and an error has occurred during the processing of the subscriber.
  • Failed: The subscriber is mandatory—that is, for this subscriber, the Stop on Error check box on the Subscribers tab of the Business Events form is selected—and an error has occurred during the processing of the subscriber.
Subscriber ID The identifier of the subscriber, which is the notification ID for a subscriber of the Email Notification type, the description for a subscriber of the Mobile Notification type, and the name of the import scenario for a subscriber of the Import Scenario type.

You can click the subscriber ID in a row to open the form where the subscriber has been configured. For a subscriber of the Email Notification type, the Email Templates (SM204003) form opens; for a subscriber of the Mobile Notification type, the Mobile Notifications (SM204004) form opens; and for a subscriber of the Import Scenario type, the Import Scenarios (SM206025) form opens.

Type

The type of the subscriber, which has been specified in the Type column on the Subscribers tab of the Business Events form for the subscriber.

  • Import Scenario: An import scenario that uses a data provider of the Business Process Provider type and that defines the sequence of instructions for the system to perform if the business event has occurred
  • Email Notification: A notification template that the system uses to send emails if the business event has occurred
  • Mobile Notification: A mobile notification template that the system uses to send push notifications to mobile devices if the business event has occurred
Error Text

Any error message that has occurred during the processing of the subscriber.

The error message is displayed if the Status is Completed with Error or Failed.