Hello guys,
First of all, thanks to all of you for so many nice answers for any question in our community. Really I've read a lot of posts relevant for ASMA parameters.
My problem is following.
in UDF I'm filling 2 parameters - FileName and Directory, and it is correct, because in trace I can see both of them, and the FileName is changed correctly. There is a lot of post on that UDF, so this is probably correct.
And for my example let make FileName_New.csv is result of the UDF.
BUT ...
in communication channel I have this Target directory:
\\servername\folder1\folder2\folder3
and I have got this:
\\servername\folder1\folder2\folder3\Filename_New.csv
Now what I need to do is that bellow folder3 will be folder4 but the name will be different for different plants - it means bellow folder3 will be structure something like
...FOLDER3\PLANT1 \PLANT2 \PLANT3
For my example my target path with file will be like that
ie. \\servername\folder1\folder2\folder3\PLANT1\Filename_New.csv
Now my question: what is the correct value for Directory in UDF
just PLANT1, or with \ ( \PLANT1 or \PLANT1\) or whole path with server name
I have tried all of them but still no success. What I have in my mind -> is Directory parameter allowed for URL path?
Thanks you guys for any help or info
Petr