You need to sign in to do that
Don't have an account?
chaithaly gowda
How to launch a flow from lightning using pagereference
Hi
I have a requirement to launch a flow from lightning component using pagreference.
I was able to do it with WebPage pagereference type but domain name cant be consistant across the sandboxes.
So, trying to find out if we can navigate from a lightning page to a flow using lightning:navigation
I have a requirement to launch a flow from lightning component using pagreference.
I was able to do it with WebPage pagereference type but domain name cant be consistant across the sandboxes.
So, trying to find out if we can navigate from a lightning page to a flow using lightning:navigation
Greetings!
You can call the flow without including the domain name.Please refer the sample code below:
Here,instead of "/006/o" you can use the flow url as below:
/flow/flowname
Reference:https://developer.salesforce.com/docs/component-library/bundle/force:navigateToURL/documentation
Kindly mark it as best answer if it helps so that it can help others in the future.
Warm Regards,
Shirisha Pathuri
But I am trying to acheive this using pagererence and looking for some solution in this aspect.
Any other assistance will be much appreciated ,Thanks.