OpenWGA 7.6 - TMLScript reference

JobContext
Property :

cancelable

On object JobContext
Usage Determines if this job is cancelable
Description

OpenWGA admin client will only try to cancel a running task if one of two things happen in its code:

  • The job is manually determined to be cancelable by setting this property to true
  • breakIfCancelled() is called the first time
If a task is not known to be cancelable then OpenWGA admin client can only cancel the job after the current task has finished.

Writable True
Return value Boolean
Allowed in script types
  • TMLScript tasks in jobs