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
STATUS_APPROVED
public
mixed
STATUS_APPROVED
= 'approved'
STATUS_CANCELLED
public
mixed
STATUS_CANCELLED
= 'cancelled'
STATUS_CHANGES_REQUESTED
public
mixed
STATUS_CHANGES_REQUESTED
= 'changes_requested'
STATUS_CLOSED
public
mixed
STATUS_CLOSED
= 'closed'
STATUS_CONSUMED
public
mixed
STATUS_CONSUMED
= 'consumed'
STATUS_IN_PROGRESS
public
mixed
STATUS_IN_PROGRESS
= 'in_progress'
TERMINAL_REASON_AWARD_CHANGED
public
mixed
TERMINAL_REASON_AWARD_CHANGED
= 'award_changed'
TERMINAL_REASON_BESTOWAL_CANCELLED
public
mixed
TERMINAL_REASON_BESTOWAL_CANCELLED
= 'bestowal_cancelled'
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'
TERMINAL_REASON_REJECTED
public
mixed
TERMINAL_REASON_REJECTED
= 'rejected'
TERMINAL_REASON_SUPERSEDED_BY_BESTOWAL_LINK
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
$approval_process_id
public
int
$approval_process_id
$approval_process_signature
public
string|null
$approval_process_signature
$branch_id
public
int|null
$branch_id
Associated branch ID (when applicable)
$completed
public
DateTime|null
$completed
$created
public
DateTime|null
$created
Creation timestamp
$current_step_key
public
string|null
$current_step_key
$current_step_label
public
string|null
$current_step_label
$id
public
int
$id
$modified
public
DateTime|null
$modified
Last modification timestamp
$recommendation_id
public
int
$recommendation_id
$started
public
DateTime
$started
$status
public
string
$status
$workflow_instance_id
public
int
$workflow_instance_id
$_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