on 12-12-2011 1:32 PM
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
Hi Dirk,
(Result = "l001" OR Result ="E0011" ) - ->
Did you try this by checking in Multiline option on the editor?
Regards
Ramesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.