Hi,
I am trying to send mail when BG_DETECTED_IN_REL meet the criteria but not able to get the mail triggered.
Below is the code that i an using, i have tired using Bug_Fields.Field("BG_DETECTED_IN_REL").value but no luck.
If Bug_Fields.Field("BG_DETECTED_IN_REL").Name= "UK*" and Bug_Fields.Field("BG_Status").IsModified Then
strSubject = "ALM Incident No: " & Bug_Fields.Field("BG_BUG_ID").Value & " has changed status to " & Bug_Fields.Field("BG_Status").value
strComment = "The status of this defect has been changed to " & Bug_Fields.Field("BG_Status").value
SendDefectMail Bug_Fields("BG_BUG_ID").Value, "fake1_email@fake.com","fake_email@fake.com", strSubject, StrComment
End If
Regards,
Prashant