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.