EndTask

Stops a task from running. Call this method only once for each task and subtask. In a script, there should be the same number of BeginTask calls as EndTask calls.

UI Access NA
Parameters
Name Type Description
<PassFail> Boolean Flag that indicates whether to continue the main task or not. If true, the task will continue to process the next subtask. If false, the main task stops and an error icon appears in the UI.
Return Value None

 

Python Syntax EndTask (<PassFail>)
Python Example
progMon.EndTask(True)