Skip to content
+1-888-319-3663

COMMUNITY FORUM

Task Move file :add global variable or source column value in file name

Dominic asked 2 years ago
Is it possible to add variables in the file name we want to move? or only appen date/time is possible?
Answers
Patrick Roth Staff answered 2 years ago
Dominic,
Assuming you are referring to the “move file task” from SmartConnect, no.
However if you write a map “post” script task using vb.net
You could do something like this:
https://www.eonesolutions.com/help-article/kba-01040-d3r4f7/
Since moving files is out of the box .NET and nothing specific with SmartConnect, you should be able to find any number of examples of moving files on the internet.
The only thing that is specific is the global variables piece from SC.  The example doesn’t use any but there you would just add your variable in the output path (or wherever you need it).

If you would like to submit an answer or comment, please sign in to the eOne portal.