Question
TCS
GB
Last activity: 15 Mar 2020 5:16 EDT
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:
- (Grp-FSI-Work-Investigation)ContainsUndefinedProperty pyWorkPage.NameSynonym
- (Grp-FSI-Work-Investigation)DictionaryValidate Errors Detected.
Faillue in OOTB activity: