Working on a segmentation scenario in on-prem version of Hybris marketing.
After performing some segmentation steps on corporate accounts database, need to reduce the segment based on dynamic counts for assigned sales rep. Eg.
End segment contains 5000 accounts with breakup -
Employee A - 1500
Employee B - 1500
Employee C - 1000
Employee D - 1000
Now we want to reduce this as per following threshold for each sales rep
Employee A - 500
Employee B - 400
Employee C - 200
Employee D - 100
Theoretically, it is feasible by spliting segments for each employee and reduce each sub segment. But practically, it is not feasible as no of employees are high.
Is there any other way to reduce the segment or do we have any BAdI that can be used to write custom code for reducing segments.