web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Problem with Power Red...
Power Automate
Unanswered

Problem with Power Redirecting after submission

(0) ShareShare
ReportReport
Posted on by 16

Hey Everyone,
I am facing a situation :
I have created a power apps which works as a survey form and on start of the app I create a collection and Add column from my SharePoint Questions and AddColumns of my own:
OnStart Code:

Refresh(SPSurveryQues3);
ClearCollect(
    ResponsesColl,
    AddColumns(
        ShowColumns(
            SPSurveryQues3,
            "Title",
            "Question",
            "QuestionRefNo",
            "Domain",
            "ProgType",
            "Index"
           
        ),
        "QResponse",
        "a",
        "QUser",
        User().Email,
        "Data",
        ""
           
    )
);
Set(
    varCurrentIndex,
    1
);
Set(
    varTotalRecords,
    CountRows(ResponsesColl)
);

My Gallery Items Code is:

LookUp(ResponsesColl, Index = varCurrentIndex)
zabi_1-1686612641858.png

 

 

This is the code for every button on select:

Patch(
    ResponsesColl,
    LookUp(
        ResponsesColl,
        QuestionRefNo = ThisItem.QuestionRefNo
    ),
    {QResponse: Button2_6.Text}
);
If(
    varCurrentIndex = varTotalRecords,
    Navigate(Screen3)
);
If
(
    varCurrentIndex <= varTotalRecords,
    Set(
        varCurrentIndex,
        varCurrentIndex + 1
    )
);
When the last Question button is pressed and answered the program will redirect to he submit page:
zabi_0-1686612515899.png

 


 

 



UpdateContext({
    MaxResponseID: Max(SPSurveyAns2, 'SurveyID (ResponseID)')
});


ForAll(
    ResponsesColl,
    Patch(
        SPSurveyAns2,
        Defaults(SPSurveyAns2),
        {
            Title: Question,
            QuestionRefNo: QuestionRefNo,
            ProgType: ProgType,
            Response: QResponse,
            'SurveyID (ResponseID)': MaxResponseID + 1
        }
    )
);
Clear(ResponsesColl);
Navigate(Screen2);
Refresh(SPSurveryQues3);
Notify("Your Response was submitted successfully! You are amazing");

AT THIS STAGE AFTER CLICKING ON SUBMIT I EXPECT THE APP TO RENDER SCREEN 2 BACK FOR ME BUT THE SCREEN GOES WHITE:
zabi_2-1686612009845.png

 


Then I need to refresh the chrome page to get my app screen 2 Again.
I there any way I could automate that refresh?

 
Categories:
I have the same question (0)

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 86 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 55

#3
Ellis Karim Profile Picture

Ellis Karim 53 Super User 2026 Season 1

Last 30 days Overall leaderboard