Hi,
I would use something like that :
**in the entermodule part :**
1. i would check if the entered module
is the defect one.
2. if true then i would set
'looking_at_defect' var to true,
else to false
3. I would also set another
'reference_time' var, to get the
actual time you entered the module
last, i would add a loop that would perform
- get the curent time again and store
it in a 'Actual_time' var
- if the actual time exceeds the
reference time, more than the amount
you need (your X mins)
- then the act_refresh or Defects.RefreshAll action is triggered
- and the reference time is reset to be equal to the actual time
while looking_at_defect is true
**in the exitmodule part:**
If the exited module is the defect one, i would set the 'looking_at_defect' var to to false