What Is Salesforce Activity Management?
Activity Management in Salesforce mainly consists of:
- Tasks (To-Dos)
- Events & Calendars(meetings)
A task is an object in itself that is used to assign a business activity such as making a phone call or other TO-DO items that have a target end date.
Event and Calendars
An event is also an object which represents a calendar item such as a meeting or conference which has Start & End Date/Time and also it usually involves other persons who here are called invitees.
Both of these objects come under Activities in the user interface but they are completely different objects in terms of API. Even in the setup menu under Activities, they both have their own field list, validation rules, buttons & links, page layouts, etc. Yet we can add a field to the activity field list which will get added to both Task & Event’s page layout.
There is no tab for Activities (Tasks or Events) in Salesforce. Activities can be created on Contract, Order, Campaign, Account, Opportunity, Product, Asset, Case, Solution, Coaching, Goal, and Metric standard objects. Also, the custom objects whose “Allow Activities” checkbox is checked can have activities on them.
Important fields In Tasks & Events
The subject field in activities is a combo box that can be described as a picklist that looks like a lookup field and behaves like a text field.
2. Related To
This field’s API name is ‘WhatId’ and it defines which object’s record a particular task or event is related to. These objects can be any of the custom objects which allow activities on them and all the standard objects on which they can be created. This field is polymorphic.
3. Assigned To
This field’s API name is OwnerID and it defines to which User, Calendar, or Group the task or to which User, or Calendar, event has been assigned.
4. Due Date(Only On Task)
This field’s API name is ActivityDate and it represents the date by which the task should get completed.
5. Status(Only On Task)
This field describes the status of the task such as “In Progress”, “Not Started” or “Completed”.
This field’s API name is WhoID and using this field tasks can be related to a lead or contact. This field is also polymorphic.
7. Start & End Date/Time (Only On Event):
This field indicates the start & end date/time of the event.
8. All-Day Event (Only On Task)
It is a checkbox that if checked, disables the End Date/Time field for the event.
9. Recurring series of Tasks
This field helps them to create recurring events or tasks daily/weekly/monthly/yearly.
Invitees are the Users, Leads, or contacts invited for a particular event. When we save the event and send them the update they get an email using which they can accept or decline the request which then will be visible in the Accepted & Declined related list on the event’s detail page.
What Is Related Lists In Salesforce?
2 related lists appear on the page layout of the object which allows activities on it, following are:
1. Open Activities
This related list displays all open tasks and events for the record and its associated records.
2. Activity History
This related list displays all the completed tasks, logged phone calls, expired events, outbound emails, mass emails, and merged documents for the record and its associated records.
Tasks assigned to users are visible on the My Tasks-related list on their homepage and events scheduled for which a particular user is an invitee is visible on the calendar-related list on the home page.
Limitations with Activities
- Notes & Attachments cannot be added to activities.
- Custom fields such as long text areas or rich text areas cannot be added to activities.
- Tasks cannot be assigned to a queue.
- To enable activity management on a particular object, you can select the Allow Activities checkbox while creating the object.
- In activities, we can also log a call(which means we can store conversations related to a particular record) and we can send an email as well.