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

isPending(): bool

Scroll Prev Top Next More

Returns true when the Interim status (step_status) of a system activity is set to in progress (step_status between 0 and 99). For more details, see the TechDoc.

Example:

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

 $this->markActivityAsPending();