Skip to main content
LinkedIn
Copied!

Table of Contents

Verifying a scenario-based integration

After you create a REST integration and set up your data page source, verify your integration to check whether the integration is running end to end without errors. It is recommended to verify that the data page returns correct values, and then verify that the application UI uses the integrated data.

Validate your integration for the .FirstName property so that later you can clone the mapping for other properties and expand your integration.

    Verify that your data page returns correct values

  1. Review the connector configuration.

    Similarly to a service rule, a connector has methods. In this example, the connector has a GET method, which is a query string of ContactId that is mapped to .request.query_GET.ContactId. The connector also has a response, which is an XML parse rule with the response_GET.Contact Contact Map to key. The XML parse rule is the opposite of the string rule, in which you can see the Contact parameter with mapping and the underlying .FirstName parameter with mapping.
  2. On the data page screen, click Actions Trace .

    Use the Tracer tool to debug flows, activities, services, parse rules, and declarative rules. The Tracer tool provides full debugging facilities, including step-by-step execution, breakpoints, and watch variables. For example, verify whether you provided the same parameters in both request and response. In this example, the system returns a value for the .FirstName property. Only one person can use the Tracer tool on a single service at a time. For more information, see Application debugging using the Tracer tool.
  3. On the data page screen, click Actions Run .

    1. In the Value field, enter the value for your parameter.

      In this example scenario, enter the value for the ContactId parameter. Your parameters may vary, but the default parameter is ContactId.
    2. Click Run.

    3. Review the results.

      An example of the data page returning values
      An example Clipboard page with populated properties
      If the data integration succeeded, the system will display the data. If there is no data displayed, switch to the Tracer tool to investigate the issue.
  4. Verify that your application UI uses the integrated .FirstName property

  5. In the header of Dev Studio, click Launch portal Interaction Portal .

  6. In the application header, run a new interaction by clicking New Phone call and after verifying the contact, run the Update contact profile service case.

    The system does not have enough details to populate the entire interaction because in this scenario only the first name was mapped in the interface data structure.
  7. In the Interaction Portal, in the upper-right corner, click Your operator name Clipboard .

  8. Search for and open your data page.

  9. Verify that the .FirstName property returns a set value.

After you integrate one property and validate your integration, integrate more properties. For more information, see Integrating data after running the Integration wizard.
Suggest Edit
Did you find this content helpful?

Have a question? Get answers now.

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

Ready to crush complexity?

Experience the benefits of Pega Community when you log in.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us