Hi, I have added the following piece of code to a
"Defects_ActionCanExecute" function in the QC Workflow defect script.
Set BugFact = TDConnection.BugFactory
Set BugFilter = BugFact.Filter
' Set the filter values.
BugFilter.Filter("BG_STATUS") = "Fixed"
Set bugList = BugFilter.NewList
msgbox "refreshed"

When i click the associated action button from the Defects modules in QC, the code gets executed. But the list of defects based on the filter settings that am setting does not show in the UI. What am i missing here? Please help. I am using QC 10.0.