Changes in deals lifecycle
This commit is contained in:
parent
e827c0f9d5
commit
525720ea0a
2 changed files with 19 additions and 24 deletions
|
|
@ -316,7 +316,7 @@ models:
|
|||
- 05-Churning: Either Deals that are offboarded in that month or Deals that are becoming inactive because of lack of bookings in the past 12 months
|
||||
- 06-Inactive: Either Deals that have been previously offboarded or Deals that have not had a booking for more than 12 months.
|
||||
- 07-Reactivated: Deals that have had a booking in the current month that were inactive or churning before, that are not offboarded.
|
||||
- Finally, if none of the logic applies, which should not happen, null will be set and a dbt alert will raise.
|
||||
- 99-Not in HubSpot: Deals that are not in HubSpot so we can't determine the lifecycle state.
|
||||
|
||||
Since the states of Active, First Time Booked and Reactivated indicate certain booking activity and are
|
||||
mutually exclusive, the model also provides information of the recency of the bookings by the following
|
||||
|
|
@ -388,7 +388,7 @@ models:
|
|||
description: |
|
||||
Contains the lifecycle state of a deal. The accepted values are:
|
||||
01-New, 02-Never Booked, 04-Active, 05-Churning, 06-Inactive,
|
||||
07-Reactivated. Failing to implement the logic will result in alert.
|
||||
07-Reactivated, 99-Not in Husbpot.
|
||||
data_tests:
|
||||
- not_null
|
||||
- accepted_values:
|
||||
|
|
@ -399,6 +399,7 @@ models:
|
|||
- 05-Churning
|
||||
- 06-Inactive
|
||||
- 07-Reactivated
|
||||
- 99-Not in HubSpot
|
||||
|
||||
- name: has_been_booked_within_current_month
|
||||
data_type: boolean
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue