Issue an insurance brokerage policy by specifying the policy ID.
This action is available in API version 67.0 and later.
Special Access Rules
The Issue 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 issuing a brokerage policy2Invocable.Action action = Invocable.Action.createStandardAction('issueInsBrokeragePolicy');34// Instantiate the input object5ConnectApi.IssueBrokeragePolicyIAInputRep input = new ConnectApi.IssueBrokeragePolicyIAInputRep();67// Required: Set the Policy ID of the brokerage policy to be issued8input.policyId = '0YjXX0000000001';910// Set the invocation parameter and invoke11action.setInvocationParameter('issueBrokeragePolicyIAInputRep', input);12List<Invocable.Action.Result> results = action.invoke();1314System.debug('Issue Brokerage Policy Invocable Action result = ' + results);
This is the sample response for the Issue Insurance Brokerage Policy action.