The Outbound Notifications Framework serves as a standardized mechanism for managing outbound notifications across TMF Open APIs. From Summer’25, notification framework is available for these TMF APIs.
TMF 621 v4 Trouble Ticket Management
TMF 622 v4 Product Ordering Management
TMF 629 v4 Customer Management
TMF 632 v4 Party Management
TMF 637 v4 Product Inventory Management
TMF 651 v4 Agreement Management
This framework provides a structured approach to capturing, processing, and triggering API calls based on changes to entities within the system.
Overview
The framework is responsible for detecting and handling events triggered by create or update operations on an entity. Upon successful CDC event generation, the subscriber processes the event data and calls the appropriate outbound TMF Open API endpoint, as configured within the consumption framework.
This framework standardizes outbound notification handling across all TMF Open API implementations, ensuring a scalable, configurable, and efficient mechanism for processing entity-level changes. It also ensures compatibility with entities from both the Salesforce Core platform and CME managed packages.
Key Features
Event-Driven Architecture
Captures changes occurring at the entity level, triggered by create or update actions.
Supports real-time processing of modifications across different entities.
Dynamic API Invocation
Allows seamless integration with TMF Open APIs for further data processing.
Supports configurable API endpoints based on entity changes.
Support for Core and CME Managed Packages
Ensures compatibility with entities available on Salesforce Core platform as well as those in managed package.
Provides flexibility for various deployment models.
Limitations
The delete operation is not supported on the TMF primary resource, but delete actions on its sub-resources are supported and can be configured as needed.
Event subscription is not available through the UI. It must be configured through the Tooling API.
To ensure notifications are triggered correctly, the Salesforce Notification Framework must be configured with the required settings. See Outbound Notification Framework Configuration.
Notifications are generated in the these scenarios.
Changes to the Primary TMF Resource
Create and update operations on the primary TMF resource generate outbound notifications.
Changes in Associations with Sub-Resources
Notifications are triggered when supported sub-resources are associated or disassociated with the primary resource.
This applies only to relationship changes, not to internal attribute updates within the sub-resource.
Example (TMF622): Linking or unlinking a RelatedParty for example Account, to a ProductOrder triggers a notification. Attribute-level changes to the Account itself do not trigger a TMF622 notification; such updates are instead handled through TMF629.
Changes in Supported Sub-Resources
Create, update, or delete operations on supported sub-resources for example ProductOrderItem records linked to a ProductOrder, can trigger notifications.
Some sub-resources are mapped directly from attributes of the parent entity; in such cases, configuration must be applied at the parent entity level.
The Salesforce Notification Framework must be configured to send notifications for create, update, and delete events on sub-resources exclusively to the POST: /api/notification/AttributeValueChangeEvent endpoint.
Note
Architecture
The diagram illustrates the Outbound Notifications Framework and how it processes entity changes to trigger external API calls. Here’s a breakdown of the flow:
Process
A business process updates the database, leading to modifications in specific entities.
Change Data Capture (CDC) and Events
Monitors the database for changes to configured entities.
When an entity is created or updated CDC raises an event.
The subscriber, that is listening for change events, receives the notifications from CDC and processes them.
Outbound Notification Configurations
The subscriber cross-references the setup entity (ObjIntegProviderDefMapping) to determine which entities and fields should trigger notifications.
The configuration defines the Integration Definition Name, which helps determine the next steps.
Consumption Framework and Integration Definition
Processes the event using a process integration provider and named credentials for authentication.
The Integration Definition determines how the event should be handled.
By default, the Integration Definition generates the sample payload shown below when invoking the outbound API for the received list of events.
Starting with the Winter ’26 release, the structure of the Notification Framework request payload is updated as follows.
enrichedFields: A new field introduced to store references to the parent resource. This field must be configured in the Object Integration Definition Mappings within the Notification Framework for each applicable resource.
changedFields: Previously an array (in the Summer ’25 release), it is now an object containing key–value pairs of modified fields and their corresponding values.
Update events: Includes only the fields that were modified, along with their updated values.
Create events: Contains all record data.
Delete events: Remains empty.
Note
Call TMF Outbound Notification APIs
Based on the configuration, the framework invokes the appropriate TMF Outbound Notification API through endpoints of the MuleSoft Direct Application..
For example: TMF651 v4, supports these event notifications.
Perform these steps to configure the Outbound Notification Framework for your organization. This configuration enables the framework to capture change events and send outbound notification payloads to the Mule API.
Make sure to review the Prerequisites section before you begin.
Note
From Setup, enter Communications Cloud in the Quick Find box.
Navigate to Services Setup within Communications Cloud.
Locate the option Enable TMF Notification. Toggle the switch ON to enable notifications.
Navigate to Setup> Integration > MuleSoft > MuleSoft Direct to enable the API you intend to deploy to your Anypoint platform. For detailed guidance on enabling the integration, see Enable Integrations.
To locate the Named Credential created for the deployed API, go to Setup > Security > Named Credentials.
Create Integration Definitions.
Navigate to Setup > Integration Definitions.
Click on New to create an Integration Definition.
Select the Type as Standard, enter appropriate details for Name, Developer Name as shown below and click Next.
In the Standard Provider dropdown, select TMFNotificationCalloutIntegrationProvider. This provider is available out-of-the box for the notification framework.
Enter Attribute Values.
Named Credentials: Enter the name of the Named Credential created earlier (see Step 5).
Path: Enter the remaining portion of the notification URL path. This will be appended to the base URL defined in the Named Credential.
Timeout (ms): Specify the timeout value in milliseconds, based on your system or integration requirements.
After saving, click Activate to enable the integration definition.
The integrationProviderDefinitionId can be located in the URL of the window.
To create Integration Definitions for events such as AttributeValueChange and StateChange, repeat the steps mentioned above.
Note
Enable Remote Site access by navigating to Setup > Remote Site Settings > New Remote Site.
Enter the Name and the URL of the API deployed in Anypoint, click on Save.
Create the required Object Integration Definitions for the relevant resources and sub-resources, based on the applicable TMF API. These definitions determine which change events (create, update, delete) and which object attributes to monitor, allowing the framework to trigger the appropriate outbound notifications.
The following table describes the payload structure of an Object Integration Definition, which allows the notification framework to capture specific event types and their details and forward this event data to the Mule API.
Field Name
Type
Required
Description
ChangeEventType
String
Yes
Specifies the type of change event. Supported values: Create, Update, Delete.
ObjectApiName
String
Yes
API name of the Salesforce entity the event is associated with (e.g., Order, Account).
DeveloperName
String
Yes
Unique identifier for the integration definition.
MasterLabel
String
Yes
A descriptive and unique label for the integration definition.
IntegrationProviderDefId
String
Yes
The IntegrationProviderDefId refers to the integration definition configured in Step 6. Its value is unique based on the type of event it is associated with—whether it is configured for a CreateEvent, AttributeValueChangeEvent, or StateChangeEvent endpoint of the target API.
RelatedFieldName
String
Yes
A field used to identify the entity for generating the TMF outbound notification payload. The required value depends on how the payload is constructed—either via a SOQL query or an inbound GET callout. SOQL queries typically require the entity’s record ID, while GET callouts may use an alternative identifier such as OrderNumber (TMF622) or CaseNumber (TMF621). This field must be configured exactly as defined in the mapping table for each resource in the respective TMF API.
FieldApiName
String
Optional
This specifies the field name of the attribute that should trigger the /AttributeValueChangeEvent when its value changes.
Role of RelatedFieldName in Object Integration Definitions
When defining Object Integration Definitions for change events on an entity, ensure that the RelatedFieldName is configured correctly. This field specifies which attribute from the source entity is included in the enrichedFields object of the notification request payload.
Correct configuration of the RelatedFieldName in Object Integration Definitions enables two key integration behaviors:
Event Grouping for Outbound Notifications
When multiple change events are included in a single notification request payload, the Mule layer uses the value of the RelatedFieldName field to determine whether the events relate to the same parent entity.
Events sharing the same value are grouped, and a single outbound notification is generated for the group.
This ensures deduplication and avoids sending multiple notifications for the same parent entity.
Parent Entity Identification for Inbound GET API Calls
The enrichedFields object includes the parent entity ID as specified by the RelatedFieldName.
This ID is used by the Mule API to perform the Inbound GET API call to retrieve the full parent resource data.
The response is then used to construct the final outbound notification payload.
Creating an Object Integration Definition Mapping
Refer to the corresponding TMF API documentation to identify the RelatedFieldName values that must be configured for each resource and its associated sub-resources. Proper configuration is essential to ensure the API functions as intended.
Example: Object Integration Definition for a Create Event on the Contract Entity for TMF 651
The following example defines an Object Integration Definition to capture create events on the Contract entity.
Example: Object Integration Definition for a Delete Event on the Obligation Entity for TMF 651
The following example illustrates how to define an Object Integration Definition to capture delete events on the Obligation entity when it is associated with a parent Contract.
The RelatedFieldName is set to ReferenceObjectId, which points to the parent Contract associated with the Obligation record. This value is included in the enrichedFields object of the notification request payload as shown below.
Retrieving or Deleting an Object Integration Definition Mapping
To retrieve or delete an Object Integration Definition Mapping, use the following URL, replacing {ID} with the ID of the mapping. The {ID} is the identifier returned when the Object Integration Definition Mapping is created.