[rt-users] How to create a new condition through the web gui
Kevin Falcone
falcone at bestpractical.com
Wed Dec 18 11:34:09 EST 2013
On Tue, Dec 17, 2013 at 10:49:49PM +0100, Marius Flage wrote:
> Den 17.12.2013 20:19, skrev Kevin Falcone:
>
> >You may find it easier to use the new extension we blogged about,
> >instead of User Defined scrips/actions
> >
> >http://blog.bestpractical.com/2013/12/new-web-ui-for-rt-actions-and-conditions.html
>
> This extension looks very nice and shiny and I just added it to my
> RT, but I still have no idea how to use it :) And especially not for
> my example. The example I found uses raw perl code that returns 0/1
> depending on some variables, but recreating this using just the five
> text input fields provided by the extension seems impossible.. ?
If you wish to be able to copy/paste the code you found, you'll use a
User Defined condition as explained by someone else in this thread.
If you want to use this extension, you'll need to review the blog post
and the documentation of the extension.
-kevin
> What should I enter for "Condition Module", "Parameters to Pass" and
> "Applicable Transaction Types"? The Perl snippet seems to first
> check TransactionObj if the transaction type is "Create", if not
> it'll return 0. Then it will check if it's the first transaction and
> finally it'll check for a header "Received". Replicating this in 5
> text input fields seems impossible :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 235 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20131218/47589399/attachment.sig>
More information about the rt-users
mailing list