# How to call a Neo4j procedure from Knime 4.2.x and further process results

**URL:** <https://forum.knime.com/t/how-to-call-a-neo4j-procedure-from-knime-4-2-x-and-further-process-results/27480>\
**Category:** Partner Extensions\
**Tags:** redfield\
**Created:** [September 18, 2020, 9:47am UTC](https://forum.knime.com/t/how-to-call-a-neo4j-procedure-from-knime-4-2-x-and-further-process-results/27480 "2020-09-18T09:47:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dstefane](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/d/bc8723/32.png) [@dstefane](https://forum.knime.com/u/dstefane)\
**Post date:** [September 18, 2020, 9:47am UTC](https://forum.knime.com/t/how-to-call-a-neo4j-procedure-from-knime-4-2-x-and-further-process-results/27480/1 "2020-09-18T09:47:18Z")

</div>

Dear all,

I would like to use Knime 4.2.x to call a procedure from Neo4j 3.5.20 and further process the results of the procedure in Knime. Does anyone have an example of how to do it?

Thanks for any help in advance.

Best regards,  
Dan

---

<div class="post-metadata">

**Author:** ![dstefane](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/d/bc8723/32.png) [@dstefane](https://forum.knime.com/u/dstefane)\
**Post date:** [September 24, 2020, 8:43am UTC](https://forum.knime.com/t/how-to-call-a-neo4j-procedure-from-knime-4-2-x-and-further-process-results/27480/2 "2020-09-24T08:43:04Z")

</div>

Hi,

I fixed this on my own. For my particular Neo4j procedure, a Neo4j writer node can be used to call it as follows:

match (n:Mytype) WHERE n.nuid = ‘${{n.nuid}}’ WITH COLLECT(n) AS nodesList call myproc(‘param1’,nodesList,‘column1’) yield responseCode return responseCode

(Please note that my Neo4j procedure accepts only a list of nodes as second parameter. That’s why I had to put the node “n” of the current iteration into a collection/list. The procedure results can be further processed by means of a “JSON to table” node in Knime.)

Best regards,  
Dan

---

<div class="post-metadata">

**Author:** ![system](https://forum-cdn.knime.com/uploads/default/original/1X/ab3ccf34482a0329361734a18199390177204f15.png) [@system](https://forum.knime.com/u/system)\
**Post date:** [March 25, 2021, 8:43pm UTC](https://forum.knime.com/t/how-to-call-a-neo4j-procedure-from-knime-4-2-x-and-further-process-results/27480/3 "2021-03-25T20:43:40Z")

</div>

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.
