function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
VamsiVamsi 

How to perform a round robin assignment of records to only logged in users

Hi All,

I have installed a round robin record assignment (Un managed package) application from app exchange and now I woud like to modify the code to have this work only for logged in users in salesforce, I have tried retrieving the session info from "Authsession" object but I could see a multiple sessions opened for a user and I am not sure whether a user is currently logged in or not and our ORG has a session time out set to 12 hours.

Any thoughts would be really appreciated...!!!!
Thanks in advance ..!!!
NagendraNagendra (Salesforce Developers) 
Hi Vamshi,

As per my understanding, you cannot modify the code (Apex, visual force) of package installed from App exchange.
if you access an Apex Class that is installed from Appexchange you can see this:
User-added image

Regards,
Nagendra. 
VamsiVamsi
Hi Nagendra,

Thanks for the response but its an unmanaged package and we can modify the components in it.