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

isFirstExecution(): bool

Scroll Prev Top Next More

Returns true if the system activity is executed for the first time or if the Interim status (step_status) has not been changed during the process (step_status = 0). For more details, see the TechDoc.

Example:

if( $this->isFirstExecution() ){

 doSomethingSpecial();