Code is not running completely with action centre

Hi @Anil_G still I’m unable to do, can i send my sample code if it’s ok means you can check and let me know once what i did wrong