delay is not being conditionally called
Posted: Wed Jul 06, 2016 3:11 pm
I have a delay profiled in my project, to only execute under certain conditions:
${index} lt 3 and '${transferError}' eq '1'
Running the project is debug mode yields the following values for transferError and index:
index = 1
transferError = '1'
index vaiable is a counter within a for loop,
transferError is a variable defined on the SFTP task on-error: setVariable:transferError='1'
Log message:
Jul 6, 2016 4:05:13 PM INFO Skipping task 'delay' as the condition "${index} lt 3 and '${transferError}' eq '1'" was not met
I do not see why the delay is not getting executed.
${index} lt 3 and '${transferError}' eq '1'
Running the project is debug mode yields the following values for transferError and index:
index = 1
transferError = '1'
index vaiable is a counter within a for loop,
transferError is a variable defined on the SFTP task on-error: setVariable:transferError='1'
Log message:
Jul 6, 2016 4:05:13 PM INFO Skipping task 'delay' as the condition "${index} lt 3 and '${transferError}' eq '1'" was not met
I do not see why the delay is not getting executed.