Show TOC

Background documentationEvents and Event Definitions Locate this document in the navigation structure

 

SAP CPS is an event-driven process automation tool. This means that it is possible to start jobs (or job chains) using events, rather than just having them happen at a particular time. This event-driven nature makes it possible to create efficient processes that do not rely on time at all. When certain conditions are met, a SAP CPS event is raised.

An event is raised, for example, when any of the following happens:

  • A job or job chain completes.

  • A job chain step or job completes.

  • A monitor exceeds a threshold, or drops below a threshold.

  • A job takes too long to complete.

  • A file raises the event.

  • You raise an event manually.

Jobs (and job chains) can wait for one or more events to occur, and may even be automatically submitted if an event occurs. Jobs (and job chains) can also raise events when they complete, allowing event-driven flows to be created.

Events (like jobs) have a definition separate from the event itself. An event definition can have zero or more actual events associate with it. The definition stores information like the name and the trigger for the individual events. Job definitions, monitors, and other objects are connected to the definitions of events that they depend upon, and the definitions of the events that they raise.

Each time an event occurs, a new event is created (or raised). Each event can then be individually monitored and managed, and remains visible as historical data even after all tasks related to the event have completed.