Open ezrafischer opened 5 years ago
Plcae the flow in your component
<lightning:flow aura:id="myFlowContainer"/>
in the js controller start it by giving the name of the flow and the parameters:
var flow = component.find("myFlowContainer");
var inputVariables = [
{
name : "myFlowVar",
type : "String",
value : component.get("v.recordId")
}
];
flow.startFlow("myFlowName", inputVariables );
hth
Hi there,
Back with another question - thanks in advance for your help. Is there a way I can run a flow from a row button? I want to run a simple autolaunched flow that takes the row's object's record id as an input. Other than that, it'll just do its thing.
Thanks!
Ezra