From Bright Pattern Documentation
< 3.15:Sfdc-integration-guide
Revision as of 21:45, 13 March 2017 by Tracy (talk | contribs) (Created new topic from branched topic Documentation:ServicePattern:sfdc-integration-guide:SearchingforacontactusingtheSalesforce.comSearchblock:3.14)
(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 >
< Previous | Next >