Follow this code if you want to get the Record identifier (RecId) of a FormTreeControl node
RecId currentRecordRecId = FormTreeControl.getItem(_node).data();

Follow this code if you want to get the Record identifier (RecId) of a FormTreeControl node
RecId currentRecordRecId = FormTreeControl.getItem(_node).data();