Hi Support
I am using a function in order to fetch a Folder name in order to set a FileCopy task, however I am getting errors in the filecopy.
The function string is set up as follows:
User variable @actlog = {LOOP(CurrentValueXArray,0)}
(where the single iteration of {LOOP(CurrentValueXArray,0)} results in:
Variable '@actlog' was updated to: \\9.90.90.9\Pro_DATA\@VC\reccy\in\f86507ae-04ff-41e8-b7d9-3d46b0fee27e_Color_Simplex_Test Envelope C5_Premier 2-Day CBC.tkt
Then I set a variable:
User variable @appfolder = {PATH(GetDirectoryName|{USERVAR(@actlog)}}
However, @appfolder provides the result:
Variable '@appfolder' was updated to: {PATH(GetDirectoryName|\\9.90.90.9\Pro_DATA\@VC\reccy\in\f86507ae-04ff-41e8-b7d9-3d46b0fee27e_Color_Simplex_Test Envelope C5_Premier 2-Day CBC.tkt}
I would expect this function to result in:
Variable '@appfolder' was updated to: \\9.90.90.9\Pro_DATA\@VC\reccy\in
In my File Copy Task, I am using the same function for the Folder field ({PATH(GetDirectoryName|{LOOP(CurrentValueXArray,0)}}) And this results in an exception:
Exception in Task: Illegal characters in path.
Exception in Task: No file(s) copied
I have also tried '{PATH(GetDirectoryName|{USERVAR(@actlog)}}' but I still get the same error
Any ideas where it is going wrong?
Cheers
Andy
EDIT - should add I am running V 6.1.3
Edited by user
2012-09-14T12:39:49Z
|
Reason: Not specified