I want to use triggers to track changes in the database and once the trigger is fired I want to call a custom procedure. From the trigger I can pass the transactionId to the procedure. How can I get the transaction metadata in the custom procedure from the transaction Id? Is there any way to fetch the transaction metadata within the user procedure?
UNWIND apoc.trigger.nodesByLabel($assignedLabels, "Person") AS node
CALL my.change.log(labels(node), node, "name", $transactionId)
Please provide the following information if you ran into a more serious issue: