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.