Actions22
- Agent Actions
- Assignment Actions
- Attachment Actions
- Case Actions
- Pulse Actions
- User Actions
Case → Create
AI-generatedSummary
Creates a new case in Pega Launchpad by POSTing the case type, process ID and JSON content to the DX API v2 cases endpoint, and returns the API response.
Inputs
- authentication — Authentication method. Only OAuth2 is available (uses the pegalaunchpadOAuth2Api credential).
- baseUrl (required) — Base URL of the Pega Launchpad instance, without a trailing slash (a trailing slash is stripped anyway). Read from the first item and used for all items.
- caseTypeId (required) — Identifier of the case type to create, e.g. BookingRequestCase. Sent as caseTypeID.
- content — JSON object with the case data fields. Defaults to {}. Invalid JSON raises an error naming 'Case Content'. Sent as content.
- processId — Process ID used to start the case. Defaults to pyStartCase. Sent as processID.
Output shape
One output item per input item. It holds the fields of the Pega create-case response body (the code reads the new case's ID from ID), plus a responseHeaders object with the HTTP response headers.
Each input item triggers its own create request. With Continue On Fail enabled, a failed item outputs {error: message} instead of stopping the run. Non-JSON response bodies are wrapped as {rawBody} or {value}. The exact fields of the Pega response aren't defined in the source.
Examples
Example 1: Create a booking case from incoming webhook data
Base URL https://mycompany.pega.com, Case Type ID BookingRequestCase, Process ID left as pyStartCase, Case Content set to an expression such as {{ JSON.stringify({ CustomerName: $json.name }) }}.
Example 2: Start a case with an empty payload and a custom start process
Case Type ID ClaimCase, Process ID set to a custom process, Case Content left as {}.