conditional delay is not working
Post any question you may have in regards to GoAnywhere MFT and let our talented support staff and other users assist you.
If you need a quicker response, please create a support ticket via the customer portal my.goanywhere.com or contact our support team by email at [email protected].
If you need a quicker response, please create a support ticket via the customer portal my.goanywhere.com or contact our support team by email at [email protected].
2 posts
Page 1 of 1
I've profiled a delay in my project, to be conditionally executed on the following:
(${index} lt 3) and ('{$transferError}' eq '1')
When I place the project in debug mode, and review the variables, just before the delay,
transferError = '1'
index = 1
(index is a counter defined in a for loop, advanced tab)
A partial transcript of the log follows:
Jul 6, 2016 3:39:47 PM INFO Setting value of variable 'transferError' to ''1''
Jul 6, 2016 3:39:54 PM INFO Skipping task 'delay' as the condition "(${index} lt 3) and ('{$transferError}' eq '1')" was not met
Jul 6, 2016 3:40:01 PM INFO Executing task 'setVariable 2.0'
Jul 6, 2016 3:40:01 PM WARN Variable 'transferError' was replaced with ''0''.
Any ideas of what I may be missing?
(${index} lt 3) and ('{$transferError}' eq '1')
When I place the project in debug mode, and review the variables, just before the delay,
transferError = '1'
index = 1
(index is a counter defined in a for loop, advanced tab)
A partial transcript of the log follows:
Jul 6, 2016 3:39:47 PM INFO Setting value of variable 'transferError' to ''1''
Jul 6, 2016 3:39:54 PM INFO Skipping task 'delay' as the condition "(${index} lt 3) and ('{$transferError}' eq '1')" was not met
Jul 6, 2016 3:40:01 PM INFO Executing task 'setVariable 2.0'
Jul 6, 2016 3:40:01 PM WARN Variable 'transferError' was replaced with ''0''.
Any ideas of what I may be missing?
- Support Specialist
- Posts: 590
- Joined: Tue Jul 17, 2012 2:12 pm
- Location: Phoenix, AZ
-
suncds,
Please look at the formatting of your condition. Change this:
(${index} lt 3) and ('{$transferError}' eq '1')
to this:
${ (index lt 3) and ( contains( transferError, '1' ) }
and try again.
Please look at the formatting of your condition. Change this:
(${index} lt 3) and ('{$transferError}' eq '1')
to this:
${ (index lt 3) and ( contains( transferError, '1' ) }
and try again.
Rick Elliott
Lead Solutions Consultant
(402) 944.4242
(800) 949-4696
Lead Solutions Consultant
(402) 944.4242
(800) 949-4696
2 posts
Page 1 of 1