1

I have created a screen flow in which I am trying to create an Opportunity automatically mapped to the Account and I have placed it in the account detail page.

I have added the resource named recordId too and mapped it to AccountId of Opportunity in the create record component, as the associated account ID will automatically get passed to the recordId variable from Account detail page.

But when I enter the Opportunity details and click on create, the Opportunity is getting created, but it is not getting mapped to respective Account. Can anyone please let me know why the record isn't getting mapped.

Below is the image of my mapping in create record element.

enter image description here

1 Answer 1

1

Please check if you have followed the below steps:

  1. Marking the recordId as required in the flow:

enter image description here

  1. While adding the flow to app builder, check the Pass recordId into this variable to the appropriate flow variable.

enter image description here

1
  • I had missed the last step! where we have to check the pass record ID into this variable. It worked perfectly now. Thank you. Commented Nov 23, 2020 at 17:11

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .