Task Move file :add global variable or source column value in file name
Is it possible to add variables in the file name we want to move? or only appen date/time is possible?
Answers
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).
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).