โ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-05-2018 01:28 PM
There should always be some all important piece of data, like a key. You can reasonably assume the whole record is null if IT is. What are you trying to do?
โ02-05-2018 02:12 PM
@AdityaReja, some snaps perform no action if there is no input data (i.e. $ == null). You may need to augment your input to trigger the snap as has been explained in this post.
โ02-02-2018 06:32 AM
I also use the router snap and check if a field exists using the .hasOwnProperty() function
โ02-02-2018 07:57 AM
I got stuck using what they suggested, but there are a few options. Still the point is that some fields simply arenโt created.