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.

Trigger that return a text message

Hi,
Is it possible to make a trigger return a text message?
Something like this:

CALL apoc.trigger.add('deleteNodeMesage',"UNWIND {deletedNodes} as node
MATCH (n:Person)
RETURN 'Hello' ", {phase:'before'});

Any idea?

Thanks in advance!

1 REPLY 1

Triggers cannot contribute to the output - their return is ignored. You might use the apoc logging procedures to write to the log file.