提供: Bright Pattern Documentation
(Created page with "5.3:Sfdc-integration-guide/Tutorials/ContactSearch") |
(Created page with "= Salesforce.com検索ブロックを使ってコンタクトの検索= このセクションでは、シナリオブロックを使ってコンタクトを検索するさま...") |
||
Line 1: | Line 1: | ||
− | = | + | = Salesforce.com検索ブロックを使ってコンタクトの検索= |
− | + | このセクションでは、シナリオブロックを使ってコンタクトを検索するさまざまな方法について説明します。シナリオブロックの詳しい情報については、''シナリオビルダーリファレンスガイド''をご覧ください。 | |
Revision as of 15:39, 20 October 2019
• English
Salesforce.com検索ブロックを使ってコンタクトの検索
このセクションでは、シナリオブロックを使ってコンタクトを検索するさまざまな方法について説明します。シナリオブロックの詳しい情報については、シナリオビルダーリファレンスガイドをご覧ください。
How to Clean the ANI Using Set Variable
Use the Set Variable block with the following properties to clean the ANI from any meaningless symbols.
- Variable Name: ANI
- Value:
=replace("$(item.from)","^\\+*1","","")'
How to Set a Value for the SFDCANI Using Set Variable
Use the Set Variable block with the following properties to set a value for the SFDCANI.
- Variable Name: SFDCANI
- Value:
=replace("$(ANI)","(\\d{3})(\\d{3})(\\d{4})","%\\1%\\2%\\3%","")
How to Use the Salesforce.com Search Block
Use the Salesforce.com Search block with the following SOQL query:
SELECT Id, Name, Account.Id FROM Contact WHERE Phone LIKE '$(SFDCANI)' or MobilePhone LIKE '$(SFDCANI)'