I'm trying to create a location record from an account using Lightning flow. Requirement is that, location has to be created on an account record and create an associated account relation with the account.

In simple words, when a location is created on an account, account-location relation must be made on an associated account object. When I start the flow on account "An unhanded fault has occurred in this flow" error shows up. If enter the account id manually in debug, I was able to create location record and the relation, so the flow is working fine. I want to pass the account id in the account field of the screen component before I start the flow. How do I do that? Please refer to the attached screenshot.

enter image description here

  • Tony - it looks like your screenshot didn't come through, could you try to add it again? – shannonsans Feb 7 at 17:00

Your Answer

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

Browse other questions tagged or ask your own question.