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