Scheduler name is “Auto loyalty update”
will update all persons benefits status to Gold or Black status or clear it if it fit some restriction
Default restrictions
Days without subscription without lost of loyalty status is set to 30
To become a gold loyalty level 1 memeber user need be a member for 3 years minimum with end date not less then 30 days before today
To become a black loyalty level 2 memeber user need be a member for 7 years minimum with end date not less then 30 days before today
...
allowedDaysPause - will change amount of days without subscription that allow person to keep loyalty status
yearsToBenefitStatusMap - minimum amount or map of years to become gold loyalty member and minimum amount or years to become black loyalty membersome related loyalty level
Its not required to set all 3 parameters if user need to change only one, you can set only those that you need to change
...
this exaple will set days without subscription to 20, gold status “1” after 1 10 year and black “2“status after 10 7 years
Code Block |
---|
allowedDaysPause=20 yearsToBenefitStatusMap=1:1010-1;7-2 |