Events Triggered with Component Interfaces
Application Engine programs do not trigger business events directly. With PeopleSoft Workflow, you trigger business events by entering (and saving) data on a PeopleSoft page that has Workflow PeopleCode associated with it.
Application Engine programs trigger business events indirectly, by passing the results of their queries to the component interface. If the component has associated Workflow PeopleCode, a business process is triggered when the component interface saves the page.
If an Application Engine program returns multiple rows of data, for example, if it finds several overdue item, the agent passes the rows to the component interface one row at a time.