Overview
TheApprovalPolicyDetails component renders the interface for creating a new approval policy and managing the details of an existing approval policy. This includes the ability to view and edit approval policy details.
Permissions
To view details of an existing component, the entity user must haveread permissions for the approval_policy object. To create, edit, and delete approval policies, they must also have create, update, or delete permissions for the approval_policy object. For more information, see List of permissions.
Preview
- Creation modal preview
- View modal preview

Usage
Use theApprovalPolicyDetails component to create a new approval policy and view and edit details of an existing approval policy. To view details of an existing approval policy, use the ApprovalPolicyDetails component with the id prop as shown:
React.js
ApprovalPolicyDetails component without providing the id prop as shown:
React.js
Props
The following table shows allApprovalPoliciesTable component properties, their types, and descriptions:
| Prop | Type | Description |
|---|---|---|
id | string | This prop accepts the ID of the approval policy details to be displayed, edited, or removed. |
onCreated | function | This callback can be triggered when a new approval policy is created. |
onUpdated | function | This callback can be triggered when any existing approval policy details are updated. |
