I'd like to know WHEN ranking happens. Is it a constant process? Does rank only happen when a user logs in?
I have a "Role Remover" rank. It usually sits at the bottom of my rank list. Here's what it does:
ROLE REQUIRED: [name of role]
ROLES REMOVE: [name of role]
In other words, if a user has a specific role, remove a role (and the role removed can be the role required....very handy)
When I want this to run, I put it in the # 2 position, just under administrator. It works, but it's timing is sketchy. What I would like to know is what triggers a specific user to be passed down the list of roles until they hit one that fits? Does it happen all the time or just when the user logs in?
For example user "steve" has role x. I want to remove all users from role x. I put my role remover up on 2nd position and I tell it to remove role x from everyone that has role x. Steve doesn't login for months. Will role x be removed from his account even though he hasn't logged in? I want everyone removed from role x even if they haven't logged in.
Solved! Go to Solution.
I've investigated this for you, and it appears that the trigger for ranking is any time the system needs to call a user's rank. So logging in would trigger a ranking, but other things like manually assigning a rank or searching for a specific user would also cause a ranking check. I hope this helps!
Thanks Nora. I assume, then, when I move my "role remover" up near the top of the list this says the system needs to call rank so it does it. I just tried it with a user that hasn't logged in for a long time and it worked so I guess that answers my question. I guess the sketchy timing is that when I'm doing something that affects hundreds of users, it does it in batch spurts. That's what it seems like anyway. Thanks for looking into it for me!
Just wondering if you could help me on how to rearrange a rank so it moves to # 2 or #3 in the ranking list? Every time I created new rank, it is always appeared on the very bottom of the list, hence when the rules kick in, the user is still not assigned to the new rank I created.
Thanks for your help!
Welcome to the Technology board!Curious about our platform? Looking to connect on social technology? You've come to the right place!