Hi,
I have a scenario where I have one null variable and another variable that has got some data in it so I tried to use the ternary operator to check for null value and assign data accordingly to the output value but I am getting error as shown in the image below.
I can do this using switch activity but I am trying to do it using a single activity. Are we allowed to use the ternary operator? If yes then what am I doing wrong?