Expand my Community achievements bar.

SOLVED

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

Avatar

Level 5

 

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 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Level 7

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

 

 

 

View solution in original post

1 Reply

Avatar

Correct answer by
Level 7

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