In my app when a user clicks the submit button the first action is to decide what action they clicked based off a "status" control. The rest of the logic is some checks then the submit. The action noted is saved in a comments column in the SharePoint list backend. It worked fine this whole time until just about the start of this month (6/2021). Now the app acts like it doesn't recognize the first action, proceeds with the rest of the logic, and my action logs a blank for the action in the comments section.
Pseudo code:
Switch(
DR_StatusDataCardValue.Selected.Value,
"Status 1",
UpdateContext({approverAction: "User Created Item"}),
"Status 2",
UpdateContext({approverAction: "Department Accepts Item"}),
"Status 3",
UpdateContext({approverAction: "Respondent Completes Request"}),
UpdateContext({approverAction: "Submits"})
);
If I create an item then complete the next step the approverAction is behind (i.e. In the Comments field of the list item approverAction logs nothing on creation. Then when I complete the next step comments logs User Created Item when it should log Department Accepts Item).
A work-around I have implemented is putting UpdateContext({approverAction: Blank()}); before the switch. This seems to work, but disproves the notion that the app seems to be ignoring the first action.