I am using the Write Document (FileUtilService) to to write some attachments to a static directory by using the below statement and it works just fine.
Input - Pathname Pattern (XPath expression)
Now I would like to them to a dynamic sub-directory like "D:\MyDir\XXXX\" where XXXX is number that dynamic change by Process ID.
but it does not work right.
Can any one please adivse.
Thanks in advance,
Invalid destination Directory!
You are attempting to create a sub-directory with illegal character name.
The correct XPATH must be:
Try this and let me know