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
johnhageljohnhagel 

Get a list of activity performed by users

Hi

 

I am new to using the Saleforce API.  I would like to know if it posiible to get all events that track activities performed by a user using the Saleforce API.

 

Thanx

John

SuperfellSuperfell

If by event/activitiies you mean the interactions between the user and the salesforce app (e.g. viewed account X, etc), then no. If by event/activitities you mean sales activities that the user has logged as task/events, then you can use SOQL queries to examine these objects, e.g. select id, subject, activityDate from task where createdById='{theUser}' and createdDate > LAST_N_DAYS:2