cezarykac
(Cezarykac)
#1
Hi,
I added trigger:
CALL apoc.trigger.add('updateprop','UNWIND {assignedNodeProperties} AS prop with prop.node as n SET n.tsupd = timestamp()', {phase:'before'});
then
I did some changes
But trigger does nothing 
Is it ok ?
I wanted to add/update property in case any of node properties was changed.
Any idea ?
Regards,
Cezary
Check if you have enabled triggers in configuration apoc.trigger.enable=true
and change your payload statement to
UNWIND apoc.trigger.nodesByLabel({assignedNodeProperties},null) AS n SET n.tsupd = timestamp()
cezarykac
(Cezarykac)
#3
Hi Stefan,
Thanks ! that payload works 