AnsweredAssumed Answered

Json document splitting

Question asked by hubidubi on Sep 18, 2018
Latest reply on Sep 23, 2018 by amitash.pattnaik983074

Hi,

 

I have got the following result from a REST endpoint that I would like to process. The content part contains multiple records that I need to process one by one. So tried to use Process/split function without any success. I tried Split Element with multiple values without any success. After the split, I got back the same document instead of splitted documents from content. Can I split this document easily or do I need to create an own custom function?

 

Thanks,

 

Zsolt

 

{
"pageDetails": {
"currentPage": 1,
"pageCount": 9,
"totalPages": 1,
"totalCount": 9
},
"content": [
{
"id": "5a71e361b77ab23a641ff951",
"name": "John",
"dateCreated": "2018-01-31T15:40:17.524+0000",
"lastUpdated": "2018-01-31T15:42:20.247+0000",
"status": "POSTING"
},
{
"id": "123456561b77ab23a641ff951",
"name": "Tom",
"dateCreated": "2018-01-31T15:40:17.524+0000",
"lastUpdated": "2018-01-31T15:42:20.247+0000",
"status": "POSTING"
}
]
}

 

 

 

Profile:

 

Splitter:

 

Full test flow with the result (only 1 result record)

Outcomes