#Set relationTo field in a afterOperation hook

2 messages · Page 1 of 1 (latest)

marsh locust
#

I have two collection A and B,
when a A record is created,
I would like to create a B record, the B record has a relationTo to A, and I want to set that relationTo point to the previously created A record.
Can I do this in Collection A afterOperation hook?

formal swanBOT