Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


DineshHirani
2014-09-09T08:04:41Z
I've just upgraded from 7.1.9 to 7.2.0 and noticed most of my task have failed that uses the Task Rename.

I get exception
Exception in Task: startIndex cannot be larger than length of string.
Parameter name: startIndex

When trying to rename file comdty_namr.rpx.gz.enc

uses new name mask *_{DATEFORMAT(yyyy_MM_dd_HH_mm_ss)}.*

This is very issue to reproduce.
1. Create job and add task File Rename.
2. Make sure the file to rename is called comdty_namr.rpx.gz.enc
3. Make sure the new name task is *_{DATEFORMAT(yyyy_MM_dd_HH_mm_ss)}.*
4. Create a file and called it comdty_namr.rpx.gz.enc and put it into the source folder.
5. Run task and you will get the error
Exception in Task: startIndex cannot be larger than length of string.
Parameter name: startIndex

If you run the same test in 7.1.9 you will see it works.

I've downgraded to 7.1.9 until this issue is resolved.
Sponsor
Forum information
Support
2014-09-09T10:24:27Z
Resolved on email by upgrading to 7.2.1 and using file mask:

*gz_{DATEFORMAT(yyyy_MM_dd_HH_mm_ss)}.*
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top