[RavenclawDev 250] checking if an agent has been restarted

Svetlana Stenchikova svetastenchikova at gmail.com
Sun Apr 15 22:30:18 EDT 2007


Hi,

does RavenClaw have any facility to check if the dialog has been "restarted"?

I would like to play a different message when the dialog is
'restarted' than when it is 'started' for the first time, but I do not
see how I can check for that.

When a user says 'restart' all agents are recreated, so that all
reset, reopen counters start from 0 again.

I can add to  DialogAgent  a static variable 'countCreated', which
counts every time any agent is created, but this is not a nice
solution.

Can someone suggest a better way?

thank you
Svetlana


More information about the Ravenclaw-developers mailing list