Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Improve the performance of DX APIs and automation-based REST services by using JSON (8.6)

Updated on May 13, 2021

Improve the performance of your DX APIs and automation-based REST services by configuring JSON inputs and outputs in an automation rule. The automation then passes the JSON object directly to the REST service instead of transforming the data on a page to JSON first. This enhancement also makes it easier to call an automation from an activity.

When you configure a JSON input or output, you provide a valid OpenAPI-specific .yaml file that the system generates in the Swagger documentation of the REST service, as shown in the following figure:

JSON schema configuration in an automation rule

To preview the data structure of the JSON sample, you can simulate a JSON response in the automation rule and update the JSON sample if needed, as shown in the following figure:

JSON sample response on the Implementation tab of an automation rule

For more information, see Configuring validation for text inputs and outputs in automations and Simulating a JSON response in automations.

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

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

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us