Tobias, I have used the return filter, I am getting following error when making rest call for node traverse, Error : The remote server returned an error: (500) Internal Server Error. Response header status : javax.script.ScriptException: sun.org.mozilla.javascript.internal.EcmaError: TypeError: Cannot call method "getProperty" of null (<Unknown Source>#1)
please find below the syntax, url: http://localhost:7474/db/data/node/80/traverse/node traverse: {"order": "depth first","relationships": [ { "type": "Friend", "direction": "all" } ],"return filter": { "language": "javascript", "body": "position.lastRelationship().hasProperty(\"customerId\");" },"max depth": 1} * Kernel version Neo4j - Graph Database Kernel 1.3.M03 -- Regards, Justine K Mathews, MCSD.NET Mob: +44-(0) 7795268546 http://www.justinemathews.com<http://www.justinemathews.com/> http://uk.linkedin.com/in/justinemathews _______________________________________________ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user