How to get Intent name

How can I get the sucess intent name ? what is the variable ?