Forum Discussion
krishn
2 years agoHelper I
Object type value conversion to INT
Hi I am getting out put from set activity (integer variable) and I am using the same in if condition activity. However I am getting below error, can please help how to resolve this. expression I am ...
Ayybee
2 years agoRegular Visitor
Hi
If firstrow is enabled then you have to use this syntax
@greater(int(activity('LookupActivity').output.firstRow.[name of the attribute you want to compare]),0)
If firstrow is disabled, then you have to use the following:
@greater(int(activity('lookupActivity').output.value[0].[name of the attribute you want to compare]),0)