Flow Apex Class / Interview / Offline Symbol Table - Possible?

Issue #1518 resolved
Rick Nendza created an issue

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)

  1. Scott Wells repo owner

    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.

  2. Justin Julicher

    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?

  3. Eric Kintzer

    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)

  4. Log in to comment