Genesys CTI User Forum > Genesys-related Development
strattribute1-10
(1/1)
Ardim:
I'd like to search interactions in UCS for contactId and any (user defined strattributeNN).
The code looks something like this:
SearchCriteriaCollection scStartAt = SearchCriteriaBuilder.Build(InteractionSearchCriteriaConstants.StartDate,
Operators.Greater,
SomeDate);
RequestGetInteractionsForContact requestGetInteractionsForContact = new RequestGetInteractionsForContact
{
ContactId = contact_id,
EntityTypeId = EntityTypes.Chat,
SearchCriteria = scStartAt,
SortCriteria = sortCriteria
};
But if I add to search any attributes predicate I see error or the same as without attributes predicate result. Did anyone have similar problems and how did they solve them ?
gen_rtfm:
Hi,
Are the strattributeNN-fields indexed in ucs?
Do you have any examples of errors to share?
Also: do you have same behavior when performing a search (with same search criteria) from a standard genesys application like WDE? if not, the logs from that application are pretty verbose in how it constructs it's request to ucs.
I haven't had any experience with this myself but that's where I'd look.
Br
Skickat från min Mi MIX 3 5G via Tapatalk
Ardim:
Precisely! And how I didn't think of it right away. Reindexed the entire database forcibly and the problem disappeared. Thank you ! :)
Navigation
[0] Message Index
Go to full version