- Joined
- Nov 11, 2023
- Messages
- 18
- Reaction score
- 8
Hi,
I just can't get the CRM component to work in a CFD application.
I call the CRMLookup Component with the parameters according to the logfile; if I test the same number in the Admin Console under Integration CRM, then the number is resolved successfully. But with the CRM Lookup in the CFD application, no matching element is returned.
Best wishes,
Stefan
---
The logfile says:
2025/08/24 16:29:04.828|0080|Trac| [_3CX.Script] _71_37.Main.478.[C:123.3]-crmLookupComponent1 - CallFlow.CFD.CRMLookupComponent 'crmLookupComponent1' - Start executing component with EntityType='Contacts' - QueryType='LookupNumber' - Data='0760000000'
2025/08/24 16:29:04.830|0080|Erro| [Integration.Crm.Engine.CrmProcessor] CRM: Exception during lookup from Call Flow Designer
System.InvalidOperationException: Sequence contains no matching element
at System.Linq.ThrowHelper.ThrowNoMatchException()
at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source, Func`2 predicate)
at Integration.Crm.Engine.CrmProcessor.LookupFromCallFlowDesigner(EntityTypes entityType, CFDQueryTypes cfdQueryType, String data, CancellationToken token)
I just can't get the CRM component to work in a CFD application.
I call the CRMLookup Component with the parameters according to the logfile; if I test the same number in the Admin Console under Integration CRM, then the number is resolved successfully. But with the CRM Lookup in the CFD application, no matching element is returned.
Best wishes,
Stefan
---
The logfile says:
2025/08/24 16:29:04.828|0080|Trac| [_3CX.Script] _71_37.Main.478.[C:123.3]-crmLookupComponent1 - CallFlow.CFD.CRMLookupComponent 'crmLookupComponent1' - Start executing component with EntityType='Contacts' - QueryType='LookupNumber' - Data='0760000000'
2025/08/24 16:29:04.830|0080|Erro| [Integration.Crm.Engine.CrmProcessor] CRM: Exception during lookup from Call Flow Designer
System.InvalidOperationException: Sequence contains no matching element
at System.Linq.ThrowHelper.ThrowNoMatchException()
at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source, Func`2 predicate)
at Integration.Crm.Engine.CrmProcessor.LookupFromCallFlowDesigner(EntityTypes entityType, CFDQueryTypes cfdQueryType, String data, CancellationToken token)