automation.properties.OriginalFilename

Hello,

When I attempt to access the original file name of the sample data via automation.properties.OriginalFilename , I am getting a blank input for the field. I have two data samples, testTemplate.pdf, and testTemplate2.pdf . “Field” below just appears as blank for me. I would expect that this field would populate as testTemplate.pdf, as that is the originalFilename. Am I misunderstanding how this automation property is used?

Thanks in advance,

Kyle

1 Like

that’s a known issue, it does not work at the moment.

Alternatively you could use the automation.jobInfos object to transfer any information from Workflow to the Connect template.

So this doesnt work still??

Hello @edanting, is it not working for you? Because it should work from version 2022.2 onwards, when the following was introduced.

The automation.properties.originalFileName property is now set to the name of the current data file. If this changes to different data file, the property’s value is automatically updated. (74921)

Source: 2022.2 Release Notes - OL Connect 2026.1 Help

Hi Marten,
Please see screenshot. Loaded in a .txt file and its giving me a different value:

Note the value that we are seeing was the initial file I loaded in after creating the datamapper file.

Im on version 2025.2.1
Thank you
E

1 Like