QC workflow code alrtable not working
♥ 0 |
In ALM, I’m trying to programmatically alert a defect when the status changes to fixed. My code is in the Bug_FieldChange() handler. When the code runs, I get a "Project is not connected." message on the line where the alert gets set. I tried explicitly setting the connection (commented out) with the same result. The series of msgbox’s prove that the project is indeed connected. So why am I getting this error message (below)? Code is below that. BTW, this issue exists in ALM 11.52 and ALM 12. ![alt text][1] Sub Bug_FieldChange(FieldName) if FieldName = "BG_USER_03" then bgId = Bug_Fields("BG_BUG_ID").Value Set tdc = TDConnection msgbox tdc.LoggedIn Set bgFact = tdc.BugFactory ‘ Set the alert end if On Error GoTo 0
Marked as spam
|