Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Extracting filename from data loading activity

ankurm40172185
Level 3
Level 3

Hi

I know that we can refer to vars.filename in a data loading activity to find the file name. However; this is uploaded filename and not the one listed in the parameters, plus this is mf5 hashed. How can we find out the actual file name which was used; and record this?

1 Accepted Solution
florentlb
Correct answer by
Level 10
Level 10

Hi Ankur,

I'm not sure if there are ways to find back the original name. I'd recommend checking with support if there is a solution that can be put in place for that.

Florent

View solution in original post

0 Replies
Amit_Kumar
Community Advisor
Community Advisor

Hi Ankur,

it's not very clear from your question what you want. can you share the workflow and highlight what you need?

are you uploading file resources or some csv file?

regards,

Amit

ankurm40172185
Level 3
Level 3

Hi Amit

I want to refer to the name of csv file being loaded in the data load activity; when i use vars.filename it refers to the name of the file after server upload (md5 hashed); is there a system variable which can be used to refer the actual csv file's name.

florentlb
Correct answer by
Level 10
Level 10

Hi Ankur,

I'm not sure if there are ways to find back the original name. I'd recommend checking with support if there is a solution that can be put in place for that.

Florent

florentlb
Level 10
Level 10

Hello Ankur,

Were you able to get an answer?

Florent

ankurm40172185
Level 3
Level 3

Yes; we wrote a script on the ftp activity and the next activity to pick and then chop the filename