Please enable JavaScript to view this site.

The manual for the JobRouter developer

Navigation: System activities > Description of the PHP API for system activities > API methods > Setting and checking the status

isCompleted(): bool

Scroll Prev Top Next More

Returns true when the Interim status (step_status) of a system activity is set to completed (step_status = 99). For more details, see the TechDoc.

Example:

if( $this->isCompleted() === false ){

 $this->markActivityAsCompleted();