Function: retryOrAddOrgs()

retryOrAddOrgs(orgConfigs): Promise<BootstrapResponse>

Use this method to add or retry initialization for one or more Salesforce orgs. The orgs are validated and merged using the specified configurations. On completion, the SDK flow is restarted.

orgConfigs: OrgConfig[]

A list of OrgConfig objects to add or retry.

Promise<BootstrapResponse>

A promise that resolves with resulting states in a OrgStatesMap.

Use this function to add new orgs or retry failed ones after initial SDK initialization:

The response format is the same as initializeAnalyticsSdk, with orgStates containing the status of each org.