Skip to content

Commit

Permalink
Allowing only key-value pairs to update, not full salesforce object
Browse files Browse the repository at this point in the history
  • Loading branch information
Delawen committed Mar 30, 2022
1 parent 352d785 commit 0b973b4
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions kamelets/salesforce-update-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,14 @@ spec:
definition:
title: "Salesforce Update Sink"
description: |-
Updates an object in Salesforce. The body received must contain either a
JSON key-value pair for each property to update or a valid Salesforce
object. If using key-value pair, sObjectName and sObjectId must be
provided as parameters.
Updates an object in Salesforce. The body received must contain a
JSON key-value pair for each property to update and sObjectName and
sObjectId must be provided as parameters.
Example of key-value pair: { "Phone": "1234567890", "Name": "Antonia" }
required:
- sObjectName
- sObjectId
- clientId
- clientSecret
- userName
Expand Down Expand Up @@ -107,5 +108,5 @@ spec:
- to:
uri: "{{local-salesforce}}:updateSObject"
parameters:
sObjectId: "{{?sObjectId}}"
sObjectName: "{{?sObjectName}}"
sObjectId: "{{sObjectId}}"
sObjectName: "{{sObjectName}}"

0 comments on commit 0b973b4

Please sign in to comment.