Renew an insurance brokerage policy with optional policy detail overrides.
This action is available in API version 67.0 and later.
Special Access Rules
The Renew Insurance Brokerage Policy action is available in Enterprise, Unlimited, and Developer Editions where Financial Service Cloud and Insurance Brokerage are enabled. To use this action, you need the Insurance Brokerage User permission set.
This is a sample request to call this invocable action from Apex code.
1// Create the standard Invocable Action for renewing a brokerage policy2Invocable.Action action = Invocable.Action.createStandardAction('renewInsBrokeragePolicy');34// Instantiate the input object5ConnectApi.RenewBrokeragePolicyIAInputRep input = new ConnectApi.RenewBrokeragePolicyIAInputRep();67// Required: Set the Policy ID of the original brokerage policy to renew8input.policyId = '0YjXX0000000001';910// Optional: Set renewal details11input.effectiveFromDate = '2027-01-01';12input.effectiveToDate = '2028-01-01';13input.policyName = 'Renewed Policy 2027';14input.policyNumber = 'POL-2027-RENEW';1516// Set the invocation parameter and invoke17action.setInvocationParameter('renewBrokeragePolicyIAInputRep', input);18List<Invocable.Action.Result> results = action.invoke();1920System.debug('Renew Brokerage Policy Invocable Action result = ' + results);
This is the sample response for the Renew Insurance Brokerage Policy action.