QC workflow code alrtable not working
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.
if FieldName = "BG_USER_03" then
bgId = Bug_Fields("BG_BUG_ID").Value
Set tdc = TDConnection
Set bgFact = tdc.BugFactory
‘ Set the alert
On Error GoTo 0
Marked as spam
Please log in to participate..