<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Thanks, that was helpful.<div>However, I seem to be too stupid to create the proper scrip condition. I thought it should do the following:</div><div> - Identify transaction as a "resolve"</div><div> - Determine whether the customfield ("Silent") has a given value ("Yes")</div><div> - If Silent == Yes, do not send resolved template</div><div><br></div><div>Suggestions as to how to do this?</div><div><br></div><div>Thanks!</div><div>/Eirik</div><div><br><div><div>On Jun 17, 2008, at 17:14, Drew Barnes wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>I think that setting a custom field is a separate transaction than the resolve. Try looking into TransactionBatch in RT_SiteConfig.pm and for your scrip. Should be a bit of info on the wiki.<br><br><br>Eirik Øverby wrote:<br><blockquote type="cite">Hi,<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I'm trying to implement a way to "silence" the resolve message to requestor.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">However, I cannot make the following code - or any variant over it - work as expected:<br></blockquote><blockquote type="cite"> return 1 unless ($self->TransactionObj- >FirstCustomFieldValue('Silent') =~ /Yes/i );<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I have created a customfield named "Silent", type "select one", with one selectable value (named "Yes"). However when trying to evaluate that one in a custom condition, it is as if the value isn't ever set.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">If I try to walk the CustomFields object, I get as far as to CustomFieldValues, which is a object hash for ObjectCustomFieldValues, but I can't get beyond that (to me it seems like that object has no children).<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Using RT 3.6.6. Known issue? Obvious mistake on my part (as usual)?<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Thanks,<br></blockquote><blockquote type="cite">/Eirik<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">_______________________________________________<br></blockquote><blockquote type="cite"><a href="http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users">http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users</a><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Community help: <a href="http://wiki.bestpractical.com">http://wiki.bestpractical.com</a><br></blockquote><blockquote type="cite">Commercial support: <a href="mailto:sales@bestpractical.com">sales@bestpractical.com</a><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at <a href="http://rtbook.bestpractical.com">http://rtbook.bestpractical.com</a><br></blockquote><blockquote type="cite"> <br></blockquote><br>-- <br>Drew Barnes<br>Applications Analyst<br>Network Resources Department<br>Raymond Walters College<br>University of Cincinnati<br><br><br></div></blockquote></div><br></div></body></html>