I am facing a problem in 'IF' condition in the script. I am adding a nested if statement but there is a syntax error in the script even if the script is showing 'OK'. I am sharing two images which will make you understand the problem.
Image 1: A proper nested if condition where the 'Expression OK'
Image 2: Adding a nested if condition and adding a bracket to complete the expression. The expression shows 'OK' but still there is a syntax error due to which all the script after that shows as syntax error.
Can't understand the reason of this. Please explain.