3CX Salesforce Integration Filter Results Based on Field in Salesforce Record

techwiz02

SOHO User
Joined
Aug 3, 2022
Messages
2
Reaction score
1
Hi!

I have our 3CX instance set up with the Salesforce CRM integration to match phone numbers to accounts or contacts, and add activity entries to the respective account/contact record when a call or chat is made. I now need a way to modify the integration template to only match with account/contact records that have a custom field, labeled "Inactive" as FALSE, as we plan to keep inactive records of accounts and more specifically contacts that have moved to a different company in the same industry for audit trail purposes, and it's important that these records aren't used to match when calls/chats are made.

I have previously edited the Salesforce integration template to change to the sandbox URL, but I'm not extremely familiar with how the code works.

Any help or input would be greatly appreciated!
 
Check the lookup URLs, there's the query in it. Use a similar syntax to add the inactive filter.
 
Thank you! Finally got around to poking through the template, I was able to implement filtering using "WHERE" on all of the SOQL/SOSL query statements.
 
  • Like
Reactions: Evolute IT

Forum statistics

Threads
112,147
Messages
590,959
Members
165,167
Latest member
Finatra.us