Hi edossantos,
I have amended as you guided and I'm receiving a new error :-
Started scenario with empty id
Request text:
https://staging.api.kanzensuite.com...ne?subdomain=staging-planc&number=01112869895
Response text: [{"id":"6","name":"Nihantha Bala","mobilePhone":"01112869895","workPhone":null,"firstName":"Nihantha","lastName":"Bala","phoneNumber":"01112869895","email":"
[email protected]"}]
Response finished
Variable Id set to 6
Variable FirstName set to Nihantha
Variable LastName set to Bala
Variable MobilePhone set to 01112869895
Variable Email set to
[email protected]
System.Exception: Unknown expression: WorkPhone. Part: WorkPhone.
at TcxLexicalParser.ValueManager.GetByPath(String[] path)
at TcxLexicalParser.LexEvaluator.Process(Element element, IValueManager valueManager, Boolean isFunctionArgument)
at CrmIntegration.EscapedExpressionEvaluator.ParseExpression(String expression, Boolean asExpression, IValueManager customManager)
at CrmIntegration.SearchNumberScenarioProcessor.ProcessFinalResult(ProtocolScenario scenario, IValueManager valueManager)
at CrmIntegration.ScenarioProcessorBase.ProcessMatching(ProtocolScenario scenario, MatchingPath matching, ResponseMatcher responseMatcher, IValueManager customManager, HashSet`1 distinctMatchings, CancellationToken token)
at CrmIntegration.ScenarioProcessorBase.ProcessFoundMatchings(ProtocolScenario scenario, IValueManager customManager, List`1 matchings, ResponseMatcher responseMatcher, CancellationToken token)
at CrmIntegration.ScenarioProcessorBase.ProcessScenario(ProtocolScenario scenario, IValueManager customManager, CancellationToken token)
at CrmIntegration.ScenarioProcessorBase.Execute(ProtocolScenario scenario, CancellationToken token)
at CrmIntegration.CrmProcessor.GetContactInfoFromCrm(String contactNumber, String destinationEmail, Boolean createIfNotFound, CancellationToken token)
Can you assist me on this.
Thanks