Guys,
I am attempting to define an EXPORT action in a process, with the objective of exporting data to a .csv file that is located in a different folder each day. From what I can see, the EXPORT action requires a hard-coded file name (eg: c:/folder/file.csv). I need to generate a different path for the file each day, to keep a history, so I was thinking of generating and storing the path and file name in an attribute:
BatchForChecking.FileName (plain text 120) = 'c:/Folder/' + CURRENT_DATE
or something like that.
So the EXPORT action I coded looks like: EXPORT 'SourceDocument_export' TO BatchForChecking.FileName FOR UPDATE
I also tried: EXPORT 'SourceDocument_export' TO 'BatchForChecking.FileName' FOR UPDATE
When I run it, I get an Internal Error message, and the process falls over.
When I configure it as: EXPORT 'SourceDocument_export' TO 'c:/myfolder/Results.csv' FOR UPDATE
it works fine.
So my question is: Is it possible to define the TO path in the EXPORT action in a business object variable?