Pega 8.5 REST API error (Broken process)

[Procedure]

  1. I generated a case microservice code by following the procedure described in the URL below. And I sent it to Pega.
    Pegasystems Documentation

Request URL (HTTP method POST)

http://XX.XX.XX.XX:XX[IP:port]/prweb/api/v1/cases

Request body

{

“caseTypeID”: “XXXX-YYYY-Work-ZZZZ”,

“processID”: “”,

“parentCaseID”: “”,

“content”: {}

}

  1. As a result, I received the 201 response (success) by Pega. And I confirmed the case had been created on Pega collectly.
  2. But I found the issue that the Pega judged that case as a “Broken Process”.

Could you tell me how to create the case through REST Service in Pega 8.5?

@HiroakiS6393

Would you please help me?

@HiroakiS6393

Could you please check routing details in assignment shape of case type? In order to test please put it work queue and give any existing work queue and observe the behavior.

Incase if it works, then change the routing as per your requirement.

@VeeraGangaBabu

I’m sorry to reply late.

After fixing the Service access group in the rule “Service package: api” to an application-specific setting, the issue was resolved.

I could create Pega cases via the REST API interface.

Thank you for your kindful support.