CBPRestActivity::Cancel: Bitrix method

      
<?php 
//  CBPRestActivity :: Cancel()
//  /dist/bitrix/modules/bizproc/classes/general/restactivity.php:317

    
public function Cancel()
    {
        if (
$this->UseSubscription == 'Y')
            
$this->Unsubscribe($this);

        return 
CBPActivityExecutionStatus::Closed;
    }