conditional delay is not working

If you have a new question you’d like our support staff to post a response to, please visit our customer community, GoAnywhere Insiders, to pose the question in our Discussion Boards. We have a thread “Ask Our Tech Experts” that our support team monitors on a regular basis, or you can start a new discussion where other GoAnywhere users and support staff can weigh in. Log in or create your new account at https://insiders.goanywhere.com.

If you need an immediate response, please create a support ticket or contact our support team by email at [email protected].
2 posts Page 1 of 1

suncds

Posts: 3
Joined: Wed Jul 06, 2016 2:09 pm

Post by suncds » Wed Jul 06, 2016 2:43 pm
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?

Support_Rick

Support Specialist
Posts: 592
Joined: Tue Jul 17, 2012 2:12 pm
Location: Phoenix, AZ

Post by Support_Rick » Wed Jul 13, 2016 4:33 pm
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.
Rick Elliott
Lead Solutions Consultant
(402) 944.4242
(800) 949-4696
2 posts Page 1 of 1