From Bright Pattern Documentation
Jump to: navigation, search
• 5.19 • 5.2 • 5.3 • 5.8

Customizing SFDC Activity Objects

Salesforce.com (SFDC) activity history is a list of associated tasks or the history of activities that have been carried out on an object. For example, the activity history section on a contact record may contain a list of actions that the sales rep has taken in working that lead, such as emails sent, calls made, and so forth. In addition to the predefined Activity History Objects, these fields can be extended with customized activities to track against objects.


How to Customize an Activity Object

Note that the following steps are done in Salesforce Classic view.

Step 1: Create custom fields for an object

  1. In Salesforce.com, go to Customize > Activities > Activity Fields and then work in Activity Custom Fields to create custom fields.

  2. Add a new field, set the label name, and assign the field name.A sample of the predefined Recording URL (Custom Activity Field) is shown. Note the naming convention:

    Sfdc-integration-guide-image30.png


  3. In a new browser tab, open your Salesforce.com scenario entry in the Scenario Builder application.

  4. Note that upon saving a new custom field, SFDC will automatically add suffix “__c” to it. In order to supply interaction data to this field, use the field name including suffix “__c” in the Attached Data scenario block. For example, to populate Custom Activity field XXXX, it is required to have the scenario block Attached Data XXXX__c.


Notes

Activity Field data may be updated via the Attached Data block in a scenario referencing the Activity Field API Name.


Sfdc-integration-guide-image31.png


To populate regular (not custom) Activity Fields with any data from the scenario, just use the field name without the “__c” suffix.


Step 2: Manage layouts to include new custom fields

  1. In Salesforce.com, go to Customize > Activities > Task Page Layouts to create or modify page layouts to include new custom fields.

  2. Add a new field by dragging and dropping the new field into the Task Page Layout.

  3. Modify the layout as required.

  4. Then save the new layout.


Predefined Fields

Predefined fields (Label/Field Name = Parameter) include the following:

  • Due Date/ActivityDate - Interaction start time
  • Call Type/CallType - Interaction type: Inbound, Outbound, or Internal
  • Call Duration/CallDurationInSeconds - Interaction duration (talk + hold time) in seconds
  • Call Result/CallDisposition - Interaction disposition, if available
  • Comments/Description - Interaction notes entered by the agent, if any
  • Subject/Subject - Service associated with the interaction, in format: SFDC object type: service name
  • Status/Status - Status: Completed, Delivery Pending, Not Started, etc.
  • SPRecordingOrTranscriptURL__c (note that this is a custom field) - Interaction recording URL; clicking this URL will open the Interaction Records Search Results page of the Contact Center Administrator application with the record that has the recording/transcript of this interaction


Sfdc-integration-guide-image32.png


Note that activity history is added to the last record that the agent had open on the Agent Desktop while finishing the call (or the related after-call work).


< Previous | Next >
< Previous | Next >