Is it possible to create an unique batch id in Connect or Workflow to identify the file being processed and displayed on the design?
Hi, yes you can do this in workflow.
Personally, I would add a “set jobinfos & variables” step before the datamapper then give JobInfo9 (%9) the value %y%m%d__%u (today’s date plus a randomly generated string).
To add that value to a field; add an extraction step, switch the mode to Javascript and type automation.jobInfo.JobInfo9;
Actually, you always have access to the original filename through the Automation object in the datamapper. In your Javascript code, just type Automation. and then press CTRL-SPACEBAR to get content assist suggestions, showing you what properties are available.
Yes, but obviously then, the file name would have to be unique in the first place.
You would map the automation.properties.OriginalFilename; property to a field in the same way as described above.