Hi all,
I am trying to execute a Gremlin Script using Groovy class. I am trying to invoke the Groovy class using Restful Web service. I am passing two Query parameters userid and docid to the Groovy class, I can print the Query parameters which is being passed, but when I pass the same Query parameters to Gremlin Script I am getting "NO SUCH PROPERTY EXCEPTION".
The Query parameters are passed using restful webservice.
The Gremlin Script which I am trying to execute is (the below mentioned Script throws "NO SUCH PROPERTY userid")
g.v(userid).out.in........;
g.v(docid).in......;
When I hard code the userid value as 990 and docid value as 2456 , I am getting the Expected Output.
How to pass Query parameters to Gremlin Script.
Thanks
Vijay