Skip to Content
0
Jun 28, 2019 at 07:49 AM

How to Gather Payload in CPI when have split the Payload quite deeply

2334 Views

I have a payload from SuccessFactors (CompoundEmployee) which I would like to Split and after which store some values (to use them as filter conditions) and then enrich (by applying some filters) and later perform Gather to get back the original payload.

Below is my sample payload

queryCompoundEmployeeResponse
    CompoundEmployee
         person
            employment_information
                 compensation_information
                    paycompensation_recurring

I have made a split using General Splitter at below Xpath.

/queryCompoundEmployeeResponse/CompoundEmployee/person/employment_information/compensation_information/paycompensation_recurring

After Enrichment I would like to Gather again, but I am not able to get the actual payload back.

How can I achieve this ?