Notification Template

Hi,

I need some help to build a new notification template.

The gooal is to receive notification that show if a Task run succesfully or on error.

What i need to write on the SQL Query field on the Notification Template?

Thank for help me

Faye