cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
RubenRybnick
Regular Visitor

Create item on a list is sometimes not Working

Hello,

 

i have trouble building a Flow in Power Automate. We have some kind of a softare release process which i would like to automate. 

 

The procedure is receiving a email like "Testing-Freigabe SW Softwarename v00". With that email i want to create a item in a list with the Softwarename as Title and the version in a separate coloumn. See picture below.

 

For Create Item i use the functions

for Title

split(split(triggerOutputs()?['body/subject'],'SW')[1],'v')[0]

and

trim(last(split(triggerOutputs()?['body/subject'], 'v')))

for version

 

The flow is working for emails with software names that are one or three word long, but not for two or four word software names.

 

Like "Testing-Freigabe SW daniel v000" and "Testing-Freigabe SW daniel daniel daniel v000" are working, "Testing-Freigabe SW daniel daniel v000" is not. 

 

Can anyone help me?

 

RubenRybnick_0-1677226258176.png

 

 

 

RubenRybnick_1-1677226276621.png

 

13 REPLIES 13
Expiscornovus
Most Valuable Professional
Most Valuable Professional

Hi @RubenRybnick,

 

Tried to reproduce your issue with the example values you shared. In all instances it seems to work, your expressions look alright. As far as I can tell all three values should work.

 

I would suggest to double check your subject value of the flow instances which failed just to double check if there are not any strange characters in the subject line, which might influence your expressions.

 

Below was how I tested this btw.

 

1. Flow repro setup

 

unabletoreproduce.png

 

2. Test result, which seem correct, right?

 

unabletoreproduce02.png



Happy to help out! 🙂

Interested in more #PowerAutomate #SharePointOnline or #MicrosoftCopilotStudio content?
Visit my blog, Subscribe to my YouTube channel or Follow me on Twitter


RubenRybnick
Regular Visitor

Hi @Expiscornovus 

 

thank you for your support. I tested the flow by sending an email to myself. I send myself the same email with just different amounts of daniel and the just one daniel email did not work.

 

Sometimes two words do not work, sometimes one word. I have allready send myself about 100 Emails and i dont see a pattern. 

 

RubenRybnick_1-1677234847107.png

 

 

RubenRybnick_0-1677234817222.png

 

RubenRybnick
Regular Visitor

@Expiscornovus 

 

I tried it again with a longer Version aka with two . and it changed its behaviour.

 

RubenRybnick_2-1677235142134.png

RubenRybnick_3-1677235158868.png

 

This Time only the one and two word Software worked. Is there any issue with the . in the Version?

RubenRybnick
Regular Visitor

@Expiscornovus 

 

i added trim to the tile function and it improved the flow, but for some version numbers its still not working

 

trim(split(split(triggerOutputs()?['body/subject'],'SW')[1],'v')[0])

 

RubenRybnick_4-1677235575208.pngRubenRybnick_5-1677235595525.png

 

Expiscornovus
Most Valuable Professional
Most Valuable Professional

Hi @RubenRybnick,

 

As far as I am aware there shouldn't be an issue with that dot.

 

Like I mentioned in my previous reply, can you still double check the subject field in the outputs of your When a new email arrives (v3) action for the ones that don't work? That might give you a clue.

 

outputs_flowrun.pngoutputs_flowrun02.png



Happy to help out! 🙂

Interested in more #PowerAutomate #SharePointOnline or #MicrosoftCopilotStudio content?
Visit my blog, Subscribe to my YouTube channel or Follow me on Twitter


I tried to check the outputs, but i cant. Maybe you can give me a hint.

 

I tried to Test the Workflow manual by the Test button and sending me an email with the Testing-Freigabe SW daniel daniel daniel v001.00 subject, but the flow is just waiting for an email.

 

I have send the exact same email again and nothing happend. After that the next one and this one worked.

I dont know why.

 

RubenRybnick_0-1677236724459.pngRubenRybnick_1-1677236734698.png

 

 

 

 

 

Expiscornovus
Most Valuable Professional
Most Valuable Professional

Hi @RubenRybnick,

 

To check the outputs you can use the steps below. Btw, what type of field is Version in the SharePoint list (single line of text?)

 

1. Go to 28-day flow run history

 

flowrunhistory.png

 

2. Click on the instance of the flow which resembles the time of the test with the daniel daniel daniel test (the one which did not work). In my example the one of 10:53 AM

 

3. With the run history expand the When an new email arrives (v3) action

4. Click on the Click to Download link

 

outputs_flowrun.png

 

Plan B would be to place a Compose directly after the When a new email arrives (v3) and use the subject field in there, without any expression functions like split.



Happy to help out! 🙂

Interested in more #PowerAutomate #SharePointOnline or #MicrosoftCopilotStudio content?
Visit my blog, Subscribe to my YouTube channel or Follow me on Twitter


RubenRybnick
Regular Visitor

@Expiscornovus 

 

There is no flow for the "failed" flows. I can find a flow for that daniel daniel daniel issue i mentioned a few posts above. For some kind the flow does not even start. 

Expiscornovus
Most Valuable Professional
Most Valuable Professional

Hi @RubenRybnick,

 

I don't think you will find a flow with a status failed for these emails. You don't have an error in your flow. Your expressions work but simply output the wrong information.

 

Have a look for one with the status succeeded or Test succeeded.

 

And otherwise test it again by sending an new email.



Happy to help out! 🙂

Interested in more #PowerAutomate #SharePointOnline or #MicrosoftCopilotStudio content?
Visit my blog, Subscribe to my YouTube channel or Follow me on Twitter


RubenRybnick
Regular Visitor

Hi @Expiscornovus 

 

my output looks a little bit messy.

What kind of Tool do you use for formatting? 

 

But the subject seems fine

 

subject":"Testing-Freigabe SW daniel daniel daniel v001.00"

RubenRybnick_0-1677244123269.png

 

Expiscornovus
Most Valuable Professional
Most Valuable Professional

Hi @RubenRybnick,

 

When I click download it just opens in another tab of my browser (FireFox), which handles the formatting.

 

I am not entirely sure you checked the correct flow history run? You wanted to troubleshoot one which had v001.00.00. If it is showing v001.00 in the subject you are probably looking at the wrong flow history run.

 

Double check this by matching the receivedDatetime value within the Outputs against the time your received the e-mail in your Outlook (in one of your earlier screenshots it showed 11:41).

 

Or in your next test just use a different Title, that will make troubleshooting a bit easier 😁

 

Try testing with something like this in the subject of your e-mail:

Testing-Freigabe SW PowerAutomate PowerApps PowerBI v001.00.00

 

correctflowrun.png



Happy to help out! 🙂

Interested in more #PowerAutomate #SharePointOnline or #MicrosoftCopilotStudio content?
Visit my blog, Subscribe to my YouTube channel or Follow me on Twitter


Hi @Expiscornovus 

 

i just checked the checks in the run history.

I have send an Email, but the check was just skipped. For some reason the flow just skipped the email. I dont know why and i cant find any further information about that skip.

 

RubenRybnick_0-1677248529890.png

 

RubenRybnick_1-1677248542052.png

RubenRybnick_2-1677248575915.png

 

 

 

Expiscornovus
Most Valuable Professional
Most Valuable Professional

Hi @RubenRybnick,

 

Two follow-up questions.

 

1. How are you testing? Are you using the Test button in the right top corner of the flow designer?

 

If so, that shouldn't be needed, because the e-mail itself should already trigger your flow.

 

2. Can you check the settings of your When a new email arrives (v3) trigger action? Ideally you copy/paste the code from the peek code option. 

 

Below is a gif (click on the gif to see it in higher resolution) how you can copy that code (and share it in this thread).

 

peekcode_newemailarrivesv3.gif

 

 



Happy to help out! 🙂

Interested in more #PowerAutomate #SharePointOnline or #MicrosoftCopilotStudio content?
Visit my blog, Subscribe to my YouTube channel or Follow me on Twitter


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,520)