Here's a suggestion:
Mark the time when starting the thread.
Then during the script run, add a time check action and compare the time difference with your desired value.
-> Take appropriate action.
Specific function for each thread
-
@hifive,
Example # 1 splitting threads into 2 functions action_test1.xml.
Example # 2 splitting threads into any number of functions action_test2.xml.