02-01-2018 11:01 PM
I’m getting data out of LDAP and i nees to route it to two different mappers depending upon whether the incoming data is null or not. But i’m unable to do this… any solution?
02-01-2018 11:49 PM
Have you tried the Router Snap?
02-02-2018 01:37 AM
what condition to give i router snap ?
02-02-2018 06:03 AM
x==null (do if x is null)
x!=null (do if x is NOT null)
BTW there are TWO types of null in snaplogic.
What I spoke of earlier is for the 2nd case I listed above
For case number 2, it would be
!(‘x’ in $)
(‘x’ in $)
So remember, in some cases a field will not be created for a field that does not have a value and, in those cases, you have to check if the field exists.
02-04-2018 10:29 PM
i need to check for entire input stream not for one particular variable in $, like if the $ is null or not