create_case_participant
Adds a participant to a Pega case by assigning a role and providing contact information, automatically handling eTag for case access control.
Instructions
Create a new participant in a Pega case with specified role and participant information. If no eTag is provided, automatically fetches the latest eTag from the case for seamless operation. Adds users to case access control with appropriate permissions and role assignments.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| caseID | Yes | Case ID. Example: "MYORG-APP-WORK C-1001". Complete identifier including spaces."ON6E5R-DIYRecipe-Work-RecipeCollection R-1008". a complete case identifier including spaces and special characters. | |
| eTag | No | Optional. Auto-fetched if omitted. For faster execution, use eTag from previous response. | |
| content | Yes | Participant information object containing user details such as name, email, phone, and other contact information. Structure matches Data-Party schema. | |
| participantRoleID | Yes | Role ID to assign to the participant. This determines the permissions and access level the participant will have for the case. | |
| viewType | No | UI resources to return. "form" returns form UI metadata, "none" returns no UI resources (default: "form") | form |
| pageInstructions | No | Optional list of page-related operations for embedded pages, page lists, or page groups. Required for setting embedded page references. | |
| sessionCredentials | No | Optional session-specific credentials. If not provided, uses environment variables. Supports two authentication modes: (1) OAuth mode - provide baseUrl, clientId, and clientSecret, or (2) Token mode - provide baseUrl and accessToken. |