Auto populate master Record field ID on a Row action

Some thing is going wrong. Though i see the XML in the preview, it is not getting through when i save it.