O'Reilly logo

Learning Salesforce Visual Workflow by Rakesh Gupta

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Hands on 4 – understanding Subflow and the Wait Element

Subflow allows us to embed an existing Flow into another Flow. You can use Subflow input and output assignments to transfer the data between the master Flow and the referenced Flow, whereas the Wait element can only be used in autolaunched Flow to create a time-dependent action, for example, for sending an e-mail to the Opportunity owner after 10 days of Opportunity close date. To understand Subflow, we have to create a master Flow first.

Creating a master Flow

A business scenario: Sara Bareilles is working as a system administrator in Universal Container. She wants to use Flow to create an Opportunity. Set the Opportunity fields according to the following requirements:

  • Close date is today plus ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required