cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
gm355
Helper I
Helper I

Saving email to FTP

I'm trying to create a simple Flow where I save an email onto an FTP when it gets flagged.

 

It works when I use MessageID as the File name, but the file name is long and cumbersome.

 

When I try to use Subject as the File name I get an error. I also tried setting a variable FileName and assigning the Subject to the variable, but got the same error.

 

Can anyone help please?

 

Thanks.

 

WORKING FLOW:

working.PNG

 

OUTPUT IS LONG AND CUMBERSOME:

 

Long File Name.PNG

 

FLOW USING SUBJECT AND RESULTING ERROR:

 

File Name Subject doesn't work.PNG

Subject error.PNG

FLOW USING FILENAME VARIABLE AND RESULTING ERROR:

 

FileName variable.PNGSubject Fail message.PNG

1 ACCEPTED SOLUTION

Accepted Solutions
v-alzhan-msft
Community Support
Community Support

Hi @gm355 ,

 

What is the Subject of the email?

Does the Subject have some special synbol in it?

Please take a try to name the file with a special string to see if the flow could work.

 

Best regards,

Alice       

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

 

View solution in original post

2 REPLIES 2
v-alzhan-msft
Community Support
Community Support

Hi @gm355 ,

 

What is the Subject of the email?

Does the Subject have some special synbol in it?

Please take a try to name the file with a special string to see if the flow could work.

 

Best regards,

Alice       

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

 

The subject of the email follows this format:

 

example: EXAMPLE, INC. DEAL 45MM 20160907 - Example

 

So it has semi-colon, comma, period and dash.

 

I ran some tests and it seems like it's the semi-colon that is causing the problem (how random)

 

So I need some code to remove the semi-colon.

 

Thanks for you help!

Helpful resources

Announcements
MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

New Process Advisor Capabilities carousel.png

Read the blog for the latest news

Read the latest about new experiences and capabilities in the Power Automate product blog.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

Users online (4,002)