OST does not include Flow/Process names for use with Flow.Interview.XXX

Issue #1155 new
Tony White created an issue

With the change for test coverage on flows, I am looking at invoking flows from Apex in test classes to better focus the tests and ensure each flow is tested. So I noticed that the OST does not want to resolve the flows for Flow.Interview.{FLOW_API_NAME} and highlights it as an error.


Map<String, Object> inputs = new Map<String, Object>();
inputs.put('AccountId', myAccount);
inputs.put('OpportunityId', myOppty);

Flow.Interview.myTestFlow testFlow = new Flow.Interview.myTestFlow(inputs);


Comments (2)

  1. Log in to comment