I want to keep a condition in email service , if it is dev environment it must show as dev testing in body and if email service is triggered in QA environment then it must show as QA testing in body
Discussion posts and replies are publicly visible
Hi Fursat, just put a constant which value is different in each environment.
what I need to be compare with , in constant I will keep the URL and then how can i compare it with .can you please help
if( cons!App_URL1], "DEV TESTING", if( cons!App_URLS[2], "QA TESTING", "No testing", ) )
Hi Fursat. You only need to create a single environmental constant(Checkbox while creating constant) . So while deploying change the constant value by editing properties file. In this way you can maintain different text for each environment.
Values of constant
DEV: this is from dev env
TEST: this is from QA env
PROD: ""
So in email node, instead of if condition code you can directly add this constant.