Fuego.Lib : AuditEvent

AuditEvent

The AuditEvent component is used to generate custom events on a process instance. By default, the process engine generates events such as creation date and time, instance entered and left, instance reassigned, and so on. However, if you want to add custom events that pertain to a specific process instance, you can do so with this component.

Note: You must enable event generation for activities in which the AuditEvent component is used. If event generation is not enabled for an activity, the AuditEvent component will not generate events for that activity. For details, see the Auditing section of Oracle BPM Studio for more details.

Example

The code in this example generates an audit event, including descriptive text for the event:

generate AuditEvent
    using detail = "SLA violated"