Hi @Anonymous ,
Please try to enclose the result in single quote as below in the if condition expression.
@equals(variables('procresult'),'1')
Kindly let us know if it works or it's still the same.
Thank you.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi
I posted my question earlier, but I did not quiet get the solution yet, so I am posting this again.
(I got some great help from other developers (thank you so much!!!), but I did not get the final solution yet).
Issue: I am not getting the email notification for the True condition.
I am trying to send email notification using Azure Logic App from Azure Data Factory (after getting result from running stored procedure).
I currently have three/four data flows.
I have posted screenshots for each steps (with expression added):
1) call Stored Procedure:
declare @returnvalue int
Exec @returnvalue = [dbo].[sp_Validate_tbl...List_Accumulative]
select 'result' = @returnvalue
2) Set variable
@ hide (activity('Call Proc').output.firstRow.result)
3) If Condition
@equals(variables('procresult'),1)
4) If Condition -> True activities
What am I missing?
Hi @Anonymous ,
Please try to enclose the result in single quote as below in the if condition expression.
@equals(variables('procresult'),'1')
Kindly let us know if it works or it's still the same.
Thank you.