Skip to content
Bug Barometer

subflow have a Record variable which is "Available for output" and its API name is same as the API name of subflow in Parent flow

Salesforce says this is fixed.

Summary

if subflow have a Record variable which is "Available for output" and its API name is same as the API name of subflow in Parent flow

flow fails with
Cause0: java.lang.ClassCastException: class moduleapi.interaction.FlowMap cannot be cast to class common.apex.runtime.SObjectRow (moduleapi.interaction.FlowMap and common.apex.runtime.SObjectRow are in unnamed module of loader org.eclipse.osgi.internal.loader.EquinoxClassLoader @15723761)

Workaround

We haven't loaded the full details for this issue yet. Check the official page.

History

  1. First tracked here as Solution Deployed with 4 reports

    Nov 30, 2026

Also open in Lightning Flow