APN notification custom value response

Hi, i am getting notification from APN of iOS. but i want to get access the custom data recordid. but i could not able to access that it is showing undefined value. the below one is screen shot alert of response from notification is in the image.

in the above image of json response i want get notifcation.request.tirgger.payload.recordid. how to i will get this recordid value. if i am try to access {notifcation.request.tirgger.payload.recordid} it is showing undefined value. can any one help me in this?

below i am using in the code

Blockquote
alert(“notf:”+JSON.stringify(notification.request.trigger)+“values:”++JSON.stringify(notification.request.trigger.payload.recordid));