I have a requirement… I created a field called “Due date” under “defects” and based on due date selection , I wanted to trigger an email notification to remind “Detected by or creator” so please advice how can I achieve this requirement.
I tried with flag (follow up) , I set it as one date but the emails are not consistent. I get notified only when I am in the defect tab and this is weird.
Thank you. I was going through OTA examples and I found below example for "Adding a follow-up flag to a defect". Do you think, if we add this code in workflow, do i still need to be in the system to trigger email notification ?
And also, I am using ALM 11 and I just copied and pasted below code but i am getting line expected ")" error at line 53. I am not understanding what's the wrong in below.
Honestly, I can write simple code but not the complex one's. I am not even understanding how OTA works.
Private Function AddFollowUpFlagForBug(BugID) As Boolean
Const FUNCNAME = "AddFollowUpFlagForBug"
Dim BugF As BugFactory
Dim Bug As Bug
Dim followupbug As IFollowUpManager
Set BugF = tdc.BugFactory
Set Bug = BugF.Item(BugID)
Set followupbug = Bug
followupbug.SetFollowUp CDate("01/01/07"), "Check if fix documented"
AddFollowUpFlagForBug = SUCCESS
AddFollowUpFlagForBug = FAILURE
ErrHandler err, FUNCNAME, "", FATAL_ERROR