10-22-2021 01:21 AM
Hi,
We are doing migration to snaplogic and I need to write expression in router where basically
in first output anything which is true for the expression:-
$Z7_COND.IDOC.MES in (‘ED’,‘FG’)
and
$Z7_COND.IDOC.REC in ('34,‘PD’)
and 2nd output should have all the oppsites of first output.
How to write it in snaplogic.
10-22-2021 01:40 AM
Hello @Sahil,
You need to write the next expression:
in the first route: ($Z7_COND.IDOC.MES == ‘ED’ || $Z7_COND.IDOC.MES == ‘PD’)
&& ($Z7_COND.IDOC.REC == ‘34’ || $Z7_COND.IDOC.REC == ‘PD’)
in the second route write true and check the first match:
BR,
Marija