I am trying to create a Custom button on an Opp Record Page to trigger a flow.
I placed the flow Button on Campaign__c Record page. This Object, Campaign__c, has a Masterdetail relationship with Opps and a Lookup with Acc.
The flow is working correctly and if I debug it I get what I want: I start by selecting A record Opp. and the Lookup fields in the screen element get auto populated.
(Yeah, sorry for the OPP and ACC names)
When the flow is triggered from a record page I want the Account and Opp lookup fields to be auto-populated in the flow screen.
I honestly don't know how to get there, I have created record variable - Text or Record (tried both)
At the moment this is how is set up the 2 lookup fields in the flow and works (Only) within the debug page:
I found a tip where it was suggesting to append a something to the button link: /flow/J_New_Campaign?OppRecordId={!Opportunity.Id}
Which I don't know if it makes sense.
Thank you all for the help and support.