Support Article

On Cancel, user is getting redirected to Dashboard

SA-33397

Summary



Developer starts new interaction in the interaction portal and launches one intent task and then tries to close that intent task by clicking on the cancel button which is configured to close the intent task.

But after clicking on the cancel the whole interaction is getting closed instead of the intent-task.

This is happening only for one particular intent task.


Error Messages



Not Applicable


Steps to Reproduce



1. Login to the system and launch the interaction portal.
2. Start a new interaction and launch 'MakeAPayment' intent task. The developer is facing the issue only with 'MakeAPayment' intent task.
3. Click Cancel button which is configured to close the Intent task.


Root Cause



An issue in the custom application code or rules.

The issue is because the class of the 'MakeAPayment' intent task has Inheritance of 'PegaCA-Work-Interaction' instead of PegaCA-Work. So the whole interaction is getting closed instead of the intent-task.

Resolution



Perform the following local-change:

Changing the Class Inheritance in the definition of the particular class to PegaCA-Work, resolves the issue.

Published February 7, 2017 - Updated February 22, 2017

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.