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
BarracksBarracks 

How to trigger a flow with Cloud Flow Designer when the page loads?

Hi,

I've been trying to learn and practise creating flows using the Cloud Flow Designer Workbook:
https://resources.docs.salesforce.com/sfdc/pdf/workbook_flow.pdf

So I created a similar flow to 'Calculate Discounts on Opportunities' (page 29) and it works great, but I require to activate it with a click of a button.
My question is how do I run the flow when the Case page loads automaticlly? I am using the defualt Case page and not a custom visualforce page.

Thanks
Shukla YogeshShukla Yogesh
As per my knowledge you need to create a visualforce page to run the workflow using like this: 
<apex:page standardController="Case">
<flow:interview name="MyUniqueFlowName"/>
</apex:page>

Regards,
Yogesh
BarracksBarracks
Is it possible to not create a vf page?