title: Mule update to salesforce data
body: <p>This will update the account in sfdc, but I need to put condition i.e where condition at the end of update, is there anyway I can handle it?. My query should be like:</p>
  
  <blockquote>
    <p>update sfdcaccount setFields WHERE client_id='#[payload.get('id')]'</p>
  </blockquote>
  
  <p>I have seen some example, select the query with were condition, if satisfies then update. Can we directly update based on condition?</p>
  
  <p>Mule Flow:</p>
  
  <pre><code>&lt;sfdc:update config-ref="SFDC__DevInt" type="Account" doc:name="Salesforce"&gt;
     &lt;sfdc:objects ref="#[payload]"/&gt;
  &lt;/sfdc:update&gt;
  </code></pre>