---
sourceDocument: Australia API Reference
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/api-reference

 Release :

    - australia

ft:locale :

    - en-US

ft:publication_title :

    - Australia API Reference

ft:clusterId :

    - crapiref

bundleId :

    - crapiref

workflow :

    - Creator


---

# OpenMessageBusEventPublisherOOB - Scoped

# OpenMessageBusEventPublisherOOB - Scoped {#ariaid-title1}

Release version: Australia  
Updated March 12, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read  
The OpenMessageBusEventPublisherOOB script include provides a method for sending messages to the spoke selector, which sends the messages to the configured REST proxy.

This script includes runs in the `sn_api_notif_mgmt` namespace. The admin role is required to access this script include.

For additional information on how to configure your instance to use this script include, see [Configure the Producer Event Notification Framework to use the Open Message Bus](https://servicenow-prod.fluidtopics.net/7wYEPbWFH0vs1zqMfSg5Qg "If you have deployed or plan to deploy the Open Message Bus in your instance, you must configure the Producer Event Notification Framework for this message-bus. You can deploy this message-bus for both cloud and on-premise instances.").

## OpenMessageBusEventPublisherOOB - publishMessageToComptibleRestProxy(Object tmfEventPayload, Array compatibleTopicArr) {#ariaid-title2}

Sends the passed message to a custom message platform's REST proxy using the spoke selector.
For additional information on this process, see [Outbound trouble ticket notifications via open message bus](https://www.servicenow.com/docs/access?context=trouble-ticket-workflow-using-pub-sub-model&version=australia&pubname=australia-proactive-service-exp-workflows&ft:locale=en-US). For information on how to implement this method, see [Configure the Producer Event Notification Framework to use the Open Message Bus](https://servicenow-prod.fluidtopics.net/7wYEPbWFH0vs1zqMfSg5Qg "If you have deployed or plan to deploy the Open Message Bus in your instance, you must configure the Producer Event Notification Framework for this message-bus. You can deploy this message-bus for both cloud and on-premise instances.").
{#OMBEP-pubMsgCompRestProxy_O_A__table_vhg_zzf_zzb__entry__3}

| Name | Type | Description |
|-|-|-|
| tmfEventPayload | Object | Event message to send. For additional information on the format, see [TMF688 Event Management API User Guide v4.0.0](https://www.tmforum.org/resources/standard/tmf688-event-management-api-user-guide-v4-0-0/). Format: TMF688 |
| compatibleTopicArr | Array | List of topic record sys_ids for which the passed event payload should be published. Table: Topic \[sn_api_notif_mgmt_topic\] |
[Table 1. Parameters]

{#OMBEP-pubMsgCompRestProxy_O_A__table_vhg_zzf_zzb} {#OMBEP-pubMsgCompRestProxy_O_A__table_whg_zzf_zzb__entry__2}

| Type | Description |
|-|-|
| None |   |
[Table 2. Returns]

{#OMBEP-pubMsgCompRestProxy_O_A__table_whg_zzf_zzb}  
The following code example shows how to call this method.

     publishEventToOpenMessageBus: function(tmfEventPayload) {
      // Fetch compatible topics
      var compatibleTopicArr = new TopicPickerUtils00B().fetchEventCompatibleTopic(tmfEventPayload);
      // Publish event in topic through REST proxy 
      new OpenMessageBusEventPublisherOOB().publishMessageToComptibleRestProxy(tmfEventPayload, compatibleTopicArr);
    },


