Actions22
- Agent Actions
- Assignment Actions
- Attachment Actions
- Case Actions
- Pulse Actions
- User Actions
Case → Get History
AI-generatedSummary
Retrieves the audit history of a Pega Launchpad case by querying the ObjectHistory data view, returning one page of history records with selectable fields.
Inputs
- baseUrl (required) — Base URL of the Pega Launchpad instance, without a trailing slash.
- authentication — Authentication method. Only OAuth2 is offered (pegalaunchpadOAuth2Api credential).
- caseId (required) — ID of the case whose history to fetch. Sent as dataViewParameters.ObjectID.
- pageSize (required) — Number of history records per page (minimum 1, default 50).
- additionalFields.pageNumber — Page of results to fetch (minimum 1, default 1).
- additionalFields.fields — List of field names to include in each record. If empty, defaults to CreateDateTime, MessageText, PerformerUserName and ID.
Output shape
One output item per input item. The item's JSON is the parsed Pega response body, with a responseHeaders object of the HTTP response headers added.
Returns a single page only. There is no automatic pagination, so increment Page Number to get more records. The exact structure of the history records comes from the Pega API. If Continue On Fail is enabled, failures produce an item with an error message.
Examples
Example 1: Fetch the first 50 history entries for a case using default fields.
Resource: Case, Operation: Get History, Base URL: https://myapp.pega.com, Case ID: {{$json.caseId}}, Page Size: 50.
Example 2: Fetch the second page of history with custom fields.
Case ID set, Page Size: 20, Additional Fields: Page Number 2, Fields to Select: CreateDateTime, MessageText, ID.