how to define in notification following, if there is no data coming for particular tag for last two hours then send notification?
Are you using PI notifications 2012?
If so, you could use performance equation as trigger condition and configure it in this way:
('*' - PrevEvent('CDT','*')) > '+60m'
where cdt is your tag name.
I hope this helps,
Retrieving data ...