Journeys Fact Table

Journeys is an engagement automation interface that enables brands to create scenario-based flows to nurture your customers throughout their lifecycle. Journeys are created using building blocks. After the entry trigger, the building blocks define the journey of a customer. Each building block has a specific purpose in the journey.

The journey_block_execution_fact table captures information about each execution of a journey block, including timestamps, journey and block identifiers, user identifiers, and status.

Databricks Table Name: journey_block_execution_fact

Journeys Fact - Entity Relationship Diagram (ERD)

Zoom in the table for more clarity. Click the table title to view its details.

Journey Block Execution Factauto_update_time_journey: bigintauto_update_time_journey_block_execution: bigintblock_id: stringdim_event_date_id: bigintdim_event_time_id: bigintdim_event_user_id: bigintdim_journeyLevel_id: bigintdim_journey_block_status_id: bigintdim_journey_block_type_id: bigintdim_journey_meta_block_id: stringdim_journey_status_id: bigintdim_latest_updated_date_id: bigintdim_latest_updated_time_id: bigintis_control: stringPKjourney_block_execution_id: stringjourney_id: stringjourney_meta_id: stringjourney_version: intlevel_id: stringnext_block_id: stringyear: intJourney Block StatusLKid: intvalue: stringJourney Block TypeLKid: intvalue: stringJourney Blockblock_type: stringends_at: stringmulti_entry_allowed: stringuse_tiny_url: stringou_id: intstart_type: stringjourney_meta_name: stringjourney_meta_id: stringlevel: stringlink_tracking_enabled: stringblock_name: stringend_type: stringLKblock_id: stringencrypt_url: stringjourney_meta_group_id: stringstarts_from: stringjourney_version: intsimulation_mode: stringtest_control_mode_disabled: stringjourney_meta_description: stringjourney_status: stringobjective: stringtime_compression_factor: stringjourney_meta_version_id: stringconsent_status_for_previous_version: stringauto_update_time: bigintJourney Block Execution FactJourney Block StatusJourney Block TypeJourney StatusLKid: intvalue: stringJourney StatusJourney BlockdateLKdate_id: intday_of_month: intweek_of_year: intmonth: stringyear: intquarter: stringweek_number: intweek_start_date: stringweek_end_date: stringday_of_week: stringmonth_no: intmonth_no_of_year: intmonth_of_year: stringday_of_week_no: intquarter_no: intyearly_quarter_no: intdate: stringDateTimeLKtime_id: biginttime: stringhour_of_day: intminute_of_day: intday_shift: stringday_shift_no: inthour_range: stringTimeusersauto_update_merged_customer: bigintauto_update_loyalty: bigintfraud_status: stringtest_control_bucket: stringis_merged_customer: stringsubscription_status_email_bulk: stringfirst_name: stringslab_name: stringsubscription_status_wechat_bulk: stringemail: stringlast_name: stringmerged_user_id: bigintLKuser_id: bigintsubscription_status_wechat_trans: stringsubscription_status_sms_bulk: stringndnc_status: stringsubscription_status_email_trans: stringtest_control_status: stringauto_update_fraud_user: bigintis_inactive: stringsource: stringslab_number: intauto_update_users: bigintregistered_till_id: bigintauto_update_customer_enrollment: bigintslab_expiry_date: stringcustomer_external_id: stringsubscription_status_sms_trans: stringmobile: stringloyalty_type: stringauto_update_ndnc_status: bigintUsers

Legend

PK   Primary Key

LK   Linking Key

Fact Table
Dimension Table

Journeys Fact Table

Column NameData TypeDescriptionLinked Table
auto_update_time_journeybigintDate and time when the corresponding record in the journeys table available at the source was last updated. It is in the Unix timestamp format._
auto_update_time_journey_block_executionbigintDate and time when the corresponding record in the journey_block_execution table available at the source was last updated. It is in the Unix timestamp format._
block_idstringUnique identifier for the journey meta block._
dim_event_date_idbigintJourney block execution start date (that is, the date on which the user started processing the corresponding journey block).date
dim_event_time_idbigintJourney block execution start time (that is, the time when the user started processing the corresponding journey block).time
dim_event_user_idbigintIdentifier for the user associated with the journey.user
dim_journeyLevel_idbigintIdentifier for the user journey level._
dim_journey_block_status_idbigintIdentifier for the status of the journey block. Possible values are - completed, executing, failed, queued, temporary failure, etc.journey block status
dim_journey_block_type_idbigintIdentifier for the type of the journey block. Possible values are - Entry, join, jump, reminder, incentives, whatsapp engagement, email engagement, sms engagement, etc.journey block type
dim_journey_meta_block_idstringIdentifier of the journey block. It is the combination of journeyMetaId - journeyVersion - blockId.journey block
dim_journey_status_idbigintIdentifier for the status of the user journey.journey status
dim_latest_updated_date_idbigintDate when the data corresponding to this event/row is changed in the source table.date
dim_latest_updated_time_idbigintTime when the data corresponding to this event/row is changed in the source table.time
is_controlstringIndicates whether the journey block is part of a control group. Possible values are - 'true' and 'false'._
journey_block_execution_idstringUnique identifier for the execution of the user journey block. This is the primary key for the table._
journey_idstringUnique identifier for the user journey._
journey_meta_idstringUnique identifier for the journey meta._
journey_versionintVersion number of the journey meta._
level_idstringIdentifier for the user journey level._
next_block_idstringIdentifier for the next block id to be executed for the user journey._
yearintYear of the user journey block execution event._