Rick Faircloth wrote: > Is there a way to break out of the cfscript block once > the status of the first thread, "2_hmls_offices", is "Completed" and go > on to process regular CFML code?
There is nothing special about the <cfscript>...</cfscript> code. This is not a requirment of threads or anything, just a personal preference for coding style. The entire example could easily be rewritten using tag syntax. <cfset thread.seepTimes = 0> <cfset thread.initalized = false> <cfloop condition="2_hmls_offices>status NEQ 'COMPLTETED' AND 2_htmls_offices.Status NEQ 'TERMINATED'"> <cfset sleep(2000)> <cfset thread.sleeptimes++> </cfloop> ..... Not syntax checked to make sure I translated that 100% correctly but you should get the idea. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311808 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4