Pega-side setup
On this page
What to configure in Pega Infinity for each feature. Do this in a development environment.
OAuth clients
| Client | Type | Used by | Settings |
|---|---|---|---|
| Studio | Confidential, client credentials | Connect to Pega, recording as the studio operator, publishing, the workbench | Map it to an operator whose default access group is the Constellation application. That operator needs publish rights to publish components. |
| Runner | Public, authorization code + PKCE | Run in Pega, recording as the signed-in user | Redirect URIs, per Pega version you use. https://constellation-runner-25.vercel.app/studio (25.1), https://constellation-runner-26.vercel.app/studio (26.1); one client may list several. (A studio run locally by developers uses http://localhost:3502/studio and 3503.) |
| Exported app | Public, authorization code + PKCE | The app on a Pega backend | Redirect URI = the app's address, e.g. http://localhost:5174/ |
The redirect URI must match exactly, including host, port and path. Infinity 26.1 requires PKCE.
CORS: the studio, the runner and the exported app call Pega through their own relays, so no
CORS policy is needed for them.
If you call Pega directly from a browser, the CORS policy must list ETag under Exposed headers, or the browser
cannot read eTags.
Publishing components
- Ruleset: an unlocked ruleset version in the application stack, e.g.
CustomConstellation:01-01-01. - Rights: the operator needs rights to publish DX components (a developer or admin access group).
- Selecting the template: in App Studio, open the view, choose Edit, and select the template. Save a copy of the view first.
- "Component not found": check that the ruleset is in the stack and the component is enabled for the application.
- Old version still showing: Pega keeps the
?v=stamp. Reload with the cache disabled or open a fresh session.
Data pages
- API access: data pages used through the DX API must be enabled for API access, and the access group needs the
PegaRULES:PegaAPIrole. - Paging: paging needs "Support paging" on the data page.
- Saving records: saving needs a Savable lookup data page with data save options (App Studio data objects have these). The operator also needs edit rights on the data class.
Who may perform work-queue steps
- Membership is not a restriction: being a member of a work queue (its Contacts) only feeds Get next work.
- Restricting a queue: add Roles on the work queue record. Only operators whose access group carries one of those roles may then process its assignments.
- The test app: the Authors queue is restricted to
DIYRecipe:SysAdm4, which the Authors access group has and the Users group does not.
Flow pitfalls seen live
- New connectors: a new outgoing connector from an assignment needs its flow action set in the full flow rule.
Otherwise the flow drops into draft mode and Pega serves
ActionStubDraftModewith no fields. - Alternate stages: on 26.1 they only offer "Wait for a user action" or "Resolve the case". To send a reworked case back for approval, end the rework process with "Change to a stage".
- Routing: "Specific user" with a typed name gave "No routing information was provided for this assignment". Route to a work queue instead.