Hi All,
I am trying to build JSON string using Ifelse condition in ReplaText processor but i am getting error as invalid Invalid Expression .
Working Ifelse condition :
${status:contains('0'):ifElse('Success','Failed')}
This below string is not working and it is throwing invalid expression . Please assist on this .
${status:contains('0'):ifElse('{
"filename":"${overall_filename}",
"status":"${status}",
"message":"${overall_message}"
}',
'{
"filename":"${overall_filename}",
"status":"${exc_status}",
"message":"${overall_message}"
}'
)
}
Thanks