katalon recorder, how to use 'if' command

Maybe the bit of code in this question might help: