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

markActivityAsPending(): void

Scroll Prev Top Next More

Sets the Interim status (step_status) of a system activity to in process (step_status = 1). For more details, see the TechDoc.

Example:

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

 $this->markActivityAsPending();