Study FAQ
When should a Dataverse custom API be exposed as a business event?
Also asked as 2
- How do I decide what successful operation a cataloged Dataverse custom API represents?
- How should I choose between cataloging a Dataverse action and creating a notification-only event?
Answer
Catalog a Dataverse custom API as a business event when its successful completion conveys a specific fact that a subscriber can use. Add it to the appropriate solution catalog and category. If subscribers only need asynchronous follow-up, configure Async Only so they can react after completion without changing or vetoing the operation. Dataverse business events · Custom API processing-step options
Define the fact carefully. A replay-safe release action can succeed by returning an existing outcome, so a subscriber cannot equate every successful release call with a new release. If subscribers need precisely “a new release was recorded,” expose a dedicated notification Action, such as one named with the On prefix, and have a controlled producer emit it for the recorded transition. A notification-only custom API can have no main plug-in. Business event design principles · Custom API notification pattern
Include stable identifiers and only the data needed to interpret the occurrence. Verify which notification is eligible after a real transition, an idempotent replay and a refused action. Catalog membership enables discovery. Transport outcomes and any downstream business effects require their own evidence. Dataverse event catalog
Full explanation
AB-400: Custom APIs, Business Events and Plug-in Identity
Study guide · AB-400
Read the full explanation