Autolaunched Flow

Using Breezz Framework we can schedule Autolaunched Flow.

Let’s schedule a simple autolaunched flow.


Step 1: Create flow

Consider the situation: We want to change the Rating of Accounts from Warm to Cold once a week depending on certain conditions.

For example: Case status from the related account wasn’t updated from X days.

For this example, just to show you how it works we will change the rating of the accounts without any other condition.

Autolaunched Flow Diagram Autolaunched Flow Diagram

This flow will update Rating on the Accounts from Warm to Cold.


Step 2: Register Scheduler Job

To add this Autolaunched Flow to Scheduler go to Breezz SetupScheduler Jobs → click New.

Flow Scheduler Job Flow Scheduler Job

Input Name for Scheduler Job and a comprehensive Description. For Job Type select Autolaunched Flow. Execution Interval selects the time when scheduler must be executed, for us it’s Sunday midnight. In the Flow input the name of the Flow. In SOQL Query use a SELECT statement to return records on which you want to work. So after filling all fields click save and re-run Scheduler from Scheduler Setup or manually.


Step 3: Check Scheduler Job

To check if a scheduler was created go to App LauncherBreezzBreezz Scheduler JobsAll Custom Jobs.

Here you can see your Scheduler:

Flow Scheduler Record Flow Scheduler Record

Autolaunched Flow is designed to work with fewer records and to work more frequently. To work with more records, e.g. 10,000. We should use Autolaunched Flow - Batch, which is described in the next point.