Entering On Error action for Rename task
Post any question you may have in regards to GoAnywhere Director and let our talented support staff and other users assist you.
4 posts
Page 1 of 1
I am calling a generic project that will rename a file from one name to another by passing in the old and new file names as variables. I also pass a variable called Failed to designate a Pass/Fail status. However, when I try to add the On Error section of the rename to set the variable Failed to YES to be passed back, I get the error: [8003 - Control file] Invalid value 'setvariable:${Failed eq YES}' for attribute 'onError' in element 'rename'
Why am I not able to add the OnError condition? I have used "eq", "=" and other syntaxes, so I don't think it is a syntax error.
We are version 4.0
Why am I not able to add the OnError condition? I have used "eq", "=" and other syntaxes, so I don't think it is a syntax error.
We are version 4.0
- Support Specialist
- Posts: 590
- Joined: Tue Jul 17, 2012 2:12 pm
- Location: Phoenix, AZ
-
monahanks,
Try changing your syntax to the following:
onError="setVariable:cmdError=YES"
Try changing your syntax to the following:
onError="setVariable:cmdError=YES"
Rick Elliott
Lead Solutions Consultant
(402) 944.4242
(800) 949-4696
Lead Solutions Consultant
(402) 944.4242
(800) 949-4696
4 posts
Page 1 of 1