Contents
What are the available trigger event types?
Trigger events. Unlike business and integration events which must be programmed, trigger events are predefined events. Trigger events are published by the runtime and they cannot be raised programmatically. There are two types of trigger events: database trigger events and page trigger events.
How do I submit a webhook event?
With webhooks, it’s generally a three-step process:
- Get the webhook URL from the application you want to send data to.
- Use that URL in the webhook section of the application you want to receive data from.
- Choose the type of events you want the application to notify you about.
How do I submit an event to PagerDuty?
Getting Started
- Create an integration on any PagerDuty service.
- Select Events API v2 as the Integration Type.
- Include the integration key for your new integration, as a routing_key in the event payload.
- Send a change event or alert event payload to the appropriate endpoint.
What makes a trigger event an event publisher?
Trigger events are predefined event publisher methods that are called automatically at runtime. So trigger events are readily available to subscribers by default. You create an event publisher method the same way you create any method in AL. But there are specific attributes that you set to make it an event publisher.
Where do I put the event publisher method?
Decide where you want to include the event publisher method. You can include an event publisher method in the AL code of any object type, such as codeunit, page, or table. You can create a new object or use an existing object. If you include the event publisher method in a page object, the page must have a source table.
How is an event published in Business Central?
An event is published by adding an AL method that is set up as an event publisher. Business and integration events require that you manually create an event publisher method for each event that you want to publish. An event publisher method declares the event in the application and makes it available for subscription.
What are the different types of trigger events?
Trigger events are predefined system events that are raised automatically on tables and pages. For an explanation about the different types, see Event Types. Decide which codeunit to use for the event subscriber method. You can create a new codeunit or use an existing one.