I created a lightning component. I embedded this lightning component in a VF page and then I'm calling this VF Page from a button on Contact Detail page. This is working fine.(We went with this approach as we are in Classic) Then on detail page, we have one more button which opens a flow. From that flow after few screens, we have to call this lightning component. This was also working fine. Then I added lot of other functionalities on the lightning component. This works fine when opened from Detail page button. No issues here. But when I'm testing this from Flow, it is not working. I'm not sure what's going on. The only thing that I changed was add an additional parameter from Flow to lightning component. I checked in the lightning controller for all the parameters that flow is sending and they all look good. I checked debug logs and the init method in the Apex Controller is getting called and data is retrieved without any errors. But the page is not getting loaded. Below is the screenshot of the error

Error Message

Error message: “This page has an error. You might just need to refresh it. Action.prototype.finishAction Error [Component.createComponenetStack: invalid config. Expected component definition, found ‘undefined’. Callback failed: serviceComponent://ui.interaction.runtime.components.controllers.FlowRunTimeController//ACTION$executeAction]Failing descriptor: {flowruntime:flowRuntime}

Can someone please help me with this issue.


I was able to figure out the cause. I used trial and error method by taking out one field at a time from my lightning component. Looks like the issue was with 'force:outputField' field that I was using on the lightning component. Not sure why though. Changed it to ui:outputcheckbox and it is working now

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.