---
schema_version: "1"
id: 1eee104f69621e37781caced55e02415494143f58eedbf61b2d33446914165fc
title: ConnectApi.FormulaScope
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_output_formula_scope.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_formula_scope.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: ff09807cea308a42d94a0c8a7a2f623661fac6a8f281e3e5f6612fc9a4680fc1
description: Formula scope for a target.
---
# ConnectApi.FormulaScope

Formula scope for a target.

| Property Name | Type | Description | Available Version |
| --- | --- | --- | --- |
| contextValues | [Map](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_map.htm#apex_methods_system_map "Contains methods for the Map collection type.")<String, String> | Map of context values for the scope. In version 52.0 and later, use the contextValuesMap property. | 50.0–51.0 |
| contextValuesMap | [Map](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_map.htm#apex_methods_system_map "Contains methods for the Map collection type.")<String, Object> | Map of context values for the scope. | 52.0 |
| fields | [List](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_list.htm#apex_methods_system_list "Contains methods for the List collection type.")<String> | List of fields of the scope. | 50.0 |
| formula | String | Formula of the scope. | 50.0 |

#### See Also

- [ConnectApi.Target](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_target.htm "Personalization target information.")