Navigation: System activities > Description of the PHP API for system activities > API methods > Setting and checking the status
markActivityAsPending(): void
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();
}