<div dir="ltr">Oops forgot to CC the list.<div><br><div class="gmail_quote"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div class="im">On 6 June 2013 13:23, Ruslan Zakirov <span dir="ltr"><<a href="mailto:ruz@bestpractical.com" target="_blank">ruz@bestpractical.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><div>yes, use SQL to check:<br></div></div>
<div><br></div><div>select Description from Scrips order by Description;</div><div><br></div><div>[RTIR] prefix is also accounted, so you have to know where DB places it while sorting.</div></div></div></div></blockquote>


<div><br></div></div><div>Thank you that makes sense.  I still have a bit of an issue with the order of things.  If I use "On Create" as the condition the scrip fires earlier than the order by Description and there are no IP addresses in the custom field at that point.  If I use a User Defined condition the IP address custom field is already populated by that time.  The problem with using a User Defined condition is that it has the potential to fire more than once if I base it on something to do with the ticket that might happen more than once in the ticket's life.  I only want to do this process once on the original content of the ticket so On Create makes the most sense.</div>


<div><br></div><div>Any idea how I can get a condition that that will only fire once per ticket on creation or otherwise but going by the order of scrips that indicated by the SQL query?</div></div></div></div></div><div>

<br></div>-- <br><div>Landon Stewart <LandonStewart@Gmail.com><br></div>
</div></div>