
Troubleshooting tips for Customer Service for Constellation
This topic presents a number of techniques used in a variety of troubleshooting scenarios. Some of these have been presented in other Pega Academy topics and applied to specific situations, while here they are presented in a broad context.
Toggle Xray view in Google Chrome
The Google Chrome Developer tools enable you to toggle a more detailed view of the individual elements that make up the dashboard. To activate this toggle, follow these steps:
- Log in to App studio.
- In the header of App studio, click Preview, then start a customer interaction.
- In your Google Chrome browser, right-click anywhere on the page, then click Inspect to open the Chrome developer tools.
- Click the Console tab, then input the following PCore.getDebugger().toggleXRay(true) and press Enter.
- Click the blue i icon next to a view to inspect its metadata.
Note: To revert the current browser page to the standard settings, either refresh the page or toggle the xray command to false PCore.getDebugger().toggleXRay(false).
Use Redux DevTools
Redux DevTools is a web browser extension that you can use to identify the potential root cause of certain issues. For example, if a dialog isn't rendering during a customer interaction.
With the Redux DevTools extension installed for your browser, perform these steps:
- Right-click anywhere on the page.
- Click Inspect.
- Click Redux.
- Under Filter, click set property.
- Click State, then expand data.
- Expand app/primary_2/workarea_.
- Expand caseInfo > content and then select the DialogShow object.
In the DialogText row you can see the dialog that the system is rendering. If this blank, it is likely that you need to set up a new dialog using the Configuration Manager portal.
Enable When Rules
Some metadata is not visible in Dev Studio unless the pxEnableC11nDev When Rule has been enabled:
- In the header of Dev Studio, in the Search box, enter and search for pxEnableC11nDev and then click the name of the rule to open it.
- Click Private edit > Continue with private edit.
- In the 1 field, insert true, then click Save.
View interaction-to-service-Case associations
The association of a service Case with the interaction during which it was started is handled through a link record. You can view these records in Dev Studio, by performing these steps:
- In the navigation pane of Dev Studio, click App.
- Search for the class Link-Association-CS-InteractionToServiceCase then click the class name.
- Click the interaction (column pxLinkedRefFrom) or Case (column pxLinkedRefFrom) that you want to inspect.
- Click Actions > View XML.
The XML file enables you to inspect elements of the Case. As an example, you can determine if the service Case is ongoing if you search for TaskStatus in the XML file.
Check the clipboard data of an interaction
The Clipboard of an interaction contains data about the interaction which may be essential to the troubleshooting process. To view the Clipboard of an interaction, do the following:
- In the navigation pane of Dev Studio, click App.
- Search for pegaCS-Work-Interaction and then click the Class name.
- In the pyID column, click the interaction for which you want to inspect the clipboard.
- In the lower-right corner of the screen, click Clipboard.
Add new actions to service Cases
The options in the Actions dropdown that are available during a service Case are dictated by the optional actions set for the Case Type. Follow these steps to add a new action to the dropdown:
- Log in to App Studio.
- In the navigation pane of App Studio, click Control Panel > Case types.
- Click the Case Type to which you want to add a new action.
- In the upper-right corner, click Optional Actions.
- Under Case wide actions, click +Action.
- Choose the type and name of the action, then configure the action according to your business needs.
- Click Save.
In future customer interactions, where the Case Type for which you added the action is being run, the new action is available in the Actions dropdown.
This Topic is available in the following Module:
If you are having problems with your training, please review the Pega Academy Support FAQs.
Want to help us improve this content?