Member since
08-16-2023
1
Post
0
Kudos Received
0
Solutions
08-16-2023
06:30 AM
Input Json: { "responseMetadata": { "responseType": "ACTIVITY", "activityDataExist": "true", "partNo": "1", "noOfParts": "1" }, "serviceFunctionCode": "SEND", "requestId": "34934098439", "responseCode": "SUCCESS", "responseData": { "responseList": [ { "activityUID": "activity_1", "transactions": [ { "transactionId": "dsb_123456789", "referenceId": "8752345", "transactionDate": "16-JUL-23 01.21.49.000000000 PM", "transactionAmount": "1000", "transactionCurrency": "USD", "transferStatus": "APPROVED" }, { "transactionId": "ref_123456789", "referenceId": "98723456", "transactionDate": "16-JUL-23 01.21.49.000000000 PM", "transactionAmount": "1000", "transactionCurrency": "USD", "transferStatus": "APPROVED" }, { "transactionId": "ref_546456789", "referenceId": "15678432", "transactionDate": "16-JUL-23 01.21.49.000000000 PM", "transactionAmount": "1000", "transactionCurrency": "USD", "transferStatus": "APPROVED" }, { "transactionId": "dsb_123456786", "referenceId": "8752346", "transactionDate": "17-JUL-23 01.21.49.000000000 PM", "transactionAmount": "1000", "transactionCurrency": "USD", "transferStatus": "Rejected" }, { "transactionId": "ref_123456789", "referenceId": "98723456", "transactionDate": "16-JUL-23 01.21.49.000000000 PM", "transactionAmount": "10001", "transactionCurrency": "USD", "transferStatus": "APPROVED" }, { "transactionId": "ref_546456789", "referenceId": "15678432", "transactionDate": "16-JUL-23 01.21.49.000000000 PM", "transactionAmount": "10002", "transactionCurrency": "USD", "transferStatus": "APPROVED" } ] } ] } } required Output Split File [ { "responseMetadata": { "responseType": "ACTIVITY", "activityDataExist": "true", "partNo": "1", "noOfParts": "5" }, "serviceFunctionCode": "SEND", "requestId": "34934098439", "responseCode": "SUCCESS", "responseData": { "responseList": [ { "activityUID": "activity_1", "transactions": [ { "transactionId": "dsb_123456789", "referenceId": "8752345", "transactionDate": "16-JUL-23 01.21.49.000000000 PM", "transactionAmount": "1000", "transactionCurrency": "USD", "transferStatus": "APPROVED" }, { "transactionId": "ref_123456789", "referenceId": "98723456", "transactionDate": "16-JUL-23 01.21.49.000000000 PM", "transactionAmount": "1000", "transactionCurrency": "USD", "transferStatus": "APPROVED" } ] } ] } } next Split: { "responseMetadata": { "responseType": "ACTIVITY", "activityDataExist": "true", "partNo": "2", "noOfParts": "5" }, "serviceFunctionCode": "SEND", "requestId": "34934098439", "responseCode": "SUCCESS", "responseData": { "responseList": [ { "activityUID": "activity_1", "transactions": [ { "transactionId": "dsb_123456789", "referenceId": "8752345", "transactionDate": "16-JUL-23 01.21.49.000000000 PM", "transactionAmount": "1000", "transactionCurrency": "USD", "transferStatus": "APPROVED" }, { "transactionId": "ref_123456789", "referenceId": "98723456", "transactionDate": "16-JUL-23 01.21.49.000000000 PM", "transactionAmount": "1000", "transactionCurrency": "USD", "transferStatus": "APPROVED" } ] } ] } } so on...
... View more
Labels:
- Labels:
-
Apache NiFi