Expand my Community achievements bar.

Use regex in the Transfer File activity in ACS

Avatar

Level 2

Hello,

 

Do you know if we can use regex as part of the dynamic file path in the Transfer File activity in ACS?

 

For example, i am trying to download this file in S3: xxxxxxxx_20210514_161807_20210515100023a.csv

I want to use regular expression to say if the datestamp in the file name is 3 days ago ACS will download it.

 

But I am struggling with how to get the regex syntax integrated as part of the file path?

 

gigi_jin_0-1621260113102.png

Any help would be appreciated!

 

Thanks

 

Gigi

1 Reply

Avatar

Employee

Hi,

If you click on the "Edit Expression" in the dynamic path, you can edit the expression as shown below:

 

ananthanj631809_0-1621480179478.png