Similar answer. I just put selected records directly in the same line rather than a separate variable.
var vFieldName = model.getValue(this.data.selectedRecords[0],'COLUMN_NAME'); apex.item('P600_DISPLAY_PARENT_TASK').setValue(vFieldName);