How to pass one field of result body of first integration to second integration

This is the result of 1st integration , i want to store client guid (of result body)  in some process variable and then pass this value as input to 2nd integration .How Can I achieve this ,can someone please advise



How Can I store only client guid in results and pass it to next integration


  Discussion posts and replies are publicly visible

Parents Reply
  •   

    I want this body as input to an integration .In the existing process model we are passing body only with name and comment as an input to an integration via scriptask (input as expressionrule )


    I need to get output of expressionrule as below




    a!toJson
    ({
         "name": " some string from db ",
         "Comment": "some string from db",

          CAC:{
          {

          "TypeId":  1,                    /*Value is always 1*/
         
            add: {
            "email":               "some string from data ",
            "dName" :  "some string from data",
            "Provider"        :  "some string from data",

            "eFlag": false,
            "dFlag": false,
            "ID": 2
             
          }
        }
      }
    })


    name ,comment,email,provider and dname values are present in one CDT  . I'm trying build an array structure and get email and dname  from main CDT where existing values are present.


    1. Have already existing CDT I..e Main CDT ---name ,comment,email,dname and few other fields and now i have added CAC Cdt in this mail CDT as an array

    2. Created One CDT for CAC with fields type ID and add CDT

    3. In ADD CDT , added fields email,name,provider,eflag ,dflag 


Children
No Data