Skip to main content

Condition_IsCustomerSatisfactionGoal

Description

Returns whether the total satisfaction score of the BaseObject customer meets the level-based goal score defined in FB1HouseholdBizConfigTableRow (CustomerSatisfactionGoalScore for the current biz level). The comparison is between the customer's total satisfaction score (CalculateTotalSatisfactionScore) and the goal score from the config table. Returns false if no HouseholdBiz is found at the customer's current Site, if there is no valid config or level info, or if the customer has not visited the Biz today. InRange, OutRange, and None CompareTypes are not supported.

Parameters

ParameterDescription
BaseObjectA customer Character located at a HouseholdBiz site. Used to resolve both the Site and the biz.
CompareTypeEqual, NotEqual, Greater, GreaterOrEqual, Less, or LessOrEqual comparison against the goal score.

Examples

DescriptionBaseObjectCommandCompareType
Check if Self's satisfaction score meets the level goalSelfIsCustomerSatisfactionGoalGreaterOrEqual
Check if Target's satisfaction score exceeds the level goalTargetIsCustomerSatisfactionGoalGreater
Check if Self's satisfaction score is below the level goalSelfIsCustomerSatisfactionGoalLess
Check if Target's satisfaction score does not equal the goalTargetIsCustomerSatisfactionGoalNotEqual