Working as Expected
Platform / Lightning Flow
Flow - Dependent Picklists input component causes required fields to become ignored, Error is then displayed
Summary
When using the Dependent Picklists input component on a screen flow,
Required inputs shared on the same screen can become bypassed.
Clicking next and proceeding can lead to the below error
class java.lang.String cannot be cast to class moduleapi.interaction.FlowPicklistValue (java.lang.String is in module java.base of loader 'bootstrap'; moduleapi.interaction.FlowPicklistValue is in unnamed module of loader org.eclipse.osgi.internal.loader.EquinoxClassLoader @99a65d3)”
https://help.salesforce.com/articleView?id=flow_ref_elements_screencmp_dependentpicklists.htm&r=https%3A%2F%2Fwww.google.com%2F&type=5
Required inputs shared on the same screen can become bypassed.
Clicking next and proceeding can lead to the below error
class java.lang.String cannot be cast to class moduleapi.interaction.FlowPicklistValue (java.lang.String is in module java.base of loader 'bootstrap'; moduleapi.interaction.FlowPicklistValue is in unnamed module of loader org.eclipse.osgi.internal.loader.EquinoxClassLoader @99a65d3)”
https://help.salesforce.com/articleView?id=flow_ref_elements_screencmp_dependentpicklists.htm&r=https%3A%2F%2Fwww.google.com%2F&type=5
Workaround
We haven't loaded the full details for this issue yet. Check the official page.
History
First tracked here as Working as Expected with 4 reports
Nov 30, 2026