> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bbrands.io/llms.txt
> Use this file to discover all available pages before exploring further.

# ReferralWorkflowTransition

> The schema definition for the ReferralWorkflowTransition resource.

## Primary key

[Navigate to header](#param-commercial-activity)

document\_id

uuid

default:"Random UUID"

public

required

Unique identifier of the referral workflow transition.

## Specific attributes

[Navigate to header](#param-commercial-activity)

timeout\_days

integer

public

The timeout days of the referral workflow transition.

[Navigate to header](#param-commercial-activity)

trigger\_event

varchar

public

required

The trigger event of the referral workflow transition.

**Rules**: Possible values: contract\_activated, crm\_accepted, crm\_rejected, cycle\_closed, lead\_rejected, lead\_submitted, manual, subscription\_contracted, subscription\_first\_paid, subscription\_renewed, timeout. Max length: 50 characters

## Foreign keys

[Navigate to header](#param-commercial-activity)

step\_from

uuid

public

required

Reference to the Referral Workflow Step this referral workflow transition belongs to. [Ref: Referral Workflow Step Schema](https://docs.bbrands.io/schemas/referral/referral-workflow-step.md)

[Navigate to header](#param-commercial-activity)

step\_to

uuid

public

required

Reference to the Referral Workflow Step this referral workflow transition belongs to. [Ref: Referral Workflow Step Schema](https://docs.bbrands.io/schemas/referral/referral-workflow-step.md)

## Tracking attributes

[Navigate to header](#param-commercial-activity)

created\_at

timestamp

public

required

Timestamp when the record was created.

**Rules**: Precision: 6, with timezone

[Navigate to header](#param-commercial-activity)

deleted\_at

timestamp

public

Timestamp when the record was soft-deleted, when applicable.

**Rules**: Precision: 6, with timezone

[Navigate to header](#param-commercial-activity)

is\_actived

boolean

default:"true"

public

required

Indicates whether the record is currently active.

[Navigate to header](#param-commercial-activity)

is\_deleted

boolean

default:"false"

public

required

Indicates whether the record has been soft-deleted.

[Navigate to header](#param-commercial-activity)

updated\_at

timestamp

public

Timestamp when the record was last updated.

**Rules**: Precision: 6, with timezone


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.