Configuring a Salesforce Flow to Synchronize Recognition Schedules When a Source Record Is Created or Updated
If Revenue Management is configured to generate revenue schedules, you can set up a Salesforce flow so that when a source record is created or updated, the synchronize process runs to create or update its revenue schedules. This means that the source record's revenue schedules are updated immediately without you needing the run the synchronize process separately.
Here is an outline of the flow you will be building. (Click the image to expand it.)
Before You Begin
Before you begin, Revenue Management must be configured to generate revenue schedules. See Setting up Revenue Management and Additional Setup for Generating Recognition Schedules.
For information about how to configure Revenue Management to recognize revenue and cost against revenue schedules, see Recognize against Recognition Schedules.
Creating the Flow
In these instructions, you must specify your source object. For illustration purposes, these instructions use PSA' s Timecard as the source object.
- From Setup, navigate to Flows. Create a new flow of type Record-Triggered Flow.
- On the Configure Start window, set:
Object: Timecard
Trigger the Flow When: A record is created or updated
Set Entry Conditions: None
Optimize the Flow for: Actions and Related Records - Click Done.
- Click the + symbol between the Start Icon and the End icon, then choose to add an Action element.
- Complete the New Action window as follows:
Action: Synchronize Revenue Schedules from source records
Label: Synchronize Timecards
API Name: Synchronize_Timecards
Description: Synchronize revenue schedules when timecard is created or updated
Set Input Values: {!$Record.Id} - Click Done.
- Save your flow then click Activate.
Now when you create or update a timecard, the synchronize process runs to create or update the revenue schedules for that source record.