[Rt-commit] rt branch, lcore, updated. 11afaea7af216642ba748cacd6b94057eb3a1659

jesse jesse at bestpractical.com
Sat Aug 8 12:10:42 EDT 2009


The branch, lcore has been updated
       via  11afaea7af216642ba748cacd6b94057eb3a1659 (commit)
      from  1804d1ca2597f8a2fc61c7f0d918efcf8ee76d9b (commit)

Summary of changes:
 TODO.lorzy |   26 ++++++++++++++++++++++++++
 1 files changed, 26 insertions(+), 0 deletions(-)

- Log -----------------------------------------------------------------
commit 11afaea7af216642ba748cacd6b94057eb3a1659
Author: Jesse Vincent <jesse at bestpractical.com>
Date:   Sat Aug 8 17:09:57 2009 +0100

    starting to flesh out some english-language rules for translations into
    lorzy rules

diff --git a/TODO.lorzy b/TODO.lorzy
index be0623e..0000343 100644
--- a/TODO.lorzy
+++ b/TODO.lorzy
@@ -1,2 +1,28 @@
 * lorzy code improvements:  control flow handling like return, exception
 * test and implement ordering of rules
+
+
+
+Possible rule workflows:
+
+
+On ticket creation, send email to the user who is the requestor of the ticket
+using a particular template.
+
+On ticket correspondence, if the requestor of the ticket wasn't the sender,
+send a copy to him.
+
+On ticket correspondence, send email to all members of the group
+"adminccs of ticket $ticket->id."
+
+On ticket correspondence, send email to jesse at example.com
+
+On ticket correspondence, add a copy of the correspondence as a comment
+on each ticket which depends on ticket $id
+
+On ticket creation, if the ticket subject matches /emergency/, send a pager
+email to sysadmin at example.com
+
+On ticket update, if the ticket's custom field "Foo" has a value that is in the list ("A", "B", "C"), set its status to 'stalled'.
+
+On ticket update, if its custom field "Foo" has a value that is > 20, create a new ticket owned by the ticket requestor's manager in the approvals queue which the original ticket depends on, copying various bits of ticket metadata. It subject should be "Approval for '$ticket->subject'"

-----------------------------------------------------------------------


More information about the Rt-commit mailing list