Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

REST service fails with error after application upgrade

SA-64121

Summary



REST service fails with error after application upgrade.



Error Messages



MSG][REST service[gettenantsformsp814c00b4182cd6c8a352f23143bba28c] failed:Outbound data mapping failed:com.pega.pegarules.pub.services.ServiceException: Outbound data mapping failed<CR> at com.pega.pegarules.integration.engine.internal.services.ServiceAPI.configureResponse(ServiceAPI.java:3119)<CR> at com.pega.pegarules.integration.engine.internal.services.ServiceAPI.mapOutputData(ServiceAPI.java:2017)<CR> at com.pega.pegarules.integration.engine.internal.services.ServiceAPI.processSimulation(ServiceAPI.java:2454)<CR> at com.pega.pegarules.integration.engine.internal.services.ServiceSimulator.processServiceSimulation(ServiceSimulator.java:690)<CR> at com.pega.pegarules.integration.engine.internal.services.ServiceSimulator.invokeServiceHTTP(ServiceSimulator.java:368)<CR> at
com.pega.pegarules.integration.engine.internal.services.ServiceAPI.configureResponse(ServiceAPI.java:3051)<CR> ... 64 more<CR>
................

Caused by: com.pega.pegarules.pub.clipboard.WrongModeException: Property theTenantWrapper.PACshortcutPageGroup must be of a page or list mode for JSON mapping<CR> at com.pega.pegarules.integration.engine.internal.JSONMappingUtils.getOutboundJSONValue(JSONMappingUtils.java:261)<CR> ... 67 more<CR>]


Steps to Reproduce

  1. Create a REST service and include a page group property
  2. Map the response to the page group property
  3. Select the 'Use Fast Processing' feature
  4. Run the flow


Root Cause



In Pega 7.4, Fast Processing does not support page groups, value groups, and Java objects.


Resolution

Perform the following steps:
  • Ensure to match the JSON property names and the clipboard property names
  • Ensure to create the JSON tree structure such that it is similar to the clipboard tree structure 
  • Map the scalar arrays in JSON to the clipboard as page lists
  • Map the multi-dimensional arrays into page lists with the same embedded property names

For more information, refer to the below article:

https://community.pega.com/knowledgebase/products/platform/release-notes
 

Published July 30, 2020 - Updated December 2, 2021

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration 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 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