Format of the System Event Configurations
You can configure system events in a file and then import the configuration file to iProcess Engine. The format of the configuration file is as follows:
eventID:audit_event:publish_event:description
where:
| • | eventID specifies the ID of a system event. |
| • | audit_event specifies whether you want to audit a system event. If the value is set to y or Y, the system event will be audited. If the value is set to n or N, the system event will not be audited. |
The system_event table saves the information about the audited system events. You can use the plist -e command to review the information about the audited system events.
For example, to list all the system events, enter the SWDIR/util/plist -e ALL ALL command and the output is as follows.
Event User yyyy/mm/dd hh:mm:ss Details
--------------------------------------------------------------- 48 pro 2014/06/13 12:48:46 Shutdown process (Machine ID = 1, Process Name = BG, Process Instance = 4)
48 pro 2014/06/13 12:48:46 Shutdown process (Machine ID = 1, Process Name = BG, Process Instance = 3)
40 pro 2014/06/13 14:51:56 Shutdown Sentinel (Machine ID = 1, Machine Name = DESPINA)
See TIBCO iProcess Engine Database Administrator’s Guide for more information about the system_event table. See TIBCO iProcess Engine Administrator’s Guide for more information about the plist -e command.
| • | publish_event specifies whether you want to publish a system event. If the value is set to y or Y, the system event will be published. If the value is set to n or N, the system event will not be published. |
You can publish a system event in three ways by using the PUBLISH_SYS_EVENT_METHOD process attribute:
| — | Windows Event Viewer |
Set the PUBLISH_SYS_EVENT_METHOD process attribute to 1.
| — | TIBCO Hawk |
Set the PUBLISH_SYS_EVENT_METHOD process attribute to 2.
| — | The IAPJMS process |
Set the PUBLISH_SYS_EVENT_METHOD process attribute to 3.
See TIBCO iProcess Engine Administrator’s Guide for more information about the PUBLISH_SYS_EVENT_METHOD process attribute.
Note: If the value of audit_event is set to n or N, the event will not be published regardless of the value of publish_event.
| • | description specifies the description of a system event. |