cancel
Showing results for 
Search instead for 
Did you mean: 

Add multiple conditions at receiver determination

Former Member
0 Kudos

HI experts,

          I have a scenarios where i need to add multiple condition at receiver determination.

Fore.g:

1) If in Input file Base currency=USD

and Quote Currency=AUD ....

It should go for one communication component.

However same logic need to be applied for vice-versa case.

2) If in Input file Base currency=AUD

and Quote Currency=USD.

than also it should go to same communication component.

I want both the conditions to be checked.

Can you guide how this can be achieved?

Accepted Solutions (1)

Accepted Solutions (1)

engswee
Active Contributor
0 Kudos

Hi Chandrabhan

You can just combine two ANDs with and OR. See below.

The OR button is the [] icon at the top left.

Rgds

Eng Swee

Answers (1)

Answers (1)

azharshaikh
Active Contributor
0 Kudos

Hi,

You can use XPATH conditions to achieve this...

/p1:MT_Sender[(Header/Base = "USD" or Header/Base = "AUD") and (Header/Quote = "AUD" or (Header/Quote = "USD")]

Check following links for more info and details:

Xpath Condition in Receiver Determination - Process Integration - SCN Wiki

Hope it helps

Regards,

Azhar