Jonathan,<br><br>If I understand this right, you want to create a child ticket for every value the user selects in the Custom Field. If they choose Florida and Maine, then you want two child tickets. If they select Florida, you want one. What if they select 3 or 4 values? If this is the case, I would create a scrip for each possible value, that way, no matter how many they select, each one will create a child ticket.<br>
<br>Kenn<br>LBNL<br><br><div class="gmail_quote">On Wed, Jun 9, 2010 at 9:10 AM, Jonathan Rummel <span dir="ltr"><<a href="mailto:jrummel@imapp.com">jrummel@imapp.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
Thanks, Kevin. I'm pretty much doing this on a novice level, and could use a<br>
little more explaining if possible. Please see notes in caps and<br>
parenthesis below:<br>
<div class="im"><br>
Jonathan<br>
<br>
Your condition only checks if the first value is Florida and then<br>
again hardcodes the first value into the ticket creation. Using<br>
FirstCustomFieldValue is never going to show you the second value.<br>
<br>
</div>(HOW DO I REFERENCE THE 2ND, 3RD, ETC. CUSTOM FIELD VALUES IN MY CONDITION?<br>
I DON'T SUPPOSE IT'S AS EASY AS "SecondCustomFieldValue".)<br>
<div class="im"><br>
CreateTickets can create multiple tickets by defining them in the<br>
Template with differing ===Create-Ticket: lines (see the pod in the<br>
action) but that requires you to know how many tickets you want.<br>
<br>
</div>(COULD YOU PLEASE EXPLAIN THE ABOVE FURTHER? I'M NOT SURE I COMPLETELY<br>
UNDERSTAND.)<br>
<div class="im"><br>
I believe in the past people have advised that you either write a look<br>
that calls Ticket->Create for each CustomFieldValue, but you should be<br>
able to generate the template entirely within {} for each<br>
CustomFieldValue if you want to go that route.<br>
<br>
-kevin<br>
<br>
</div><font color="#888888">--<br>
View this message in context: <a href="http://old.nabble.com/Spawn-multiple-child-tickets-tp28755908p28832522.html" target="_blank">http://old.nabble.com/Spawn-multiple-child-tickets-tp28755908p28832522.html</a><br>
</font><div><div></div><div class="h5">Sent from the Request Tracker - User mailing list archive at Nabble.com.<br>
<br>
<br>
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.<br>
Buy a copy at <a href="http://rtbook.bestpractical.com" target="_blank">http://rtbook.bestpractical.com</a><br>
</div></div></blockquote></div><br>