Mule update to salesforce data -
this update account in sfdc, need put condition i.e condition @ end of update, there anyway can handle it?. query should like:
update sfdcaccount setfields client_id='#[payload.get('id')]'
i have seen example, select query condition, if satisfies update. can directly update based on condition?
mule flow:
<sfdc:update config-ref="sfdc__devint" type="account" doc:name="salesforce"> <sfdc:objects ref="#[payload]"/> </sfdc:update>
if client_id external id (salesforce docs) can fetch object, remove id/any other external keys , set client_id , update object.
do note fields may replaced if use original fetched object. perhaps should setup own input map before updating won't change field/future field mistake.
Comments
Post a Comment