On May 23, 2007, at 5:48 AM, Mathew Snyder wrote:

I've set up the ExtractCustomFieldValue on our server and have, as far as I know, configured the template and scrip as necessary. However, it isn't
working.  Actually, I have two for two different CFs.

This are my templates:
Environment|"Body"|CUSTOMER ENVIRONMENT\s+\[(\w+)\]
and
Severity|"Body"|SEVERITY\s+\[([1-4]\s+\-\s+.*)\]

I've tested both regexes using an online tester and got the results I was looking for. However, when I create a ticket with the appropriate lines within
it, nothing gets populated.

My scrips look like this:
Condition: On Create
Action:    Extract Custom Field Values
Global template: ExtractEnvironment (the above template)
Stage:     TransactionCreate

I don't have any User Defined conditions or actions except the Custom action preparation code which is simply "return 1;". The scrip for the Severity field
is identical except for using the different template.

Anyone have an idea as to what I'm doing wrong?

When you crank up your logging to debug, what do you see?
ExtractCustomFieldValues 1.6 is quite chatty about what it is doing and when

-kevin


Mathew
--
Keep up with me and what I'm up to: http://theillien.blogspot.com
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com

Reply via email to