How To Use ListAction In Integration Procedures

— :  In this post we create  two array/list and merge both. (ListWithName and ListWithAge)

 

Step :– 1     First we create an Integration Procedure and drag a List Action on canvas .

                       Here we merge two list in one 

				
					//This data is we pass in preview  tab in json data
{
    "ListWithName": [
        {
            "Name": "Supre Man",
            "id": "1",
            "External_Id": "11"
        },
        {
            "Name": "Bad Man",
            "id": "2",
            "External_Id": "12"
        }"13"
        }
    ],
    "ListWithAge": [
        {
            "Age": "20",
            "id": "1",
            "External_Id": "11"
        },
        {
            "Age": "32",
            "id": "2",
            "External_Id": "12"
        }
    ]}
				
			
Integration Procedure
In List Action

Step :– 2 Drag Response Action and pass the list name within %% sign, in Additional Output.

Integration Procedure
In Response Action

On the preview tab. 

Integration Procedure

Step :– 3  In MERGE FIELDS =  Here we provide the field which we want to merge.

Integration Procedure
In List Action

On the preview tab 

Integration Procedure
On preview tab

                     Has Primary = true (list name we want to pass as Primary list)

Step :– 3  If Advanced Merge=  true (match the both field with both array)

Integration Procedure
Advanced Merge = true

Well Done!!! We got the result in preview tab 

Integration Procedure
On preview tab
Scroll to Top