Open shrikant-singh31 opened 8 months ago
Currently if we use Is Blank/ Is Not Blank operand the flow gives below error.
InvalidTemplate. The execution of template action 'Evaluate_Each_Condition' failed: The evaluation of 'query' action 'where' expression '{ "_809060006": "@startsWith(variables('varSourceData')['raw'],item()['cat_conditionvalue'])", "_809060007": "@endsWith(variables('varSourceData')['raw'],item()['cat_conditionvalue'])", "_809060008": "@contains(variables('varSourceData')['raw'],item()['cat_conditionvalue'])", "_809060009": "@equals(variables('varSourceData')['raw'], null)", "_809060010": "@not(equals(variables('varSourceData')['raw'], null))", "stageid": "@item()?['_cat_gotostage_value']", "path": "@item()?['cat_pathindex']" }' failed: 'The template language expression 'startsWith(variables('varSourceData')['raw'],item()['cat_conditionvalue'])' cannot be evaluated because property 'cat_conditionvalue' doesn't exist, available properties are '@odata.type, @odata.id, @odata.etag, @odata.editLink, cat_pathindex@OData.Community.Display.V1.FormattedValue, cat_pathindex, cat_businessapprovalruntimeconditionid@odata.type, cat_businessapprovalruntimeconditionid'. Please see https://aka.ms/logicexpressions for usage details.'.
The selected operand should work as expected.
1.0.20240206.2
BACore | Child | Evaluate Rule
No response
AB#2433
Describe the issue
Currently if we use Is Blank/ Is Not Blank operand the flow gives below error.
InvalidTemplate. The execution of template action 'Evaluate_Each_Condition' failed: The evaluation of 'query' action 'where' expression '{ "_809060006": "@startsWith(variables('varSourceData')['raw'],item()['cat_conditionvalue'])", "_809060007": "@endsWith(variables('varSourceData')['raw'],item()['cat_conditionvalue'])", "_809060008": "@contains(variables('varSourceData')['raw'],item()['cat_conditionvalue'])", "_809060009": "@equals(variables('varSourceData')['raw'], null)", "_809060010": "@not(equals(variables('varSourceData')['raw'], null))", "stageid": "@item()?['_cat_gotostage_value']", "path": "@item()?['cat_pathindex']" }' failed: 'The template language expression 'startsWith(variables('varSourceData')['raw'],item()['cat_conditionvalue'])' cannot be evaluated because property 'cat_conditionvalue' doesn't exist, available properties are '@odata.type, @odata.id, @odata.etag, @odata.editLink, cat_pathindex@OData.Community.Display.V1.FormattedValue, cat_pathindex, cat_businessapprovalruntimeconditionid@odata.type, cat_businessapprovalruntimeconditionid'. Please see https://aka.ms/logicexpressions for usage details.'.
Expected Behavior
The selected operand should work as expected.
What solution version are you using?
1.0.20240206.2
What app or flow are you having the issue with?
BACore | Child | Evaluate Rule
Steps To Reproduce
Anything else?
No response
AB#2433