Question

2
Replies
274
Views
Close popover
Pratheep Kumar M S (PRATHEEP KUMAR MS)
TCS

TCS
GB
PRATHEEP KUMAR MS Member since 2011 22 posts
TCS
Posted: March 13, 2020
Last activity: March 15, 2020

Mapping JSON array to Pega value list

we are using OOTB REST api to create case. Incoming request has the  JSON array and we would like to map it to value list property on Pega. The case type data model does not contain a value list, so then how do i map the incoming JSON array to Pega?

case creation Request:

{   "caseTypeID": "Grp-FSI-Work-Investigation",   "processID": "pyStartCase",   "parentCaseID": "",   "content": {         "FPSEntity" : "GTXCHAPSOUT",         "FPID":"GTXCHAPS231ff63258",         "SystemID " : "DIN2015120415425g-00000-3632",         "ApplicationCode" : "GTX",         "NameSynonym" : ["Car","BMW","Fiat"],          } }

Error on clipboard:

  1. (Grp-FSI-Work-Investigation)ContainsUndefinedProperty pyWorkPage.NameSynonym
  2. (Grp-FSI-Work-Investigation)DictionaryValidate Errors Detected.

Faillue in OOTB activity:

 

Pega Platform 8.3 Data Integration Java and Activities Financial Services Business Architect