This error is recieved when for ConditionExpression, we would have set
AttributeName, Operator properties but haven’t set Values property.
The below code would result in the ConditonOperator.Equal requires 1 value, not 0 error.
ConditionExpression myCon = new ConditionExpression();
myCon.AttributeName = “createdbyname”;
myCon.Operator = ConditionOperator.Equal;
//line commented for reproducing error
//myCon.Values = new object[] { “username” };
Bye..
Discover more from Nishant Rana's Weblog
Subscribe to get the latest posts sent to your email.

Greatings,
Interesting, I`ll quote it on my site later.
Thank you
Tania
LikeLike