Customize Salesforce Activity ObjectsSalesforce.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. The following instructions will show you how to create a custom activity field in SFDC, update the field using Bright Pattern's Attached Data scenario block, and update regular fields using Attached Data.These steps are applicable to both the Salesforce Classic view and the Salesforce Lightning view.Now that you have a custom activity field, you are able to update that field using Bright Pattern Contact Center. Activity Field data may be updated via the [[scenario-builder-reference-guide/AttachedData|Attached Data]] block in a scenario.Once you have a custom field in Salesforce, you can use the Attached Data block to update it.You can test whether it works by logging a call and viewing the case in Salesforce. You should see the custom field with the specified value.To populate regular (not custom) ''Activity Fields'' with any data from the scenario, simply follow step 2 instructions with one exception: use the field name without the “__c” suffix.For example: "account_test", not "account_test__c".The following is a list of predefined fields (''Label/Field Name = Parameter'') in SFDC:* '''Due Date/ActivityDate''' - Interaction start time* '''Call Object Identifier/CallObject''' - [[reporting-reference-guide/GlobalInteractionIdentifier|Global interaction identifier]]* '''Call Type/CallType''' - Interaction type: ''Inbound'', ''Outbound'', or ''Internal''* '''Call Duration/CallDurationInSeconds''' - Interaction duration (talk + hold time) in seconds* '''Call Result/CallDisposition''' - Interaction [[contact-center-administrator-guide/DispositionsTab|disposition]], if available* '''Comments/Description''' - Interaction [[agent-guide/HowtoEnterDispositionsandNotes|notes]] entered by the agent, if any* '''Subject/Subject''' - [[contact-center-administrator-guide/ServicesandCampaignsOverview|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 [[reporting-reference-guide/InteractionRecordsSearch|Interaction Records Search Results]] page of the Contact Center Administrator application with the record that has the recording/transcript of this interactionActivity 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).