function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Stefaan Somers 11Stefaan Somers 11 

Retrieve meta-data from WorkFlowOutbound message

When we create a sandbox we have several WorkFlowOutbound message-setting from which the url needs to be changed.
As a manual process this is hard work, so I tried with Salesforce DX to retrieve this with the following command :
sfdx force:source:retrieve --metadata WorkflowOutboundMessage

But I don't receive any result. 
I also already tried with Illuminated Cloud which shows the info when indicating which meta-data to retrieve, but in the end it is not retrieved at all
SubratSubrat (Salesforce Developers) 
Hello Stefaan ,

It can be possible that the WorkflowOutboundMessage metadata is not included in the default package.xml file used by the force:source:retrieve command. You may need to specify the metadata type in your package.xml file or specify it explicitly in your force:source:retrieve command.

Reference -> https://trailhead.salesforce.com/content/learn/modules/package-xml/package-xml-adventure

https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/manifest_samples.htm


Here's an example of how you can specify the WorkflowOutboundMessage metadata in your package.xml file:
 
<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
    <types>
        <members>*</members>
        <name>WorkflowOutboundMessage</name>
    </types>
    <version>52.0</version>
</Package>

Hope it helps !
Thank you.​​​​​​​
Stefaan Somers 11Stefaan Somers 11
Hi,

it's included. The other elements are retrieved but not WorkflowOutboundMessage
User-added image
 
Teresa HillTeresa Hill
A WorkFlowOutbound message is a type of Salesforce outbound message used to send data to an external system. It does not contain any meta-data in the traditional sense, but the message itself can be configured to include specific data fields and related objects. Therefore, the meta-data would need to be defined and requested within the message configuration.

Whopper (https://www.mybkexperience.onl/)