Relationship Activation Overview
When you are ready to send and receive messages for a specific messaging relationship, you can activate the relationship by specifying an activation method. If an activation method has already been specified, for example, for managed relationships, the messaging relationship displays details of the selected activation method.
There are several activation methods available:
Foundations automatically creates a trigger to send messages for new and updated source records.
You can specify whether you want to send these messages as soon as a record is created or use a scheduled job to define the delivery schedule.
Trigger messaging manually using a button on a list view or record page. Foundations automatically creates a Visualforce page for each button location that you select that you can link to a custom button.
Define how and when to send messages using Salesforce Flow Builder or Process Builder. For example, you can use this option to incorporate Process Builder features in your messaging process or if you like to visualize the action criteria. For more information about setting up a custom action using Salesforce Process Builder, see Creating a Custom Action.
You can specify the name of the flow or process for your reference. Providing this information is for reference only and does not impact messaging activation. You must also ensure that the relevant associated actions have been set up for messages to be sent.
Define how and when to send messages using custom code. You can use this option if you want to incorporate custom Apex into your messaging setup. For more information about Apex triggers, see the Salesforce Help.
Selecting this option only indicates that this is the relationship’s designated activation method. You must also ensure that the relevant associated actions have been set up for messages to be sent.
Indicates that no activation method has been specified for this relationship. This option is for information only and does not deactivate your messaging relationship. If the publication is enabled and an active process, flow, or custom trigger exists for the publication, messages are sent.
Send messages using the actions provided by the application that created the managed publication.
By default, no activation method is specified for new relationships.
If you have imported message type details, we recommend that you update your relationship promptly to display the relevant activation method.
You can also specify whether you want to conditionally deliver messages, based on the value of a source field.