{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":5939,"path":"customer-service-management/configure-act-contexts-ca.md","title":"Associate activity groups and activity types to activity contexts","bundle":null,"doc_type":null,"release":"australia","body":"\n# Associate activity groups and activity types to activity contexts\n\nAdd the activity groups and activity types that you created to an activity context, depending on who you want to display the information for.\n\nLearn more about associating an activity group to an activity context from the following video tutorial.\n\nLearn more about associating an activity type to an activity context from the following video tutorial.\n\n## Before you begin\n\nRole required: admin\n\n## About this task\n\nAn activity context is the person or user who is interacting with the customer service agent. There are two predefined activity contexts: consumer and contact. Add the activity groups and activity types that you created to the activity context, depending on who you want to display the information for.\n\n## Procedure\n\n1.  Navigate to **All** &gt; **Customer Central** &gt; **Customer History** &gt; **Guided Setup**.\n\n2.  Select **Get Started** under Activity Contexts.\n\n3.  Select **Configure** beside Activity Context Groups.\n\n4.  Open the contact or consumer record that you want to add your configuration to.\n\n5.  On the Activity Context Groups related list, select **New**.\n\n6.  Add the activity group.\n\n7.  On the Activity Context Types related list, select **New**.\n\n8.  Fill out the fields, as required.\n\n    |Field|Description|\n    |-----|-----------|\n    |Activity type|Add the activity type.|\n    |Fetch from activities|Deselect Fetch from Activities if a business rule isn’t defined for this activity type.|\n    |Filter conditions|Add filter criteria to apply filter conditions on the source table.|\n    |Source mapping field|Select the field in the Source table that is related to the context.|\n    |Context mapping field|Select the field in the Context table to map to the field selected in **Source mapping** field.|\n    |Advanced mapping|Select Advanced Mapping and write a script in the **Advanced mapping script** field if the source and context mapping isn’t sufficient.|\n\n9.  Select **Submit**.\n\n\n"}}