How can I save a data object relation in Codeless?

I have this schema, which is table Posts:
http://support.backendless.com/public/attachments/00c23d89110d59a8c0de292757d00c14.png</img>

and table Groups:
http://support.backendless.com/public/attachments/a973da1416be6de93a3aadb9f4d9ffcc.png</img>

How do I save an object to the Posts table that includes the ‘group’ data relation? I tried retrieving it, and putting it into ‘group’ but once I saved the object, the group isn’t added.

Hi Sena
http://support.backendless.com/public/attachments/14ccbb8cabfbc96010c561078f19a814.png</img> Regards, Vlad