Publish class events
- Last Updated: January 29, 2026
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
In your publisher class you write code to identify when a condition has
occurred. Then, you call the publish() method to
publish the event.
Here is the syntax to publish a class event:
Event-Name:publish (parameter, [parameter…])no-error.
|
Syntax Element |
Description |
|---|---|
|
no-error |
Specifies how you want to handle errors raised from publishing the event. Note that if there are multiple subscribers to an event and an error is raised, any unexecuted event handlers will not execute. |
Note: The parameter list should
match the parameters defined in the event definition.
- Publish class events in Develop Object-oriented ABL Applications
- Comparison with procedure-based programming PUBLISH and SUBSCRIBE in Develop Object-oriented ABL Applications