Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

issueInsurancePolicy(policyId)

Issue a specific insurance policy by providing the policy ID.

API Version

67.0

Requires Chatter

No

Signature

public static ConnectApi.InsurancePolicyIssueOutputRepresentation issueInsurancePolicy(String policyId)

Parameters

policyId
Type: String
ID of the insurance policy to issue.

Usage

Use this method to issue a specific insurance policy. Issuing a policy transitions it from a draft or pending state to an active state. The response includes the transaction ID and any errors that occurred during the issue process.

Example

The Apex example shows how to use the ConnectApi.InsuranceBrokerageFamily.issueInsurancePolicy() method to issue a specific insurance policy.

Class Definition
This Apex example shows how to issue an insurance policy.
Usage Example
Use the IssueTestConnectAPI class to execute the issue action and process the result.