Scheduler name is “Auto loyalty update”
will update all persons benefits 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 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 loyalty level 2 memeber user need be a member for 7 years minimum with end date not less then 30 days before today
Change restrictions parameters
User can do it with some schedule setups:
allowedDaysPause - will change amount of days without subscription that allow person to keep loyalty status
yearsToBenefitStatusMap - map of years to become some 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
Full parameters list example
this exaple will set days without subscription to 20, status “1” after 10 year and “2“ status after 7 years
allowedDaysPause=20 yearsToBenefitStatusMap=10-1;7-2