When an event must be executed according to a schedule (simple or cron), the BPMS Scheduler runs the Execute method of the IJob object.

The Execute method extracts the ServerURL parameter from the BPMSSchedulerWindowsService.exe.config file to get the base BPMS address (default: https://localhost/dbp/).

Then, the Execute() method sends an HTTP request to the <baseURL>/api/Scheduler/RaiseEvent WebAPI and passes parameters such as eventID, objectID (empty), and user (the user who deployed an application in the Designer).

The BPMS WebApp exposes api/Scheduler/RaiseEvent API to receive a command to run the event.

The BPMS core executes the defined event action and sends an email.

The Scheduler notifies all executions in the log file BpmsSchedulerWindowsServiceLog.txt