How can I query a workbin with a condition based on the UserData collection? For example, I have a UserData item with the key of "Site_ID" that can have a number of posible string values. I would like to query the workbin for only the interactions that have a specific subset of those values (i.e.: "0", "1", and "2" but not "123","77", etc). How can I accomplish this? I have tried the following condition statement without success:
var workbinInfo = WorkbinInfo.Create();
workbinInfo.WorkbinTypeId = "OOTP_WB";
workbinInfo.WorkbinGroupId = "OOTP_WB_AG";
var requestGetWorkbinContent = RequestGetWorkbinContent.Create();
requestGetWorkbinContent.Workbin = workbinInfo;
requestGetWorkbinContent.Condition = "Site_ID in ('0','1','2')";
This will return all items in the workbin regardless of the Site_ID value in the UserData collection.
-Ryan