KMP PHP API Reference

WorkflowInstanceMigration extends BaseEntity
in package

WorkflowInstanceMigration Entity

Audit trail for workflow instance version migrations. Records how nodes were mapped between versions and who triggered the migration.

Table of Contents

Constants

MIGRATION_TYPE_ADMIN  : mixed = 'admin'
MIGRATION_TYPE_AUTOMATIC  : mixed = 'automatic'
MIGRATION_TYPE_MANUAL  : mixed = 'manual'

Properties

$branch_id  : int|null
$created  : DateTime|null
$from_version  : WorkflowVersion
$from_version_id  : int
$id  : int
$member  : Member|null
$migrated_by  : int|null
$migration_type  : string
$modified  : DateTime|null
$node_mapping  : array<string|int, mixed>|null
$to_version  : WorkflowVersion
$to_version_id  : int
$workflow_instance  : WorkflowInstance
$workflow_instance_id  : int
$_accessible  : array<string, bool>
Fields that can be mass assigned.

Methods

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

Constants

Properties

$branch_id

public int|null $branch_id

Associated branch ID (when applicable)

$modified

public DateTime|null $modified

Last modification timestamp

$_accessible

Fields that can be mass assigned.

protected array<string, bool> $_accessible = ['workflow_instance_id' => true, 'from_version_id' => true, 'to_version_id' => true, 'migration_type' => true, 'node_mapping' => true, 'migrated_by' => 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