Steve
01/11/2024, 8:41 PMJames Harris
01/11/2024, 8:56 PMcfthread scope.
Something like the following should work.
thread name="thread_one" {
Sleep(5000);
}
// Wait for the thread to finish
ThreadJoin("thread_one");
if (cfthread["thread_one"].status EQ "completed") {
// The thread finished without error
}Steve
01/11/2024, 8:58 PMSteve
01/11/2024, 8:58 PMSteve
01/11/2024, 9:00 PMJames Harris
01/11/2024, 9:01 PMSteve
01/11/2024, 9:04 PM