Showing results for 
Search instead for 
Did you mean: 
Not applicable

Issue with Update context after July power apps release

My Form stopped working after Power app released updates in July. I have multi approval power app form, where users will add approvers in a repeating section Gallery. Once the approver approves the form, details like status, date of approval and duration will be appended to the particular approver record.


Below is the code written on 'Approve' button:



If(Text(status check)="Awaiting approval from initial Approvers",
UpdateContext (
Status1 ,";",Text(DateofApproval1),";", Duration1,";", "|"))}););


Here InitialApprover is the Gallery collection and InitialRSDetails is the string variable which will save in the list column.


This is not working now, instead when approver clicks on Approve button entire InitialRSDetails is becoming null.

Resident Rockstar
Resident Rockstar

What is Text(status check)?

At a glance, that seems incorrect. Typically named references won't allow spaces. Since you're using it as a conditional check, it may not ever be set. You should consider having that variable have a default, by either adding a conditional else branch that also does an UpdateContext, or move the condition into the UpdateContext() block, so it always updates the context, but does it conditionally.


Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on June 15, 2022 at 8am PDT.

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.


New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Top Kudoed Authors
Users online (1,852)