Skip to main content
The CreateError activity opens the case and posts the error message it is given. For the general procedure, see Create a Pega activity.

Pages and classes

Parameters

Activity steps

1

Open the case

Screenshot of the CreateError activity in Pega, showing Step 1 with the Obj-Open-By-Handle method on the Case step page and InstanceHandle set to Param.caseId.
2

Post the error message

Screenshot of the CreateError activity in Pega, showing Step 2 with the Page-Set-Messages method and the Message parameter set to Param.errorMessage.