cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with condition editor in integration process

Former Member
0 Kudos

Hi,

Now there is the chance to use this feature for the first time.

Seems to be very easy.... No, it isnt!

Variable RETURN (type string) referencing to a field of a message structure is used for this condition:

RETURN!="I001"

So, if the variable does not contain the string I001 the process should use the exception path.

Ok, easy! This works!

But now I have this case to solve with the condition editor.

If the variable does not contain the string I001 OR E002 the process should use the exception path.

So my condition looks like this now:

RETURN!="I001"|RETURN!="E001"

=> If return is NOT I001 OR Return is NOT E001....

Result: semantical check is OK but the process always chooses the exception path now.

Oh, why this?

An alternative RETURN!=("I001"|"E001") does not pass the semantic check.

So I am missing ideas now how to write down the condition for my switch step

as this issue seems to be not discussed in any thread here.

Any help with this strange feature is really appreciated!

Best regards

Dirk

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Dirk,

(Result = "l001" OR Result ="E0011" ) - -> 
Did you try this by checking in Multiline option on the editor?

Regards

Ramesh

Former Member
0 Kudos

Hi Ramesh,

would be great if this would be so easy.

But using the brackets for the full term does not work either and the element refences to a single line item not to a multi line.

So this flag cannot be set!

Best regards

Dirk

Former Member
0 Kudos

Hi Dirk,

=> If return is NOT I001 OR Return is NOT E001....

for me, your logic is wrong, what you need for your exception receiver is :

=> If return is NOT I001 AND Return is NOT E001....

NON (a OR b) <=> (NON a) AND (NON b).

so for your receiver_ok, you have to use the opposite: so the solution providen by Ramesh, and so to ahve two receiver lines like that:

(Result = "l001" OR Result ="E0011" ) ==> Receiver_ok

<blank_condition (*)> ==> Receiver_Exception

(*) all condition which does not respect the 1st ones: Result = "l001" OR Result ="E0011".

regards.

Mickael

Former Member
0 Kudos

Ah, this is how you don´t see the wood for the trees.!

Seems that the AND is working.

Test was successful!

Thank you very much!

Best regards

Dirk

Answers (0)