Can I create a Scrip Condition to check on-login?

I would like to create a scrip that checks the condition on login/authentication for what the current user logged in is.

Is this even possible or can scrips only be asked to check on ticket transactions?

There is a callback in RT::Interface::Web called SuccessfulLogin that you could use to run some code, can that work?

1 Like

Is this even possible or can scrips only be asked to check on ticket transactions?

Scrips do not fire on login though

Hi
What are you trying to achieve?

I am trying to generate an email notification when someone logs in as the root account.

OK,I think Knation has come up with the best starting point, a SuccessfulLogin callback from RT::Interface::Web (path_to_rt/lib/RT/Interface/Web.pm) will probably be cleanest and future proof you if you need to perform an upgrade

1 Like