azure-logic-apps

How to remove section in JSON in LogicApp


enter image description here

Compose - removeProperty(variables('Message')['Appointment'],'CustomerInfo')

enter image description here

What I want to see if the following. enter image description here


Solution

  • Firstly, I have initialized variable and then used compose action with removeproperty(variables('emo')['appointment'],'customerInfo') as below:

    enter image description here

    Then I again used compose as below with removeproperty(variables('emo'),'appointment'):

    enter image description here

    Then I used Compose 3 for combing both composes as below using union(outputs('Compose_2'),outputs('Compose')) :

    enter image description here

    Output:

    enter image description here

    enter image description here

    OR: If you have integrated account Reference. Hope this clears all your doubts.