Force continue existing run

Question ID: 105932
0
0

We have users that are adding a new run instead of continuing the existing run which is in "Not Completed" status. Is there a way to add a pop up when user tries to start a new run and existing run is in "Not completed’ status?

Marked as spam
Posted by (Questions: 122, Answers: 3)
Asked on February 9, 2015 10:17 pm
5 views
Answers (1)
0
Private answer

Try placing the following in the ActionCanExecute trigger in the Common Script:

 If ActionName = ''RunView.BeginRun'' Then
     If TestSetTest_Fields.Field(''TC_STATUS'').Value = ''Not Completed'' Then
        ActionCanExecute = False
        MsgBox ''You must complete the prior run''
        Exit Function
     End If
  End If
Marked as spam
Posted by (Questions: 3, Answers: 168)
Answered on February 9, 2015 10:19 pm