KMP PHP API Reference

RecommendationApprovalRun extends BaseEntity
in package

Recommendation approval workflow projection.

Table of Contents

Constants

STATUS_APPROVED  : mixed = 'approved'
STATUS_CANCELLED  : mixed = 'cancelled'
STATUS_CHANGES_REQUESTED  : mixed = 'changes_requested'
STATUS_CLOSED  : mixed = 'closed'
STATUS_CONSUMED  : mixed = 'consumed'
STATUS_IN_PROGRESS  : mixed = 'in_progress'
TERMINAL_REASON_AWARD_CHANGED  : mixed = 'award_changed'
TERMINAL_REASON_BESTOWAL_CANCELLED  : mixed = 'bestowal_cancelled'
TERMINAL_REASON_CONSUMED_BY_BESTOWAL  : mixed = 'consumed_by_bestowal'
TERMINAL_REASON_PROCESS_RESTARTED  : mixed = 'approval_process_restarted'
TERMINAL_REASON_RECOMMENDATION_DELETED  : mixed = 'recommendation_deleted'
TERMINAL_REASON_REJECTED  : mixed = 'rejected'
TERMINAL_REASON_SUPERSEDED_BY_BESTOWAL_LINK  : mixed = 'superseded_by_bestowal_link'
TERMINAL_REASON_SUPERSEDED_BY_GROUPING  : mixed = 'superseded_by_grouping'

Properties

$approval_process_id  : int
$approval_process_signature  : string|null
$branch_id  : int|null
$completed  : DateTime|null
$created  : DateTime|null
$current_step_key  : string|null
$current_step_label  : string|null
$id  : int
$modified  : DateTime|null
$recommendation_id  : int
$started  : DateTime
$status  : string
$workflow_instance_id  : int
$_accessible  : array<string|int, mixed>

Methods

getBranchId()  : int|null
Get the branch ID for authorization checks.

Constants

TERMINAL_REASON_CONSUMED_BY_BESTOWAL

public mixed TERMINAL_REASON_CONSUMED_BY_BESTOWAL = 'consumed_by_bestowal'

TERMINAL_REASON_PROCESS_RESTARTED

public mixed TERMINAL_REASON_PROCESS_RESTARTED = 'approval_process_restarted'

TERMINAL_REASON_RECOMMENDATION_DELETED

public mixed TERMINAL_REASON_RECOMMENDATION_DELETED = 'recommendation_deleted'
public mixed TERMINAL_REASON_SUPERSEDED_BY_BESTOWAL_LINK = 'superseded_by_bestowal_link'

TERMINAL_REASON_SUPERSEDED_BY_GROUPING

public mixed TERMINAL_REASON_SUPERSEDED_BY_GROUPING = 'superseded_by_grouping'

Properties

$branch_id

public int|null $branch_id

Associated branch ID (when applicable)

$created

public DateTime|null $created

Creation timestamp

$modified

public DateTime|null $modified

Last modification timestamp

$_accessible

protected array<string|int, mixed> $_accessible = ['recommendation_id' => true, 'approval_process_id' => true, 'workflow_instance_id' => true, 'approval_process_signature' => true, 'status' => true, 'current_step_key' => true, 'current_step_label' => true, 'started' => true, 'completed' => true, 'terminal_reason' => true, 'consumed_by_bestowal_id' => true, 'superseded_by_bestowal_id' => true, 'rehydrated_from_run_id' => true, 'created' => true, 'modified' => true, 'created_by' => true, 'modified_by' => true, 'deleted' => true]

Methods

getBranchId()

Get the branch ID for authorization checks.

public getBranchId() : int|null

Child classes should override for complex branch relationships.

Return values
int|null

The branch ID, or null if no association

On this page

Search results