Launchpad by Pegasystems icon

Launchpad by Pegasystems

Consume Pega Launchpad API

Assignment → Get

AI-generated

Summary

Retrieves details of a single Pega Launchpad assignment by ID via a GET request to the assignments API.

Inputs

  • Authentication — Authentication method; only OAuth2 is available (credential pegalaunchpadOAuth2Api).
  • Base URL (required) — Base URL of the Pega Launchpad instance, e.g. https://your-pega-domain.com. A trailing slash is stripped.
  • Assignment ID (required) — ID of the assignment to retrieve. Evaluated per input item, so it can be an expression.

Output shape

One output item per input item. The item's JSON holds the assignment response body fields from Pega, plus a responseHeaders object.

responseHeaders includes the HTTP response headers, with array values joined by commas. The ETag header there can be passed as the If-Match value to the Assignment > Perform Action operation. With Continue On Fail enabled, a failed item returns { error: message } instead. Request errors are raised as NodeApiError.

Examples

Example 1: Fetch an assignment and capture its ETag before performing an action on it

Resource: Assignment, Operation: Get, Base URL: https://mycompany.pegalaunchpad.com, Assignment ID: {{ $json.assignmentId }}. Then use responseHeaders.etag in Perform Action's If-Match.

Links

Discussion