Hello,
I have a logic app built and using Salesforce connector to update Case record in Salesforce. Is it possible to add custom header:
Sforce-Auto-Assign: FALSE
I've tried to add it using Logic App code view like below:
"Update_record": {
"inputs": {
"body": {
"NC_Reference__c": "XXXX"
},
"headers": {
"Sforce-Auto-Assign": "FALSE"
},
"host": {
"connection": {
"name": "@parameters('$connections')['salesforce']['connectionId']"
}
},
"method": "patch",
"path": "/v3/datasets/default/tables/@{encodeURIComponent(encodeURIComponent('Case'))}/items/@{encodeURIComponent(encodeURIComponent(body('Parse_JSON')?['soapenv:Envelope']?['soapenv:Body']?['notifications']?['Notification']?['sObject']?['sf:Id']))}"
},
"runAfter": {
"Parse_JSON": [
"Succeeded"
]
},
"type": "ApiConnection"
}
}
but the custom header is not sent (the Salesforce functionality is still being triggered).
Any idea if this is possible?
Thanks,
Lukasz