How do I write else if loop in groovy evaluator
Example: the if-else loop in expression evaluator is written in below way:
${record:value('/phone_homem0]') != ' ' ? record:value('/phone_homem0]'):
(record:value('/phone_homem1]') != ' ' ? record:value('/phone_homem1]'):
(record:value('/phone_homem2]') != ' ' ? record:value('/phone_homem2]'): ' '))}
How do I implement Same-Example thing in groovy evaluator,
Since there are dynamic number of rows coming each time, esometimes number is 10, sometimes 100 etc, so need to write for-loop]