Rename attachment while downloading from the email

oh
i think you are inside a loop so mention like this
saveFolderPath + Subject.ToString + item.Attachment.Name.ToString

make sure that saveFolderPath variable has value with \ at last
and i have one doubt is subject is the variable that has the value of Random ID
Cheers @balkishan

1 Like

yes exactly bro, can you see the below error screenshot.

1 Like

Why we have mentioned the Subject as a second string here
You said we need to concatenate the ID
@balkishan

2 Likes

it’s not a subject bro, just a variable it’s string type only. I extracted the specific content from the subject and it contain the ID. So don’t confuse with it bro.

1 Like

2 Likes

Fine
can i have a view on the xaml if possible, all together in a zipped folder
Cheers @balkishan

2 Likes

@Palaniyappan Please check below workflow.

Test.xaml (11.4 KB)

2 Likes

Hi assigned activity, so where to use this fileStream var.
As I used in the save attchement but it doesn’t work.
image

1 Like

@Manjuts90 How I did is it right ?

1 Like

@Raghavendraprasad can you guide this

1 Like

@balkishan save attachments activity is not required. No need to use filestream anywhere.

2 Likes

But i have to save this attachment in a folder after renaming it.
@Manjuts90

1 Like

Are you there ?

1 Like

I can share with you please let me know when are you online?

2 Likes

Yes buddy
lets try
Cheers @balkishan

2 Likes

xaml buddy @balkishan

2 Likes

shared one to one bro please find.

2 Likes

Fine .let me check once @balkishan

2 Likes

Really sorry for the delay buddy,i got up with some office work, even i didn’t get chance to see forum…
But really thank you so much for your trust and kindness
here you go with the solution as gift for the wait @balkishan
rename follder.zip (11.5 KB)

kindly implement this in your workflow were to save the attachement and mention the folder name you have, (as i mentioned the one i had in my system…change that alone to yours.)
This should work for sure
Cheers @balkishan

4 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.