You need to sign in to do that
Don't have an account?

How do I pull a case ID into a flow?
I am working in Lightning.
I have created a lightning component to launch a flow from a case. How do I pull the case ID into the flow? Once I get the case that the flow was launched from, i can get everything else I need through the flow.
I am new to all this so basic steps if possible.
My lightning component is writtem in HTML and CSS.
Any help will be greatly appreciated.
Best regards,
Steve
I have created a lightning component to launch a flow from a case. How do I pull the case ID into the flow? Once I get the case that the flow was launched from, i can get everything else I need through the flow.
I am new to all this so basic steps if possible.
My lightning component is writtem in HTML and CSS.
Any help will be greatly appreciated.
Best regards,
Steve
If you are launching flow using Lightning component then you can pass values to the variables in the following way.
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks and Regards,
Ajay Dubedi
www.ajaydubedi.com
All Answers
If you are launching flow using Lightning component then you can pass values to the variables in the following way.
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks and Regards,
Ajay Dubedi
www.ajaydubedi.com
I ask because when I try to add this to my current controller, i get this error:
Failed to save HDFlowFromCaseController.js: c.HDFlowFromCase: org.auraframework.util.json.JsonStreamReader$JsonStreamParseException: Expected ',' or '}' [36, 1]: 'var': Source
I have fiddled with this but can't seem to get past this. As well, which parts of this do I need to edit for my use? Just the following?
"otherVarFieldName__c" : storeResponse.yourFieldApiName__c
And if I do not need anything but the case ID can I just remove this part?
Thnks much,
Steve
Regards,
Naveen K N