cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

SharePoint List Remains Blank When A New Form is Submitted, While Flow Runs Successfully

Hi All,

 

I have created a flow, which runs successfully, an which has the objective of transferring the data harvested through an MS Form into a SharePoint list.

 

Mila_0-1598557159514.png

 

Throughout the day, I have had all sorts of errors, including the 'string date/time' error.

The latest, and the one that keeps recurring, is that the flow runs successfully and yet my list in SharePoint is empty, with only the Title field being populated.

 

I have rebuilt that list 4 times (at some point today it would not let me import it from Excel, despite having worked ok all morning) and I am at the end of my rope. 

 

Can anyone help?

 

Thanks!

 

2 ACCEPTED SOLUTIONS

Accepted Solutions

@Anonymous 

 

Actually i pasted wrong screen. So i edit my last post. this will definitely work. i tested it.

use this kind of expression in your create item date column-

if(empty(outputs('Get_response_details')?['body/r6ff84fef86f6418eba18cee1bba15ec9']),null,outputs('Get_response_details')?['body/r6ff84fef86f6418eba18cee1bba15ec9'])

Thanks

Hardesh

View solution in original post

@Anonymous 

 

Its simplified version of the same-

Hardesh15_1-1598630675105.png

 

Thanks

Hardesh

 

View solution in original post

25 REPLIES 25

@Anonymous 

 

Pls expand your create item action and share screen. It will help me to see if you are passing correct value in it.

 

Thanks

Hardesh

Anonymous
Not applicable

Hi Hardesh, 

Thank you. 

 

Here is a screenshot:

Mila_4-1598559791693.png

Mila_5-1598559817454.png

 

The list either remains blank:

Mila_2-1598559498789.png

or sometimes is blank but with this symbol:

 

Mila_3-1598559559764.png

I have had erratic results all day which makes it very difficult to troubleshoot, in particular for a novice.

 

Thanks

Mila

 

@Anonymous 

You are passing response id incorrect. Please select response id from dynamic content.

 

Take help from here

https://flow.microsoft.com/en-us/blog/building-scratch-forms-responses/#:~:text=Getting%20the%20response%20data&text=To%20find%20the%20action%2C%20select,you%20used%20in%20the%20trigger.

 

Thanks

Hardesh

Anonymous
Not applicable

Hi Hardesh,

 

Having done that, now the Flow fails and this is what I get:

 

Mila_0-1598560693439.png

Thanks

Mila

Anonymous
Not applicable

I should also point out that I have just built a much smaller form with 3 questions (one of which 'Date') and that works ok and transfers data into a sharepoint list with no errors. 

 

I read lots of community articles, microsoft online tutorials, watched YouTube videos, but I just cant get this to work 😞

 

Mila

Anonymous
Not applicable

@Hardesh15 will you be able to help?

Hi @Anonymous 

 

I had a look at your Power Automate(Flow) and it seems that you are not Hard-coding the value in 'Get Form response' action which is not the best practice. 

 

For the “Response Id” add the output from the “When a new response is Submitted” trigger action.(screenshot below).

 

 

Untitled.png

 

In your latest update, I see the error . The runtime value '""' to be converted doesn't have the expected format 'String/date'.

  • Add a new formula for the 'Date of Birth' Field in Create action. 

 

formatDate(<YourDateField>,'dd/MM/yyyy')

 

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Anonymous
Not applicable

Hi @CFernandes 

 

What you suggested I use below I cannot find in Dynamic Content:

 

Mila_0-1598606646054.png

 

With regards to 'Add a new formula for the 'Date of Birth' Field in Create action", do you mean typing the formula string you shared right beside the dynamic content tag in the Date of Birth field on the Create Item action? 

 

Thanks

MIla

 

@Anonymous 

 

Pls add compose action before create item and pass your date of birth input in it and show me output.

Thanks

Hardesh

Anonymous
Not applicable

Hi @Hardesh15 

 

Is this what you are asking me to do? Struggling to follow with no visuals. Newbie here. 

 

I do not know where to add the formula @CFernandes gave me, and when I look for it in 'expressions', it does not come up. 

 

Mila_0-1598607404771.png

 

@Anonymous 

 

Don't worry i will help you. Yesterday i replied late night so did not catch up further.

 

Pls run your flow and show me out put of compose action like i did-

12.jpg

 

Thanks

Hardesh

Anonymous
Not applicable

Hi @Hardesh15 

 

I am unable to get the screen you get. When I select 'Inset a new Step > Compose, this is what I get:

 

Mila_0-1598610630463.png

There is only 1x Input field, that can only be populated via Dynamic content.

 

Anonymous
Not applicable

Hi @Hardesh15 

 

I converted all date-related columns in my list to 'single line text' to see whether that made a difference. 

 

Having run this again, I noticed that whenever any of the fields that have a date in the MS Form are not filled in (sometime it is not relevant to fill them in so they are left blank), I get the same error:

 

Mila_0-1598612464230.png

 

@Anonymous 

 

In above step you put correctly Date of Birth in compose action just above create Item.

Hardesh15_0-1598614250295.png

 

i want you to run flow and click on compose header it will expand and will show you input and output like this see the green dot in right upper corner it means your action ran successfully.

Hardesh15_0-1598614319978.png

 

Also what is DOB column type in your SharePoint List. make sure that you have same type of column in form and sharepoint list.

 

Thanks

Hardesh

Anonymous
Not applicable

Hi @Hardesh15 

 

The flow still failed, at a different point now, always date-related.

 

The DOB is now running correctly- I assume this is also because the field HAS been filled in the form when submitted. 

 

Mila_0-1598614747379.png

There are 5 date fields in the form. I have created a Compose action just like for the DOB.

 

3 of these are not required fields, and when they are not filled in when the form is submitted, the error occurs:

 

Mila_1-1598614939099.png

 

The flow has failed with the following error: The 'inputs.parameters' of workflow operation 'Create_item' of type 'OpenApiConnection' is not valid. Error details: Input parameter 'item/For_x0020_Non_x002d_EEA_x0020_Wo' is required to be of type 'String/date'. The runtime value '""' to be converted doesn't have the expected format 'String/date'.

@Anonymous 

now understand the issue. In compose output you see "date1986-......" why date text is added before your DOB field. in  SharePoint Date field you can only supply Date and time. you can not pass data like this. See my compose output there is no text prefix in date.

 

If you are making fields mandatory in SharePoint List then you must supply value to it. Can you give me field name from form and SharePoint List which are causing issue to you. Also please mention which are mandatory and which are optional fields. i need this to build expression so that you do not get such error.

 

Thanks

Hardesh

Anonymous
Not applicable

Hi @Hardesh15 ,

 

I do not know why they come up like that. I have used the following Question Option in Forms:

 

Mila_0-1598619347001.png

 

This is how ALL the fields that require a date (not just the date of birth) are set up in the SharePoint list: 

Mila_1-1598619487197.png

 

The flow did not fail at the DOB stage (see green tick)

Mila_2-1598619595265.png

but at the stage when one of the questions that requires a date input (non-mandatory field in the form) is NOT populated:

 

Mila_3-1598619704236.png

The Questions (shortened below for GDPR) are not mandatory in the form and not mandatory in the sharepoint list:

 

Passport expiry date

Visa Expiry date

 

 

Anonymous
Not applicable

Hi @Hardesh15 

 

I built a much simpler, 3-questions form for testing, and the same happens.

 

When the question that is set up as a 'date/time' question in the MS Form is not answered, the flow doesn't run and kicks up this error:

 

Mila_0-1598620536648.png

 

 

Anonymous
Not applicable

HI @Hardesh15 

 

At the moment the only way it works is if i change the Question style in my form (i.e. changing from a date/time question to a text question - not ideal, but hey).

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!

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.    

Summer of Solutions | Week 3 Results | Win free tickets to the Power Platform Conference

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  

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

Top Solution Authors
Users online (4,958)