Question

1
Replies
216
Views
CraigA52 Member since 2017 24 posts
Link Fund Solutions
Posted: 2 years ago
Last activity: 2 years 5 months ago
Closed

PEGA API - create complaint case submit

Hi All,

I'm currently playing with the PEGA API to create a complaint case. This is what I am using as the payload :-

{
 "caseTypeID": "PegaCA-Work-Complaint",
 "processID": "pyStartCase",
 "content":
 {
  "SelectionType": "Complaint",
  "Urgency": "20",
  "NoContactCategory": "ServiceIssue",
  "Reason": "Other",
  "Comments": "No one answers the phone",
  "CSComplaintPriority": "Low",
  "CSRegulatoryCompliance": "false",
  "CSComplaintEscalate": "true",
  "CSComplaintEscalationType": "Workbasket",
  "CSComplaintEscalateTo": "OutboundCall"
 }
}

But what I have found is that the case isn't submitted to the Workbasket I've specified. Instead the case is created with a sub case "Collect feedback" and is assigned to the System user. In order for this to be assigned to the Workbasket I have to open the sub case and click on Submit.

What am I missing in my API call? The details I have passed in are all recorded correctly it's just not doing that last bit.

Thanks
Craig

Pega Customer Service
Moderation Team has archived post
Share this page LinkedIn