Data Flow fails to parse JSON with page list structure
Data Flow fails to parse JSON with page list structure
We have a file data set, and we are running one Data Flow to parse JSON record via data transform rule to deserialize JSON string to Pega data object. But we are running into the following error, it only impact JSON string with list structure (Pega Page List):
com.pega.dsm.dnode.api.dataflow.StageException: Exception in stage: data_set_name Caused by: com.pega.dsm.dnode.api.ExceptionWithInputRecord: com.pega.pegarules.pub.PRRuntimeException: LegacyModelAspectInvokableRuleContainer.invoke-Exception Encountered a :java.lang.UnsupportedOperationException
step to produce:
1. Configure a file dataset to retrieve data from JSON file which contain list data structure;
2. Create dataflow rule to add data transform shape to invoke deserialization datafranform rule to parse JSON to pega data object.
3. Run this dataflow and it failed as error showed above.
Note: dataflow runs successfully on JSON data without list structure.