cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Can you run apoc.trigger.add(...) using the apoc.initializer.runFile("triggers.cypher") command in kubernetes?

We have a set of triggers that we are trying to add into the system when we deploy it for the first time. We have found that you can run:

apoc.initializer.runFile("triggers.cypher") ;

and it will say in the logs that it ran successfully, however when I try to run:

CALL apoc.trigger.list();

Nothing is returned I can manually add the triggers in question but I am wondering if it is possible to do it using a file and the previously mentioned commands.

0 REPLIES 0