Stuck with how to do Join of schemas with condition in adobe campaign classic | Community
Skip to main content
Level 4
October 22, 2024
Solved

Stuck with how to do Join of schemas with condition in adobe campaign classic

  • October 22, 2024
  • 1 reply
  • 592 views

 

Hello All,

 

Stuck with how to do Join of schemas with condition in adobe campaign classic

 

I am stuck in a requirement where I have to do Join of schemas with condition in adobe campaign classic like this:

IF iBrandId = 0 then iBranchId=999999

else JOIN

customers.iBranchId =orders.iEntityId

 

 

Please suggest how can we o Join of schemas with condition in adobe campaign classic like this

please suggest and add your thoughts here

 

@parthasarathy 

@_manoj_kumar_ 

@davidkangni 

@akshayanand 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by ccg1706

Hi @shruti1,

 

In terms of doing the join conditions you can have a look at the following doc link.

 

Inside your xml schema you can use this solution as a guidance:

<join xpath-dst="@iEntityId" xpath-src="Iif(@iBrandId = 0, 999999, @iBranchId)"/>

 

Regards, 

Celia

 

 

 

1 reply

ccg1706
Community Advisor
ccg1706Community AdvisorAccepted solution
Community Advisor
October 24, 2024

Hi @shruti1,

 

In terms of doing the join conditions you can have a look at the following doc link.

 

Inside your xml schema you can use this solution as a guidance:

<join xpath-dst="@iEntityId" xpath-src="Iif(@iBrandId = 0, 999999, @iBranchId)"/>

 

Regards, 

Celia