Hi everyone,
I have two lookup activities that are returning the number of records for two tables (Select Count(*) as Num_Rows From ...).
After each lookup activity I'm assigning the result to some variables defined like array type.
So far the previos step all looks fine, however when I try to compare both variables using an "If Condition" activity, the expression below is failing:
@Greater(variables('Source_NoRows')[0],variables('Target_NoRows')[0])
The error I receive is:
Error
{
"errorCode": "InvalidTemplate",
"message": "The function 'Greater' expects all of its parameters to be either integer or decimal numbers. Found invalid parameter types: 'Object'",
"failureType": "UserError",
"target": "If Condition1",
"details": ""
}


or upvote
button whenever the information provided helps you.