function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Avinash RaviAvinash Ravi 

Start flow from Formula Field Link

Hi All,

I'm trying to create a Formula Field that has an image like a button that says "Generate Contract". When clicked, it has to run a flow. I'm trying to create the hyperlink but the image isn't showing at all. Thoughts?

IF( AND(Ready_for_Contract__c = TRUE,  ISNULL(ContractId)),  

HYPERLINK("/flow/Opportunity_to_Contract&OpptyID=Opportunity.Id&retURL=/Opportunity.Id", IMAGE("/servlet/servlet.ImageServer?id=0154E000000DVxa&oid=00D4E000000D6rZ&lastMod=1470934396000", "Generate",30,130))  , "")
Why you wanted to use Fromula field instead of detail page button ? 
Loren Shanks 11Loren Shanks 11
There might be a few reasons...The first thing that comes to mind is so you can set feild level security with a formual field that you cannot with a button on a page layout.