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
BedrockMission!

Learn More

View all

Sign in to view all badges

Use regex in the Transfer File activity in ACS

Avatar

Avatar
Validate 1
Level 1
gigi_jin
Level 1

Likes

0 likes

Total Posts

21 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Applaud 5
Affirm 1
View profile

Avatar
Validate 1
Level 1
gigi_jin
Level 1

Likes

0 likes

Total Posts

21 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Applaud 5
Affirm 1
View profile
gigi_jin
Level 1

17-05-2021

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Avatar

Avatar
Boost 1
Employee
ananthanj631809
Employee

Like

1 like

Total Posts

5 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Employee
ananthanj631809
Employee

Like

1 like

Total Posts

5 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile
ananthanj631809
Employee

19-05-2021

Hi,

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

 

ananthanj631809_0-1621480179478.png