Conditions
<AssociateTypeCondition>
<AssociateTypeCondition>Checks that an Associate is a specific Associate type.
Attribute  | Description  | 
|---|---|
  | Number representing the Associate Type.  | 
Example
<Rule Name="Customer" Description="Retail Customer">
  <And>
    
    <AssociateTypeCondition AssociateBaseType="2" />
  
  </And>
</Rule><EarnedBonus>
<EarnedBonus>Checks to see if an Associate has earned Bonus in the past.
Attribute  | Description  | 
|---|---|
  | The ID of the Bonus that may have been earned.  | 
Example
<EarnedBonus Bonus="" /><EnrolledInCondition>
<EnrolledInCondition>Checks to see if an Associate enrolled in TimeSpan or VolumeRange.
Attribute  | Description  | 
|---|---|
  | The ID of the   | 
  | Time span representing the time from the beginning of the period. For example, the last 30 days.  | 
Example
<Rule Name="QualifiedPeriod" Description="Enrolled in the qualified period">
   <And>
     <EnrolledInConditionT Begin="6/1/2019" End="12/30/9999" />
   </And>
</Rule><Rule Name="NewEnrollee" Description="New Enrollee">
  <And>
    <AssociateTypeCondition AssociateBaseType="1" />
    
    <EnrolledInCondition VolumeRange="Monthly" />
  </And>
</Rule><ExpiresOnCondition>
<ExpiresOnCondition>Checks to see if the current period is before ExpireDate.
Attribute  | Description  | 
|---|---|
  | Date to expire on.  | 
Example
<ExpiresOnCondition ExpireDate="" /><FastStartCondition>
<FastStartCondition>Checks to see if a Fast Start was purchased in VolumeRange.
Attribute  | Description  | 
|---|---|
  | The Fast Start index to check.  | 
  | The ID of the Volume Range.  | 
Example
<FastStartCondition Index="" VolumeRange="" /><GenerationGVCondition>
<GenerationGVCondition>Associates on Level Generation in Tree has combined PV of Min.
Attribute  | Description  | 
|---|---|
  | |
  | |
  | |
  | |
  | 
Example
<GenerationGVCondition AssociateBaseType="" Tree="" Generation="" Min="" Max="" /><GVCondition>
<GVCondition>Cheks that Associates has TreeVolume within Min and Max. PersonalVolume can be included if needed.
Attribute  | Description  | 
|---|---|
  | Tree Volume to get the volume from.  | 
  | Minimum volume needed to meet condition.  | 
  | Maximum volume before condition is false.  | 
  | Maximum GV that can come from each leg.  | 
  | If personal volume is need, The Volume to use for personal volume. This has it's own cap and does not use   | 
  | The maximum personal volume that can contribute.  | 
Example
<Rule Description="Leading Affiliate" Name="LA">
  <And>
    <PVCondition Max="-1" Min="300" Volume="PS" />
    
    <GVCondition PersonalVolume="PS" MaxPersonal="-1" IncludeCompressed="True" CompressRule="" Level="-1" MaxPerLeg="-1" Max="-1" Min="1000" TreeVolume="TS" />
  
  </And>
  <Result>
    <SetRank Rank="20" />
  </Result>
</Rule><HasKitCondition>
<HasKitCondition>Checks to see if a Kit of KitLevel was purchased.
Attribute  | Description  | 
|---|---|
  | The Kit Level from Inventory Item.  | 
  | If true, a Kit Level greater than   | 
  | If true, the kit would need to be purchased within the current commission period.  | 
Example
<Rule Description="New products eligible" Name="New">
  <And>
    
    <HasKitCondition KitLevel="9" GreaterThan="false" InCurrentPeriod="false" />
  
  </And>
  <Result>
    <SetStat Name="Kit" Description="Purchased product" />
  </Result>
</Rule><HasLegRule>
<HasLegRule>Checks Tree to see if Leg has a node in it.
Attribute  | Description  | 
|---|---|
  | The tree to check in.  | 
  | The leg to check for.  | 
Example
<HasLegRule tree="Enrollment" Leg=""><HighRankCondition>
<HighRankCondition>Checks to see if Rank was reached in the past.
Attribute  | Description  | 
|---|---|
  | The number of the rank that is needs to be reached.  | 
  | If true, a rank higher than   | 
  | |
  | 
Example
<HighRankCondition Rank="" ExactMatch="" VolumeRange="" TemplateName="" /><HitRuleConsecutive>
<HitRuleConsecutive>Checks to see if Rule was hit ConsecutiveTimes.
Attribute  | Description  | 
|---|---|
  | The number of times the   | 
  | 
  | 
  | 
  | 
  | The rule that must be met   | 
Example
<HitRuleConsecutive ConsecutiveTimes="" GracePeriods="" GraceBegin="" Rule="" /><HitRulePrevious>
<HitRulePrevious>Checks to see if Rule was hit in a past period.
Attribute  | Description  | 
|---|---|
  | The Rule to check for  | 
  | How many periods back to begin checking to see if   | 
  | How many periods back to stop checking to see if   | 
  | This must be true for   | 
  | Used if the rule is from a different template.  | 
Example
<Rule Name="PreviouslyActive" Description="Associate or Retail Customer that has 75 PV in the last period">
  <And>
    
    <HitRulePrevious Rule="Active" PrevIndexBegin="1" PrevIndexEnd="1" UseIndex="True" />
  
  </And>
</Rule><InCodingTreeCondition>
<InCodingTreeCondition>Check to coding tree to see if Count Associates have hit Rule.
Attribute  | Description  | 
|---|---|
  | The rank for the coding tree to check.  | 
  | How many associates need to meet   | 
  | If true, The associates that meet   | 
Example
<InCodingTreeCondition CodingRank="" Count="" Rule="" PersonallyEnrolled="" /><InCountryCondition>
<InCountryCondition>Checks that an Associate resides in Country.
Attribute  | Description  | 
|---|---|
  | The ISO country code to check against. There can be multiple countries.  | 
Example
<InCountryCondition Country="US,CA" /><InIDListCondition>
<InIDListCondition>Checks the ID of an Associate to see if it is in a list of IDs.
Attribute  | Description  | 
|---|---|
  | The list of Associate IDs to check against.  | 
Example
<InIDListCondition IDList="257,189,343" /><InLegCondition>
<InLegCondition>Checks to see if there are Count Associates in Leg of Tree that have hit Rule.
Attribute  | Description  | 
|---|---|
  | Gets the list of associates to check from generation 1 of this tree.  | 
  | The tree that contains the   | 
  | The number of associates that need to meet   | 
  | The rule that the associates needed to have hit.  | 
  | The leg to check the   | 
Example
<InLegCondition RootTree="" Tree="" Leg="" Count="" Rule="" /><IsInRegionCondition>
<IsInRegionCondition>Checks that an Associate resides in RegionId.
Attribute  | Description  | 
|---|---|
  | The region ID to check against. There can be multiple regions.  | 
Example
<IsInRegionCondition RegionIds="3,7" /><LastRankCondition>
<LastRankCondition>Checks to see if Rank was reached last period.
Attribute  | Description  | 
|---|---|
  | The number of the rank that is needs to be reached.  | 
  | If true, a rank higher than   | 
Example
<LastRankCondition Rank="40" ExactMatch="True" /><LegGVCondition>
<LegGVCondition>Checks to see if Leg has Group Volume (GV) equal to or greater than Min and not over Max.
Attribute  | Condition  | 
|---|---|
  | The Tree Volume to get volume from.  | 
  | The leg to check GV volume type.  | 
  | The minimum amount of GV needed to meet the condition.  | 
  | If GV is greater than   | 
  | The maximum volume that can come from rollover.  | 
  | The maximum volume that can come from standard, not rollover, volume.  | 
Example
<LegGVCondition Tree="" Leg="" Min="" Max="" RolloverMax="" NewMax="" /><LegsWithRule>
<LegsWithRule>Checks to see if there are RequiredLegs in Tree that have at least one Associate that hit Rule.
Attribute  | Condition  | 
|---|---|
  | The tree to check in.  | 
  | The number of legs that need at least one associate that hit   | 
  | The rule to check for.  | 
  | If true, only count associates that are personally sponsored  | 
Example
<LegsWithRule Tree=""RequiredLegs="" Rule="" PersonalSponsored=""><LegWithRule>
<LegWithRule>Checks to see if there are Count associates in Leg that have hit Rule.
Attribute  | Condition  | 
|---|---|
  | The tree to check in.  | 
  | The leg to check in.  | 
  | The rule to see if associates have hit.  | 
  | The number of associates that need to meet   | 
  | If true, The associates that meet   | 
  | The maximum rollover to use if   | 
  | The volume to use to find the proper leg if   | 
Example
<LegWithRule Tree="" Leg="" Rule="" Count="" PersonalEnrolled="" MaxRollover="" TreeVolume=""><Level1Condition>
<Level1Condition>Checks that there are Count Associates in the first generation of Tree.
Attribute  | Condition  | 
|---|---|
  | The tree to check in.  | 
  | The rule to check for.  | 
  | The number of associates that needed to have hit   | 
Example
<Rule Description="Nano Influencer" Name="NI">
  <And>
    <PVCondition Max="-1" Min="500" Volume="PS" />
    <GVCondition PersonalVolume="PS" MaxPersonal="1250" IncludeCompressed="True" CompressRule="" Level="-1" MaxPerLeg="1250" Max="-1" Min="2500" TreeVolume="TS" />
    
    <Level1Condition Tree="Enrollment" Count="1" Rule="BLeg" />
  
  </And>
  <Result>
    <SetRank Rank="40" />
  </Result><LevelCondition>
<LevelCondition>Checks that there are Count Associates in Generation of Tree.
Attribute  | Condition  | 
|---|---|
  | The tree to check in.  | 
  | The rule to check for.  | 
  | The number of associates that needed to have hit   | 
  | The generation to check   | 
  | An optional rule to use for compression when determining   | 
  | If true, the associate that meet   | 
Example
<LevelCondition Tree="" Generations="" CompressRule="" Count="" Rule="" PersonalEnrolled="" /><NewGVCondition>
<NewGVCondition>Attribute  | Condition  | 
|---|---|
  | |
  | |
  | |
  | |
  | |
  | 
Example
<NewGVCondition PeriodStart="" AssociateBaseType="" Tree="" Generation="" Min="" Max="" /><NotHitRule>
<NotHitRule>Attribute  | Condition  | 
|---|---|
  | Rule to not hit.  | 
Example
<And>
  <MeetsRule Rule="NI" />
  
  <NotHitRule Rule="BLeg" />
</And><NotHitRulePrevious>
<NotHitRulePrevious>Attribute  | Condition  | 
|---|---|
  | |
  | |
  | |
  | 
Example
<Rule>
  <And>
    <MeetsRule Rule="NI" />
    <MeetsRule Rule="NGenQ" />
    <MeetsRule Rule="LI" />
    
    <NotHitRulePrevious Rule="SI" UseIndex="False" PrevIndexBegin="1" PrevIndexEnd="1" />
  
  </And>
</Rule><PaidOnCondition>
<PaidOnCondition>Checks to see if Associate was paid on a specific Bonus.
Attribute  | Condition  | 
|---|---|
  | The bonus to check for to see if the associate has been paid on.  | 
  | The rule containing the   | 
  | The tag of the bonus if needed.  | 
  | If true, this will check to see if   | 
  | If true, this will check to see if   | 
Example
<PaidOnCondition Bonus="" Rule="" Tag="" IncludePastPeriods="" IncludeCurrentPeriod="" /><PercentileCondition>
<PercentileCondition>Associate in top Percent percent.
Attribute  | Condition  | 
|---|---|
  | |
  | |
  | |
  | |
  | 
Example
<PercentileCondition AssociateBaseType="" Percent="" FromTop="" Volume="" RoundingStrategy="" /><PromotionCondition>
<PromotionCondition>| Attribute | Condition | 
|---|---|
Example
<PromotionCondition /><PVCondition>
<PVCondition>Checks if Volume is greater than Min.
Attribute  | Condition  | 
|---|---|
  | Minimum volume needed to meet condition.  | 
  | Maximum volume before condition is false.  | 
  | Volume to check against.  | 
Example
<Rule Description="Current Quick Start 200" Name="QS200">
  <And>
    
    <PVCondition Max="-1" Min="200" Volume="PS1M" />
    
    <EnrolledInCondition VolumeRange="OneMonthly" />
  </And>
  <Result>
    <SetStat Name="QS200" Description="Current Quick Start 200" />
  </Result>
</Rule><RankCondition>
<RankCondition>Attribute  | Condition  | 
|---|---|
  | |
  | |
  | |
  | 
Example
<Rule>
  <And>
    <MeetsRule Rule="QS200" />
    
    <RankCondition Rank="80" ExactMatch="True" />
    
    <NotHitRule Rule="SI" />
  </And>
</Rule><StatusCondition>
<StatusCondition>Checks to see if Associate is a particular Status.
Attribute  | Condition  | 
|---|---|
  | The status to check for.  | 
Example
<StatusCondition Status="" />Updated 5 months ago
