Join the free virtual developer conference on knowledge graphs and AI. This year's themes are: applications, AI engineering, data intelligence, graphs, and architecture.
I am attempting to use an apoc.trigger in order to create a set of nodes after a node - with a specific label - is created. However, it doesn't seem to be working.
I updated/added the apoc.conf with the appropriate statements to enable apoc.trigger. I'm able to use apoc.trigger functions including installing a trigger.
BUT, it's still not working for some reason. When I create new nodes, the trigger is not activated.
@jacob3
given the current issue and rather than building out a trigger with a lot of complexity, I decided to build out a very small test case. And with Neo4j 5.11.0 and
ls -al plugins/
drwxr-xr-x 2 neo4j neo4j 4096 Jan 11 22:24 .
drwxr-xr-x 15 neo4j neo4j 4096 Dec 5 11:22 ..
-rw-r--r-- 1 neo4j neo4j 14495768 Jan 11 22:24 apoc-5.11.0-core.jar
-rw-rw-r-- 1 neo4j neo4j 11137885 Dec 5 11:20 apoc-5.11.0-extended.jar
-rw-r--r-- 1 neo4j neo4j 2217 Aug 8 07:47 README.txt
There is another option besides APOC, we have introduced Change Data Capture (CDC) in Neo4j, it is currently available as a beta in versions from Neo4j 5.14 Enterprise. You can create selectors which watch for specific labels, when a node is created a change event will be created and you can then use that to perform the desired action Introduction - Change Data Capture