Define Business Events > Defining publishing events > Create a publishing event
  

Create a publishing event

Create a business event and define the details of the event to trigger event publishing. For example, you might want to trigger event publishing when business entity records are created and updated.
    1Click Business Events.
    2On the Business Events page, click Add Event > Publishing Event.
    3On the New Event page, specify the following event details:
    Event Detail
    Description
    Display Name
    Name of the publishing event.
    Internal ID
    Unique business event identifier, that's generated based on the display name that you enter. You can't change the internal ID after you create the business event.
    Expires In
    Duration for which the event is retained in the MDM SaaS data store.
    Version
    Version of the event payload metadata. To create a publishing event for the create, update, delete, merge, unmerge, purge, and restore actions, select v2. The v1 version is deprecated. Default is v2.
    4In the Event Scenarios section, click Add Event Scenario, and then configure an event scenario.
    1. aClick the asset picker icon, and then select the asset for which you want to trigger event publishing.
    2. The asset type is populated based on the asset you select.
    3. bFrom the Actions list, select the actions to trigger event publishing.
    4. The following table describes actions that trigger events publishing:
      Action
      Description
      Created
      Publishes events when records are created.
      Updated
      Publishes events when records are updated.
      Deleted
      Publishes events when records are soft-deleted.
      Merged
      Publishes events when records are merged.
      Unmerged
      Publishes events when records are unmerged.
      Purged
      Reserved for future use.
      Restored
      Publishes events when deleted records are restored to the active state.
    5Optionally, add additional event scenarios.
    6Click Next.
    7On the Payload page, select the parameters that you want to appear in the JSON payload.
    8Optionally, you can edit the JSON property name of the parameters that you selected. Click the property name, enter a value, and then press Enter.
    For more information about payload parameters, see Business event payloads.
    9Optionally, to review the structure of the event payload metadata, copy the JSON schema or download it.