Migrate Sequence Actions to Business Timing
Migrate existing Calendar Days sequence actions to Working Days or Business Hours timing while reviewing the proposed changes before you apply them.
Guided Selling v13 and later
Before migrating actions:
- Review Configure Working Days and Business Hours and confirm the schedules Guided Selling will use.
- Review Configure Business Timing so you understand the timing options available on each action.
Decide what to migrate
Existing sequence actions retain their prior timing after upgrading to v13. You can migrate gradually, and Calendar Days and Working Days actions can coexist while you transition.
Start with sequences where calendar-based timing is creating the most visible problems, such as actions becoming due on non-working days or outside useful working hours.
Choose a migration method
Use the Sequence Builder for a small number of actions. Use the migration API when you need to convert many eligible actions and want an audit file showing the proposed or completed changes.
Update actions in the Sequence Builder
- Open the sequence in the Sequence Builder.
- Open the action you want to update.
- Change the action timing from Calendar Days to the appropriate Working Days or Business Hours option.
- Review the delay.
- Save the action.
- Repeat for the remaining actions.
Review existing hour-based delays during this process. Some sequences may contain long hour delays that were originally used to push work into the next day.
Migrate actions with the API
The businessTimingMigration API supports a dry run before applying changes.
For an initial migration, scope the request to a small set of Sequence IDs and review the generated audit file before migrating additional sequences.
Run a dry run
- In Salesforce, open the Developer Console.
- Select Debug > Open Execute Anonymous Window.
- Run the following Apex:
RDNACadence.Api api = new RDNACadence.Api();
Map<String, Object> result = api.call(
'businessTimingMigration',
new Map<String, Object>{
'dryRun' => true,
'workingDaysPreference' => 'Working Days Same Time of Day',
'sequenceIds' => new List<Id>{ 'a0B...' }
}
);
System.debug('Job ID: ' + result.get('jobId'));Replace a0B... with the Sequence IDs you want to evaluate.
No records are changed during a dry run.
Review the dry-run audit file
- Open App Launcher > Files.
- Find the CSV file whose name begins with
DRY_RUN_BusinessTiming_. - Download the file.
- Review the proposed conversion for each action.
- Identify any actions that require manual review before continuing.
Apply the migration
- Open Debug > Open Execute Anonymous Window in the Developer Console.
- Run the same request with
dryRunset tofalse.
RDNACadence.Api api = new RDNACadence.Api();
Map<String, Object> result = api.call(
'businessTimingMigration',
new Map<String, Object>{
'dryRun' => false,
'workingDaysPreference' => 'Working Days Same Time of Day',
'sequenceIds' => new List<Id>{ 'a0B...' }
}
);
System.debug('Job ID: ' + result.get('jobId'));A CSV file whose name begins with MIGRATED_BusinessTiming_ is saved to Salesforce Files as an audit record of the migration.
Understand how actions are converted
| Existing delay | Migration result |
|---|---|
1–7 hours and no days | Business Hours with the hour value preserved |
8–24 hours and no days | 1 Working Day |
| Days only and no hours | Same number of Working Days |
| Days plus hours | Working Days with the day count increased by 1, using Start of Day |
0 days and 0 hours | No conversion |
| Unusual combinations | Flagged for manual review in the audit CSV |
Review the dry-run CSV instead of assuming every action will receive the same timing configuration.
Migrate in batches
- Start with a small set of sequences.
- Run a dry run.
- Review the audit CSV.
- Apply the migration to those sequences.
- Verify the resulting action timing in the Sequence Builder.
- Repeat for additional sequences.
Actions already converted to Working Days or Business Hours are not reprocessed by subsequent migration runs.
For large orgs with more than 8,000 eligible actions, migrate in batches by using different sequenceIds lists.
Verify migrated sequences
- Open each migrated sequence in the Sequence Builder.
- Review several representative actions.
- Confirm the selected timing mode and delay.
- Confirm the applicable working days, business hours, and time zone are correct.
- Review projected timing for participants before expanding the migration to additional sequences.
For schedule configuration, see Configure Working Days and Business Hours.
For details about how first actions and later actions calculate their timing, see Configure Business Timing.