From Bright Pattern Documentation
< 3.10:Sfdc-integration-guide
Revision as of 08:24, 29 January 2016 by Sasha (talk | contribs) (Searching for a contact using the Salesforce.com Search block)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
• 3.10 • 3.11 • 3.12 • 3.13 • 3.14 • 3.15 • 3.16 • 3.17 • 3.18

Searching for a contact using the Salesforce.com Search block

  • Use Set Variable to clean the ANI from any meaningless symbols
=replace("$(item.from)","^\\+*1","","")
Sfdc-integration-guide-image34.png


  • Use Set Variable to set a value for the SFDCANI
=replace("$(ANI)","(\\d{3})(\\d{3})(\\d{4})","%\\1%\\2%\\3%","")
Sfdc-integration-guide-image35.png


  • Use the Salesforce.com Search block with the following query:
SELECT Id, Name, Account.Id FROM Contact WHERE Phone LIKE '$(SFDCANI)' or MobilePhone LIKE '$(SFDCANI)'
< Previous | Next >