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 ...

Get Learning Salesforce Visual Workflow now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.