cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
TTC
Super User
Super User

Isssue with the "From"

I have a challenge where I cannot add more than one email address from the 'From' field.  I have different clients that sends us email attachment within the same company.  I've tried everything so far no luck.  I can only use one email.  To test it, I add two email addresses with an attached file, but when I ran the script nothing happen.  But if I remove one email and ran it, the script works.  Anyone have any idea on how to do this?  Thank you! 

 

TTC_0-1677966053398.png

 

62 REPLIES 62
TTC
Super User
Super User

I am not follow.

this is the first rename with 4 attachments

TTC_0-1679684563950.png

and this is the second rename with 3 attachments

TTC_1-1679684636896.png

 

TTC
Super User
Super User

I see that you say, I can disable Parse Text and Get Subtext step.  I was testing something, but it looks like even though I disable them it doesn't do anything with the script.  I am disable them now.

Pstork1
Most Valuable Professional
Most Valuable Professional

I don't understand what you mean by first and second rename.  If you are feeding in a list of emails with attachments you can't rename them twice in the same loop.  Instead of having the New file name hard coded you need to have that be a parameter that is fed into the loop.  That way its a single rename action that renames the files based on the email address that is fed into the loop.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

....

..

TTC
Super User
Super User

.

can you show me an example on how to do this?

Pstork1
Most Valuable Professional
Most Valuable Professional

I didn't say to remove the parse text.  I asked why you were using both the From and the To when parsing.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
TTC
Super User
Super User

to tell you the truth, I did not know what I am doing with the Parse Text & Get SubText. I don't really know how to use it, but I am here to any suggestion on how to use it properly.  However, your message above, I am still don't know what to do.  can you show me an example from your last post to me?

Pstork1
Most Valuable Professional
Most Valuable Professional

Here's a quick shot at the flow. The main flow retrieves the emails and stores them in the folder where you want them to go.  Then for each email it takes the From value and splits it to get the user who sent the email.  It then runs the subflow

 

Pstork1_0-1679694203193.png

 

The subflow loops through each attachment on the email and renames the file. 

image.png



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

I will try it and keep you posted of my progress and the result.  Again sir, you're the best.  Thanks a million for help me with this project

TTC
Super User
Super User

I don't see where you reference the variable %File% in the rename step.  I got this error

TTC_0-1679933941609.png

 

 

Pstork1
Most Valuable Professional
Most Valuable Professional

%File% is the current item in the Loop through the attachments.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
TTC
Super User
Super User

Is there a way I can call you via-phone?  I am having problem with the rename.  I need to rename each file a certain way.  If I receive four attachments form a company called 'R&L Carriers', I need to name the file as: R&L Carriers_1.xlsx,R&L Carriers_2.xlsx,R&L Carriers_3.xlsx, and R&L Carriers_4.xlsx. And must of the time someone else from the same company send me email with multiple attachments.  Again, I need to bring it the same way as the example I describe above.

TTC
Super User
Super User

Is that make any difference?  I am getting the email from the Exchange server not from my outlook.

 

TTC_0-1679939136090.png

 

TTC
Super User
Super User

I've tried several things and nothing seems working.  I think I am about to give up.  The way I need this to be done seems to be complicated at the moment.

Pstork1
Most Valuable Professional
Most Valuable Professional

It shouldn't make any difference if you are getting it from the server or from a user's mailbox.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
Pstork1
Most Valuable Professional
Most Valuable Professional

I do phone calls, but that crosses over into paid consulting.  If you would like that my rates are $125 per hour billed at a minimum of 1/2 hour.

 

In my name I renamed the files based on the user who sent them because that is easy to get from the From: field of the email.  How are you deciding that someone from R&L Carriers sent the files so you can rename them to that?



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
TTC
Super User
Super User

Ok, let me make it clear for you and sorry if I did not take my time to explain.  I have a client name Five Below and Five Below have a lot of merchandises that need to be distributed all other U.S and he needs someone that have truck to do that.  We have a bunch of 'Carriers' that have truck.  For example, I have R&L Carriers, AV Logistics, Best Transportation, DSL Logistics, LLC, RCS Logistics, Inc etc.  So, I create an email address: Fivebelow.com and I instruct the carrier to send all the invoices to that email address.  So, by the domain of the carrier's email, I already who's carrier is this. I have a total of 19 carriers and they are sending email attachments in the one main email 'Fivebelow.com'.  When I login to that email address and I see all the emails by the domain, so I can tell where it came from.  And when I download all the attachments, they all going to be on one folder with the correct naming convention.

by their email address.  for example, JohnRobert@RLCarriers.com sent me 4 attachments and JohnSmith@BestTransportation.com sent me 3 attachments and let say someone else LynneHuck@AVLogistics.com sent me 2 attachments, and JoannaTonne@RCSLogitics.com sent me 1 attachment.  I need to rename the file from John Robert as RLCarriers_1 thru RLCarriers_4.xlsx, so that way I get the correct file from John Robert and rename properly.  Otherwise, I would I know which file came who after I download into that folder?  When I do it manually, I download each file, then drag the file into the folder, and then rename the file and which I already know where it came from.  I Repeat the same procedure for the second file, if I have more than one file.

TTC
Super User
Super User

So far, that's the only thing that work when I did it that way.  I know there's a better way to do it, but I cannot figure it out.

 

TTC_0-1680018589974.png

 

Helpful resources

Announcements

Community will be READ ONLY July 16th, 5p PDT -July 22nd

Dear Community Members,   We'd like to let you know of an upcoming change to the community platform: starting July 16th, the platform will transition to a READ ONLY mode until July 22nd.   During this period, members will not be able to Kudo, Comment, or Reply to any posts.   On July 22nd, please be on the lookout for a message sent to the email address registered on your community profile. This email is crucial as it will contain your unique code and link to register for the new platform encompassing all of the communities.   What to Expect in the New Community: A more unified experience where all products, including Power Apps, Power Automate, Copilot Studio, and Power Pages, will be accessible from one community.Community Blogs that you can syndicate and link to for automatic updates. We appreciate your understanding and cooperation during this transition. Stay tuned for the exciting new features and a seamless community experience ahead!

Summer of Solutions | Week 4 Results | Winners will be posted on July 24th

We are excited to announce the Summer of Solutions Challenge!    This challenge is kicking off on Monday, June 17th and will run for (4) weeks.  The challenge is open to all Power Platform (Power Apps, Power Automate, Copilot Studio & Power Pages) community members. We invite you to participate in a quest to provide solutions to as many questions as you can. Answers can be provided in all the communities.    Entry Period: This Challenge will consist of four weekly Entry Periods as follows (each an “Entry Period”)   - 12:00 a.m. PT on June 17, 2024 – 11:59 p.m. PT on June 23, 2024 - 12:00 a.m. PT on June 24, 2024 – 11:59 p.m. PT on June 30, 2024 - 12:00 a.m. PT on July 1, 2024 – 11:59 p.m. PT on July 7, 2024 - 12:00 a.m. PT on July 8, 2024 – 11:59 p.m. PT on July 14, 2024   Entries will be eligible for the Entry Period in which they are received and will not carryover to subsequent weekly entry periods.  You must enter into each weekly Entry Period separately.   How to Enter: We invite you to participate in a quest to provide "Accepted Solutions" to as many questions as you can. Answers can be provided in all the communities. Users must provide a solution which can be an “Accepted Solution” in the Forums in all of the communities and there are no limits to the number of “Accepted Solutions” that a member can provide for entries in this challenge, but each entry must be substantially unique and different.    Winner Selection and Prizes: At the end of each week, we will list the top ten (10) Community users which will consist of: 5 Community Members & 5 Super Users and they will advance to the final drawing. We will post each week in the News & Announcements the top 10 Solution providers.  At the end of the challenge, we will add all of the top 10 weekly names and enter them into a random drawing.  Then we will randomly select ten (10) winners (5 Community Members & 5 Super Users) from among all eligible entrants received across all weekly Entry Periods to receive the prize listed below. If a winner declines, we will draw again at random for the next winner.  A user will only be able to win once overall. If they are drawn multiple times, another user will be drawn at random.  Individuals will be contacted before the announcement with the opportunity to claim or deny the prize.  Once all of the winners have been notified, we will post in the News & Announcements of each community with the list of winners.   Each winner will receive one (1) Pass to the Power Platform Conference in Las Vegas, Sep. 18-20, 2024 ($1800 value). NOTE: Prize is for conference attendance only and any other costs such as airfare, lodging, transportation, and food are the sole responsibility of the winner. Tickets are not transferable to any other party or to next year’s event.   ** PLEASE SEE THE ATTACHED RULES for this CHALLENGE**   Week 1 Results: Congratulations to the Week 1 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge.   Community MembersNumber SolutionsSuper UsersNumber Solutions Deenuji 9 @NathanAlvares24  17 @Anil_g  7 @ManishSolanki  13 @eetuRobo  5 @David_MA  10 @VishnuReddy1997  5 @SpongYe  9JhonatanOB19932 (tie) @Nived_Nambiar  8 @maltie  2 (tie)   @PA-Noob  2 (tie)   @LukeMcG  2 (tie)   @tgut03  2 (tie)       Week 2 Results: Congratulations to the Week 2 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Week 2: Community MembersSolutionsSuper UsersSolutionsPower Automate  @Deenuji  12@ManishSolanki 19 @Anil_g  10 @NathanAlvares24  17 @VishnuReddy1997  6 @Expiscornovus  10 @Tjan  5 @Nived_Nambiar  10 @eetuRobo  3 @SudeepGhatakNZ 8     Week 3 Results: Congratulations to the Week 3 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Week 3:Community MembersSolutionsSuper UsersSolutionsPower Automate Deenuji32ManishSolanki55VishnuReddy199724NathanAlvares2444Anil_g22SudeepGhatakNZ40eetuRobo18Nived_Nambiar28Tjan8David_MA22   Week 4 Results: Congratulations to the Week 4 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Week 4:Community MembersSolutionsSuper UsersSolutionsPower Automate Deenuji11FLMike31Sayan11ManishSolanki16VishnuReddy199710creativeopinion14Akshansh-Sharma3SudeepGhatakNZ7claudiovc2CFernandes5 misc2Nived_Nambiar5 Usernametwice232rzaneti5 eetuRobo2   Anil_g2   SharonS2  

Check Out | 2024 Release Wave 2 Plans for Microsoft Dynamics 365 and Microsoft Power Platform

On July 16, 2024, we published the 2024 release wave 2 plans for Microsoft Dynamics 365 and Microsoft Power Platform. These plans are a compilation of the new capabilities planned to be released between October 2024 to March 2025. This release introduces a wealth of new features designed to enhance customer understanding and improve overall user experience, showcasing our dedication to driving digital transformation for our customers and partners.    The upcoming wave is centered around utilizing advanced AI and Microsoft Copilot technologies to enhance user productivity and streamline operations across diverse business applications. These enhancements include intelligent automation, AI-powered insights, and immersive user experiences that are designed to break down barriers between data, insights, and individuals. Watch a summary of the release highlights.    Discover the latest features that empower organizations to operate more efficiently and adaptively. From AI-driven sales insights and customer service enhancements to predictive analytics in supply chain management and autonomous financial processes, the new capabilities enable businesses to proactively address challenges and capitalize on opportunities.    

Updates to Transitions in the Power Platform Communities

We're embarking on a journey to enhance your experience by transitioning to a new community platform. Our team has been diligently working to create a fresh community site, leveraging the very Dynamics 365 and Power Platform tools our community advocates for.  We started this journey with transitioning Copilot Studio forums and blogs in June. The move marks the beginning of a new chapter, and we're eager for you to be a part of it. The rest of the Power Platform product sites will be moving over this summer.   Stay tuned for more updates as we get closer to the launch. We can't wait to welcome you to our new community space, designed with you in mind. Let's connect, learn, and grow together.   Here's to new beginnings and endless possibilities!   If you have any questions, observations or concerns throughout this process please go to https://aka.ms/PPCommSupport.   To stay up to date on the latest details of this migration and other important Community updates subscribe to our News and Announcements forums: Copilot Studio, Power Apps, Power Automate, Power Pages

Users online (1,171)