Solved
Forum Discussion
Shashavali
3 years agoContributor
its because you define carried in the try block.
please try to define carried before the try block.
def carried
try {
carried = json.carriedFromPrevious
log.info("carriedFromPrevious = " + carried)
}
catch (Exception ex)
{
log.info("Respond not a number")
log.info(ex)
}
log.info("carriedFromPrevious = " + carried)