Setting Object relations to the current logged-in user


I am looking to create a button that saves an object (a selected quest) to the database, while also setting that object to have a 1:1 relationship with the user who is currently logged in (so each user can access only their active quests). Any advice on how to make that work would be appreciated. I can’t seem to figure out how to make this an automatic process.



You doing all correct, but children parameter should contain objectId. After this fix everything will work as expected.

Regards, Nikita.