very simply: I want to send an email if someone adds a new test to a folder in Test Plan.

I'm using the TestPlan_Test_New workflow script and here's what I have so far:

if Test_Fields.Field("TS_SUBJECT").Value.Path = "Subject\Production" then
TDConnection.SendMail EmailTo, "", Test_Fields("TS_NAME").Value, Test_Fields("TS_NAME").Value, NULL, "TEXT"
end if

This is working just fine if the test is added to the "Subject\Production" folder. Ultimately I want the notification to happen for *all* folders under this path. So in other words if a test case is added *anywhere* under this path I want notification. Is there a wildcard or something I could use?

any help would be greatly appreciated [img]/images/graemlins/smile.gif[/img]

cyclist [img]/images/graemlins/smile.gif[/img]