Flows with "Apex-Defined Data Type" variable not working after upgrade to Summer 20 release
Last updated 2020-07-02 ·Reference W-7705364 ·Reported By 2 users
Summary
After the Summer 20 release, flow are failing with blank screen when trying to assign value to apex defined variable that has already had some values assigned to it and customers are unable to proceed in this regard.
Repro
1) Sign up for a new summer 20 Org
2)create Apex class to use it as "Apex-Defined Data Type" in flow
Example:
public class ApexDefinedTempclass {
@AuraEnabled
public String customerFirstName;
@AuraEnabled
public String customerLastName;
}
2) Create a flow type "Screen Flow" and create a new resource variable type of "Apex-Defined" & use above apex class
3) add a screen and add text input fields to screen [firstname,lastname]
4) add an assignment element to flow that assigns the value of the above screen field to a string property on an apex variable.
5) add another screen and add text input fields to screen [updatedfirstname,updatedlastname]
6) add another assignment element to the flow that assigns new field values to the same apex defined variable.
7) add final screen to display the property values of apex defined variable.
Actual Result:
It is displaying an empty screen (upon clicking the next on screen 2)
Workaround
N/A
Reported By (2)
Is it Fixed?
Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.