Flow Apex Class / Interview / Offline Symbol Table - Possible?
Issue #1518
resolved
Note sure if this is an IC thing or SFDC Thing but anyway to get this down in my offine system table.. ie.
Thanks!
Flow.Interview.flow_ServiceAppointment_Alerts flow = new Flow.Interview.flow_ServiceAppointment_Alerts(params);
flow.start();
Comments (6)
-
repo owner -
repo owner - changed component to Apex Editor
- marked as enhancement
- marked as minor
-
reporter Thanks Scott. You da man! :)
-
Hi Scott
What would be good if you could implement validation for flow variables perhaps by inspecting the flow metadata? And then maybe give code completion for those options?
-
Justin’s suggestion would be “the bomb” as it would avoid the insidious requirement that the map keys for the input/output flow variables must agree case sensitive (unlike the rest of apex)
-
repo owner - changed status to resolved
This was delivered in 2.3.0.5.
- Log in to comment
Rick, IC doesn't support special completions for right now Flow metadata. The
Flow.Interview
class should certainly resolve, but it's not aware of the specific flows in the system. I'll update this to be an enhancement request and look at filling that gap.