Skip to main content

Notifications

Community site session details

Community site session details

Session Id : vK2NN34lqIz3elypmKMg6Y
Power Automate - General Discussion
Answered

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

Like (0) ShareShare
ReportReport
Posted on 27 Aug 2020 19:43:06 by

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!

 

  • RodolfoIsturiz Profile Picture
    24 on 24 Jun 2021 at 07:58:45
    Re: SharePoint List Remains Blank When A New Form is Submitted, While Flow Runs Successfully

    Thank you a lot @Mila and @Hardesh15 ! You also helped me a lot. I had the same problem with my flow, but now it is working perfectly!

     

    Regards,

  • Community Power Platform Member Profile Picture
    on 28 Aug 2020 at 16:06:50
    Re: SharePoint List Remains Blank When A New Form is Submitted, While Flow Runs Successfully

    THANK YOU!! 

     

    This has now worked for me!! 

     

    Thanks so much for your help @Hardesh15 - you're a legend!

     

     

  • Verified answer
    Hardesh15 Profile Picture
    7,087 Super User 2024 Season 1 on 28 Aug 2020 at 16:05:05
    Re: SharePoint List Remains Blank When A New Form is Submitted, While Flow Runs Successfully

    @Anonymous 

     

    Its simplified version of the same-

    Hardesh15_1-1598630675105.png

     

    Thanks

    Hardesh

     

  • Verified answer
    Hardesh15 Profile Picture
    7,087 Super User 2024 Season 1 on 28 Aug 2020 at 15:57:05
    Re: SharePoint List Remains Blank When A New Form is Submitted, While Flow Runs Successfully

    @Mila 

     

    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

  • Community Power Platform Member Profile Picture
    on 28 Aug 2020 at 15:51:34
    Re: SharePoint List Remains Blank When A New Form is Submitted, While Flow Runs Successfully

    So sorry @Hardesh15 , I tried but this doesn't work.

     

    Mila_0-1598629850568.png

    I have now updated the MS Form and deleted the date/time questions, and rebuilt them as single line text so that I can move on with the process. 

     

    Thank you SO much for trying to help me!

  • Hardesh15 Profile Picture
    7,087 Super User 2024 Season 1 on 28 Aug 2020 at 15:26:07
    Re: SharePoint List Remains Blank When A New Form is Submitted, While Flow Runs Successfully

    @Anonymous 

     

    i followed your logic and created test. i have created two date question in my MS form 1. DOB (required) 2. Visa Expiry (Not required).

    and in SharePoint list made same column type.

     

    Use this expression in each create item column for which date is optional-

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

    This (outputs('Get_response_details')?['body/r6ff84fef86f6418eba18cee1bba15ec9']) is my dynamic value of Visa expiry date from dynamic content.

     
     

    121.jpg

     

    Thanks

    Hardesh

  • Community Power Platform Member Profile Picture
    on 28 Aug 2020 at 14:15:14
    Re: SharePoint List Remains Blank When A New Form is Submitted, While Flow Runs Successfully

    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).

  • Community Power Platform Member Profile Picture
    on 28 Aug 2020 at 13:16:53
    Re: SharePoint List Remains Blank When A New Form is Submitted, While Flow Runs Successfully

    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

     

     

  • Community Power Platform Member Profile Picture
    on 28 Aug 2020 at 13:04:15
    Re: SharePoint List Remains Blank When A New Form is Submitted, While Flow Runs Successfully

    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

     

     

  • Hardesh15 Profile Picture
    7,087 Super User 2024 Season 1 on 28 Aug 2020 at 11:50:05
    Re: SharePoint List Remains Blank When A New Form is Submitted, While Flow Runs Successfully

    @Mila 

    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

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Thomas Rice – Community Spotlight

We are honored to recognize Thomas Rice as our March 2025 Community…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,508 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,369 Most Valuable Professional

Leaderboard
Loading complete