[rt-users] Notify owner unless they are already an AdminCc
Ruslan U. Zakirov
Ruslan.Zakirov at acronis.com
Tue Jan 11 12:57:11 EST 2005
Mike Patterson wrote:
> By browsing the code and the wiki I determined that I want to define a
> Custom Action e.g. "Notify Owner and AdminCc's".
No, you don't want CustomAction.
> Then I would use it in a scrip "On Comment Notify Owner and AdminCc's
> using Template Admin comment"
[snip]
> By browsing the tables I figured out how to insert a row that would has
> the desired effect, note previous row was row '17'
>
> INSERT INTO `ScripActions` ( `id` , `Name` , `Description` ,
> `ExecModule` , `Argument` , `Creator` , `Created` , `LastUpdatedBy` ,
> `LastUpdated` )
> VALUES (
> '18', 'NotifyAsComment Owners and AdminCcs', 'Send mail to Owners and
> AdminCcs', 'NotifyAsComment', 'AdminCc,Owner', '1', '2005-01-11
> 08:42:51', '1', '2005-01-11 08:42:51'
> );
>
> Then I was able to call that action in scrip (it shows up on drop-down
> list now).
Yeah, it's way to go for now.
> My problem is solved, but I would have preferred to have use builtin
> method of adding CustomActions. Any tips concerning what should have
> gone in the "Custom condition:" "Custom action preparation code:" and
> "Custom Action cleanup code:" to create a CustomAction within my scrip?
You want WebUI admin tool to manage ScripActions table. It's not
implemented.
>
> Thanks,
> Mike
More information about the rt-users
mailing list