Skip to main content

Understanding Complaints

Even with consent management systems in place, issues can arise, such as unreflected consent withdrawals or concerns about personal data use. Data Principals need a clear way to raise grievances and track their resolution.

The WSO2 DPDP Accelerator provides a grievance handling system that connects Data Principals with the organization's Data Protection Officer (DPO) to submit, investigate, and resolve complaints while maintaining an audit trail.

Meet the people in this example​

We'll continue using CarePulse, the online healthcare service introduced in the Understanding Consent guide.

  • Priya is a Data Principal whose personal data is processed by CarePulse. She uses the Consent Portal to manage her consent and raise complaints when she has concerns.
  • Ravi is CarePulse's Data Protection Officer (DPO). He reviews complaints, investigates issues, communicates with complainants, and coordinates the actions needed to resolve them.

The situation​

Priya previously withdrew her consent for optional marketing communications through the Consent Portal. CarePulse recorded the withdrawal and notified its external email provider, CloudEngage, so that her marketing preferences could be updated.

However, CloudEngage received the notification but failed to update Priya's preferences. A few days later, she receives another marketing email.

She raises a concern:

I already opted out of marketing emails, but I'm still receiving them.

Let's follow how CarePulse can investigate and handle her complaint.

1. Submit a complaint​

Priya signs in to the Consent Portal and opens My Complaints.

She then:

  1. Selects + Submit a complaint.
  2. Chooses Consent withdrawal issue and describes what happened.
  3. Attaches a screenshot of the unwanted email as supporting evidence.
  4. Submits the complaint.

Submit a complaint dialog with Consent withdrawal issue selected, a description, and an attached screenshot

Priya's view (Data Principal): submitting a complaint.

The portal creates a complaint record with a reference ID, such as CMP-2026-00001, allowing Priya and Ravi to identify and track the case. It also carries a statutory due date — the deadline by which CarePulse must resolve it under the DPDP Act — so Ravi can prioritize complaints that are close to breaching it.

Priya can return to My Complaints to follow its progress and view updates.

Try it: Submit a complaint.

2. Investigate the complaint​

Ravi opens Administration → Complaints and reviews Priya's complaint.

To understand what happened, he examines the relevant consent history and works with the appropriate technical team to investigate how the marketing preferences are updated in CloudEngage.

The investigation reveals that:

  • Consent history: Priya's consent withdrawal was recorded successfully by CarePulse.
  • Marketing preferences: CloudEngage received the notification but did not update Priya's marketing preferences.

DPO's detail view of Priya's complaint, showing its Open status, priority, description, and attachment

Ravi's view (DPO): reviewing Priya's complaint.

These findings help Ravi establish that Priya's withdrawal was recorded correctly, but the external email provider continued using outdated preferences.

With the cause identified, Ravi can coordinate the corrective actions needed to prevent further unwanted marketing emails.

3. Communicate with the complainant​

Resolving a complaint often involves technical investigation, but the person who raised it still needs clear updates. The accelerator distinguishes between messages shared with the complainant and internal investigation notes.

Public messages

Ravi sends Priya an update through the complaint record:

Hello Priya, we have confirmed that your consent was withdrawn successfully. We found that our email provider did not update your marketing preferences as expected. We are working with the provider to correct this.

Priya can view this message in her complaint timeline.

Internal notes

Ravi can also record investigation details for authorized officers, such as:

CloudEngage received the consent withdrawal notification but did not update the contact's marketing preferences. Coordinate with the vendor operations team to correct the preferences and verify that the contact is removed from active marketing campaigns.

These notes help document technical findings and follow-up actions without exposing internal investigation details to the complainant.

DPO's activity view showing both internal notes and public replies on the same complaint

Ravi's view (DPO): public replies and internal notes together on the same complaint.

Try it: Investigate and communicate.

4. Resolve the complaint​

Once CloudEngage confirms that Priya's marketing preferences have been corrected, Ravi updates the complaint's status to RESOLVED and records an explanation of the outcome.

Priya can review the response and the complaint's recorded activity through the Consent Portal.

Priya's view of the resolved complaint, showing only the public replies and a banner explaining how to reopen it

Priya's view (Data Principal): the resolved complaint, with only the public replies visible.

The complaint history provides a record of the investigation, communications, supporting evidence, and status changes. This helps CarePulse understand how the issue was handled and supports internal reviews and compliance activities.

Try it: Resolve the complaint.

Understanding complaint status​

A complaint moves through a defined set of statuses as it progresses from submission to resolution.

StatusMeaning
OPENThe complaint has been submitted and is awaiting review.
IN_PROGRESSThe DPO is investigating the complaint.
WAITING_ON_CLIENTThe DPO needs additional information from the complainant before continuing.
AWAITING_INTERNAL_REVIEWThe complainant has responded, and the DPO needs to review the response before proceeding.
RESOLVEDThe complaint has been resolved. The complainant can reopen it if the issue continues.

How status transitions work​

Complaints follow defined status transitions rather than allowing arbitrary changes. A complaint can only move to the statuses listed for its current status:

FromCan move to
OPENIN_PROGRESS, WAITING_ON_CLIENT
IN_PROGRESSWAITING_ON_CLIENT, RESOLVED
WAITING_ON_CLIENTAWAITING_INTERNAL_REVIEW
AWAITING_INTERNAL_REVIEWIN_PROGRESS, WAITING_ON_CLIENT, RESOLVED
RESOLVEDAWAITING_INTERNAL_REVIEW

For example, a complaint cannot move directly from OPEN to RESOLVED; the DPO must pick it up first.

Only the complainant can reopen a resolved complaint. For example, if Priya continues receiving marketing emails after her complaint is resolved, she sends a new message on the complaint in My Complaints. This moves it back to AWAITING_INTERNAL_REVIEW, so Ravi can review the new information and decide the next steps.

Role separation for complaints​

The accelerator separates complaint access according to each user's role. Data Principals manage their own complaints, while the DPO handles complaints across the organization.

RoleResponsibility and access
dpdp-consent-userCan submit, view, and respond to their own complaints through the self-service portal, subject to the granted permissions.
dpdp-consent-dpoCan review and manage tenant-wide complaints, send public replies, add internal notes, and update complaint statuses, subject to the granted permissions.

The roles also use different API scopes and endpoint paths. Data Principals access their own complaints through self-service endpoints, while the DPO uses tenant-wide complaint management endpoints.

For details about roles, permissions, and API access, see Managing Access.

Next Steps​

  • Hands-on Walkthrough: Follow the step-by-step Try Out guide in Try Out: Complaints.
  • Keep connected systems informed: See Event Notifications to learn how systems like CloudEngage find out about changes such as a consent withdrawal.