You need to sign in to do that
Don't have an account?
Admin User 10161
Get Current Record of an object on Flow Builder
Hi everyone,
I would like to know if it is possible for an object like "Lead", "Opportunity" or "Account" to get the value of the fields from the current record on Flow Builder.
For example when I enter to a Lead with the field "Name" equals to "John Doe" I would like to display on the screen "John Doe".
Is it possible to do that on the filters of "Get Records"? Instead of having a filter like "Name = ..." I would like to have a filter "Get Current Name".
I would like to know if it is possible for an object like "Lead", "Opportunity" or "Account" to get the value of the fields from the current record on Flow Builder.
For example when I enter to a Lead with the field "Name" equals to "John Doe" I would like to display on the screen "John Doe".
Is it possible to do that on the filters of "Get Records"? Instead of having a filter like "Name = ..." I would like to have a filter "Get Current Name".
First dreate a Flow Variable linked to an SObject. You do this by selecting SObject variable from the Default Value selection box. Data type as Text and Input/Output Type as Input and Output.
Then the URL on the custom button will look like: /flow/Get_Inquiry?InquiryID={!Inquiry__c.Id}
For your reference,
https://success.salesforce.com/answers?id=9063A000000id3jQAA
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks!
All Answers
First dreate a Flow Variable linked to an SObject. You do this by selecting SObject variable from the Default Value selection box. Data type as Text and Input/Output Type as Input and Output.
Then the URL on the custom button will look like: /flow/Get_Inquiry?InquiryID={!Inquiry__c.Id}
For your reference,
https://success.salesforce.com/answers?id=9063A000000id3jQAA
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks!
Thank you for the answer.
However, I still need more clarification because I already read this answer somewhere and did not understand it. When I create the Flow Variable there is no SObject variable on the default value. The only variable that I have is "$Flow".
I also did not understand where to put the following URL: /flow/Get_Inquiry?InquiryID={!Inquiry__c.Id}
I will be very delighted if you provide me further details about that.
https://success.salesforce.com/answers?id=9063A000000lQbzQAE
https://success.salesforce.com/answers?id=906300000010wiFAAQ
Thanks!