---
schema_version: "1"
id: a1e2c32574f09de1c151ba8270e6553f9451de0f24051284d51afdc67f8852dd
title: sfdcDigest Parameters
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/analytics/264-0-0/bi_integrate_salesforce_extract_transformation_operation.md
canonical_url: https://help.salesforce.com/s/articleView?id=analytics.bi_integrate_salesforce_extract_transformation_operation.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: e00883d99a67bf0b02891227a0887b87250a54cce354c74faaef5ab26474cd60
description: When you define an sfdcDigest transformation, you set the action attribute to sfdcDigest and specify the parameters for the object and fields that you want to extract. Optionally, you can also specify parameters to filter the records extracted from the Salesforce object.
products:
  - CRM Analytics
  - Cross Cloud
release: "264"
---
# sfdcDigest Parameters

When you define an sfdcDigest transformation, you set the action attribute to `sfdcDigest` and specify the parameters for the object and fields that you want to extract. Optionally, you can also specify parameters to filter the records extracted from the Salesforce object.

## Parameters

You can specify parameters in the following sections of the sfdcDigest node: parameters, fields, and filterConditions.

This table describes the parameters in the `parameters` section.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:25%">
          <col style="width:12.5%">
          <col style="width:62.5%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d67440e53">Parameter</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d67440e56">Required?</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d67440e59">Value</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Parameter" class="slds-cell-wrap" style="vertical-align:top;" headers="d67440e53 ">object</td>

            <td data-label="Required?" class="slds-cell-wrap" style="vertical-align:top;" headers="d67440e56 ">Yes</td>

            <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d67440e59 ">API name of the Salesforce object from which you want to extract data. This
              object is the input source for this transformation. The sfdcDigest transformation
              doesn’t support extraction from all Salesforce objects.</td>

          </tr>
          <tr class="">
            <td data-label="Parameter" class="slds-cell-wrap" style="vertical-align:top;" headers="d67440e53 ">incremental</td>

            <td data-label="Required?" class="slds-cell-wrap" style="vertical-align:top;" headers="d67440e56 ">No</td>

            <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d67440e59 ">
              <p>Performs an incremental sync, which extracts only changes to the Salesforce
                object since the last dataflow run. Valid values: true or false. Incremental sync:</p>
              <ul>
                <li>Is available if you have enabled data sync.</li>
                <li>Isn’t supported for Salesforce big objects.</li>
              </ul>
            </td>

          </tr>
          <tr class="">
            <td data-label="Parameter" class="slds-cell-wrap" style="vertical-align:top;" headers="d67440e53 ">fullRefreshToken</td>

            <td data-label="Required?" class="slds-cell-wrap" style="vertical-align:top;" headers="d67440e56 ">No</td>

            <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d67440e59 ">
              <p>Performs a one-time full extraction to synchronize the data in the dataset with
                data in the Salesforce object. Specify any value for this parameter. </p>
              <p><span id="bi_integrate_salesforce_extract_transformation_operation__incrementalafterfullextractions"><a name="bi_integrate_salesforce_extract_transformation_operation__incrementalafterfullextractions"><!-- --></a>After the full extraction, the dataflow
                  performs an incremental extraction each time thereafter even though the <code>fullRefreshToken</code> parameter is included in the
                  dataflow definition. To run a full extraction again, change the value of the
                  <code>fullRefreshToken</code> parameter to a different
                  value.</span></p>
              <p style="margin-bottom:0;">Incremental sync is available if you have enabled data
                sync.</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Parameter" class="slds-cell-wrap" style="vertical-align:top;" headers="d67440e53 ">fields</td>

            <td data-label="Required?" class="slds-cell-wrap" style="vertical-align:top;" headers="d67440e56 ">Yes</td>

            <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d67440e59 ">
              <p>An array of names of all fields from which you want to extract data from the
                specified Salesforce object. The sfdcDigest transformation doesn’t support
                extraction from all field types.</p>
              <p style="margin-bottom:0;">See Field Attributes.</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Parameter" class="slds-cell-wrap" style="vertical-align:top;" headers="d67440e53 ">filterConditions</td>

            <td data-label="Required?" class="slds-cell-wrap" style="vertical-align:top;" headers="d67440e56 ">No</td>

            <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d67440e59 ">
              <p>A filter that restricts the records extracted from the specified Salesforce
                object. The sfdcDigest transformation extracts all records from the Salesforce
                object for which the filter is true. You can specify a structured or advanced
                filter.</p>
              <p style="margin-bottom:0;">See Filter Conditions Parameters.</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Parameter" class="slds-cell-wrap" style="vertical-align:top;" headers="d67440e53 ">complexFilterConditions</td>

            <td data-label="Required?" class="slds-cell-wrap" style="vertical-align:top;" headers="d67440e56 ">No</td>

            <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d67440e59 ">For advanced filters only. A SOQL WHERE clause used to filter records extracted
              from the specified Salesforce object.</td>

          </tr>
        </tbody>
      </table>

## Field Attributes

The following table describes the attributes in the `fields` section. It also describes optional attributes that you can provide to override the field metadata. You can override the metadata that the sfdcDigest Transformation transformation extracts from a Salesforce object to make the data appear differently in a dataset. For example, CRM Analytics can add a default value to records that have missing values for a field. If you don’t override the values, CRM Analytics gets the values from Salesforce.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:25%">
          <col style="width:12.5%">
          <col style="width:62.5%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d67440e188">Attribute</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d67440e191">Required?</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d67440e194">Value</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Attribute" class="slds-cell-wrap" style="vertical-align:top;" headers="d67440e188 ">name</td>

            <td data-label="Required?" class="slds-cell-wrap" style="vertical-align:top;" headers="d67440e191 ">Yes</td>

            <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d67440e194 ">API name of the field in the Salesforce object that you want to include in the
              dataset. You can specify multiple fields. </td>

          </tr>
          <tr class="">
            <td data-label="Attribute" class="slds-cell-wrap" style="vertical-align:top;" headers="d67440e188 ">defaultValue</td>

            <td data-label="Required?" class="slds-cell-wrap" style="vertical-align:top;" headers="d67440e191 ">No</td>

            <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d67440e194 ">
              <p>Used for text and numeric fields that can be null. Numeric fields can have a
                literal <code>null</code>, while text fields can have
                <code>“null”</code>. A default value replaces a null
                value for the specified field. Enter a string value.
              </p>
              <p style="margin-bottom:0;">Example: <code>"defaultValue": "0"</code></p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Attribute" class="slds-cell-wrap" style="vertical-align:top;" headers="d67440e188 ">type</td>

            <td data-label="Required?" class="slds-cell-wrap" style="vertical-align:top;" headers="d67440e191 ">No</td>

            <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d67440e194 ">
              <p>CRM Analytics field type associated with the specified field. Valid types are
                Text, Numeric, or Date. Any value, including numeric values, can be Text. For
                example, by default, fiscal quarter from Salesforce objects is Number. However, you
                can change it to Text. Specify a type to override the type determined by CRM
                Analytics.</p>
              <p>Example: <code>"type":
                  "Text"</code></p>
              <p style="margin-bottom:0;">You can’t change a field’s type to Numeric or
                Date.</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Attribute" class="slds-cell-wrap" style="vertical-align:top;" headers="d67440e188 ">fiscalMonthOffset</td>

            <td data-label="Required?" class="slds-cell-wrap" style="vertical-align:top;" headers="d67440e191 ">No</td>

            <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d67440e194 ">
              <p>For date fields only. The difference, in months, between the first month of the
                fiscal year and the first month of the calendar year (January). For example, if the
                fiscal year starts in January, the offset is 0. If the fiscal year starts in
                October, the offset is 9.</p>
              <p>Example: <code>"fiscalMonthOffset": 9</code></p>
              <p>This attribute also controls whether CRM
                Analytics generates fiscal date fields. To generate fiscal date fields, set
                <code>fiscalMonthOffset</code> to a value other than
                0.
              </p>
              <p style="margin-bottom:0;">CRM Analytics doesn’t support fields with different <code>fiscalMonthOffset</code> values in the same dataset. Using
                different <code>fiscalMonthOffset</code> values can
                produce unexpected results when you filter by relative fiscal date ranges. We
                recommend that you set the same value for all <code>fiscalMonthOffset</code> attributes in a dataset.</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Attribute" class="slds-cell-wrap" style="vertical-align:top;" headers="d67440e188 ">isYearEndFiscalYear</td>

            <td data-label="Required?" class="slds-cell-wrap" style="vertical-align:top;" headers="d67440e191 ">No</td>

            <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d67440e194 ">
              <p>For date fields only. Indicates whether the fiscal year is the year in which
                the fiscal year ends or begins. Because the fiscal year can start in one calendar
                year and end in another, you must specify which year to use for the fiscal year.</p>
              <ul>
                <li>If true, then the fiscal year is the year in which the fiscal year ends. The
                  default is true.</li>
                <li>If false, then the fiscal year is the year in which the fiscal year
                  begins.</li>
              </ul>
              <p>Example: <code>"isYearEndFiscalYear":
                  true</code></p>
              <p>This field is relevant only when <code>fiscalMonthOffset</code> is greater than 0.</p>
              <p style="margin-bottom:0;">CRM Analytics doesn’t
                support fields with different <code>isYearEndFiscalYear</code> values in the same dataset. Using different
                <code>isYearEndFiscalYear</code> values can produce
                unexpected results when you filter by relative fiscal date ranges. We recommend
                that you set the same value for all <code>isYearEndFiscalYear</code> attributes in a dataset.
              </p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Attribute" class="slds-cell-wrap" style="vertical-align:top;" headers="d67440e188 ">firstDayOfWeek</td>

            <td data-label="Required?" class="slds-cell-wrap" style="vertical-align:top;" headers="d67440e191 ">No</td>

            <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d67440e194 ">
              <p>For date fields only. The first day of the week for the calendar year and, if
                applicable, fiscal year. Use 0 to set the first day to be Sunday, 1 to set the first
                day to be Monday, and so on. Use -1 to set the first day to be on January 1. The
                default is -1.</p>
              <p>Example: <code>"firstDayOfWeek":
                  0</code></p>
              <p style="margin-bottom:0;">CRM Analytics doesn’t support fields with different <code>firstDayOfWeek</code> values in the same dataset. Using
                different <code>firstDayOfWeek</code> values can produce
                unexpected results when you filter by relative week date ranges. We recommend that
                you set the same value for all <code>firstDayOfWeek</code>
                attributes in a dataset.</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Attribute" class="slds-cell-wrap" style="vertical-align:top;" headers="d67440e188 ">isMultiValue</td>

            <td data-label="Required?" class="slds-cell-wrap" style="vertical-align:top;" headers="d67440e191 ">No</td>

            <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d67440e194 ">
              <p>For text fields only. Indicates whether the specified field has multiple
                values.</p>
              <p style="margin-bottom:0;">Example: <code>"isMultiValue":
                false</code></p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Attribute" class="slds-cell-wrap" style="vertical-align:top;" headers="d67440e188 ">multiValueSeparator</td>

            <td data-label="Required?" class="slds-cell-wrap" style="vertical-align:top;" headers="d67440e191 ">No</td>

            <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d67440e194 ">
              <p>For text fields only. Single character used to separate multiple values in the
                specified field when isMultiValue equals true. This value defaults to a semicolon
                (;) if you do not specify a value and isMultiValue equals true. Set to null when
                isMultiValue equals false.</p>
              <p style="margin-bottom:0;">Example: <code>"multiValueSeparator": ";"</code></p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Attribute" class="slds-cell-wrap" style="vertical-align:top;" headers="d67440e188 ">precision</td>

            <td data-label="Required?" class="slds-cell-wrap" style="vertical-align:top;" headers="d67440e191 ">No</td>

            <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d67440e194 ">
              <p id="bi_integrate_salesforce_extract_transformation_operation__precision_description"><a name="bi_integrate_salesforce_extract_transformation_operation__precision_description"><!-- --></a>The maximum number of digits in a numeric value, or
                the length of a text value. For numeric values: Includes all numbers to the left
                and to the right of the decimal point (but excludes the decimal point character).
                Value must be from 1 through 18, inclusive. For text values: Value defaults to 255
                characters, and must be from 1 through 32,000 characters, inclusive.</p>
              <p style="margin-bottom:0;">Example: <code>"precision": 10</code></p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Attribute" class="slds-cell-wrap" style="vertical-align:top;" headers="d67440e188 ">scale</td>

            <td data-label="Required?" class="slds-cell-wrap" style="vertical-align:top;" headers="d67440e191 ">No</td>

            <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d67440e194 ">
              <p id="bi_integrate_salesforce_extract_transformation_operation__scale_description"><a name="bi_integrate_salesforce_extract_transformation_operation__scale_description"><!-- --></a>The number of digits to the right of the decimal point in
                a numeric value. Must be less than the precision value. Value must be from 0
                through 17 characters, inclusive.</p>
              <p style="margin-bottom:0;">Example: <code>"scale": 2</code></p>
            </td>

          </tr>
        </tbody>
      </table>

## Filter Conditions Parameters

The following table describes the structured filter parameters in the `filterConditions` section. These parameters do not apply to advanced filters.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:25%">
          <col style="width:12.5%">
          <col style="width:62.5%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d67440e455">Parameter</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d67440e458">Required?</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d67440e461">Value</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Parameter" class="slds-cell-wrap" style="vertical-align:top;" headers="d67440e455 ">field</td>

            <td data-label="Required?" class="slds-cell-wrap" style="vertical-align:top;" headers="d67440e458 ">No</td>

            <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d67440e461 ">
              <p>The field in the Salesforce object on which you want to apply a filter
                condition. Each filter condition in a structured filter uses the following syntax:
              </p>
              <pre class="line-numbers slds-box slds-box_x-small slds-theme_shade slds-m-top_medium slds-m-bottom_medium slds-scrollable_x"><code>{ 
"field": "&lt;<em>field name</em>&gt;", 
"operator": "&lt;<em>operator</em>&gt;", 
"value": "&lt;<em>value</em>&gt;", 
"isQuoted": true|false}</code></pre>
            </td>

          </tr>
          <tr class="">
            <td data-label="Parameter" class="slds-cell-wrap" style="vertical-align:top;" headers="d67440e455 ">operator</td>

            <td data-label="Required?" class="slds-cell-wrap" style="vertical-align:top;" headers="d67440e458 ">No</td>

            <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d67440e461 ">
              <p>The purpose depends on the context. </p>
              <ul>
                <li><code>operator</code> can be used as a comparison
                  operator–like =, &lt;, and IN–that compares the field value
                  against a constant value.</li>
                <li><code>operator</code> can also be used as a logical
                  operator (AND, OR, or NOT) that links multiple filter conditions together.</li>
              </ul>
              <div>
                <p>In the example below, the bold <code>operator</code>
                  is the logical operator. The other instances of <code>operator</code> are comparison
                  operators.</p>
                <pre class="line-numbers slds-box slds-box_x-small slds-theme_shade slds-m-top_medium slds-m-bottom_medium slds-scrollable_x"><code>"filterConditions": [
   {
      <strong>"operator": "OR"</strong>,
      "conditions": [
         {
            "field": "StageName",
            "operator": "=",
            "value": "Closed Won"
         },
         {
            "field": "Probability",
            "operator": "&gt;=",
            "value": "90"
         }
      ]
   }
]</code></pre>
              </div>
            </td>

          </tr>
          <tr class="">
            <td data-label="Parameter" class="slds-cell-wrap" style="vertical-align:top;" headers="d67440e455 ">value</td>

            <td data-label="Required?" class="slds-cell-wrap" style="vertical-align:top;" headers="d67440e458 ">No</td>

            <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d67440e461 ">The value used in a filter condition.</td>

          </tr>
          <tr class="">
            <td data-label="Parameter" class="slds-cell-wrap" style="vertical-align:top;" headers="d67440e455 ">isQuoted</td>

            <td data-label="Required?" class="slds-cell-wrap" style="vertical-align:top;" headers="d67440e458 ">No</td>

            <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d67440e461 ">
              <p>Indicates whether you quoted the string value in a filter condition.</p>
              <div>
                <p>Example
                  with quoted values:</p>
                <pre class="line-numbers slds-box slds-box_x-small slds-theme_shade slds-m-top_medium slds-m-bottom_medium slds-scrollable_x"><code>"filterConditions": [
   {
   "field": "StageName",
   "operator": "IN",
   "value": "('Closed Won', 'Closed Lost')",
   "isQuoted": true
   }
]</code></pre>
              </div>
              <div dir="ltr">
                <p>Example with non-quoted values:
                </p>
                <pre class="line-numbers slds-box slds-box_x-small slds-theme_shade slds-m-top_medium slds-m-bottom_medium slds-scrollable_x"><code>"filterConditions": [
   {
   "field": "StageName",
   "operator": "IN",
   "value": ["Closed Won", "Closed Lost"],
   "isQuoted": false
   }
]</code></pre>
              </div>
              <p style="margin-bottom:0;">If you don’t include isQuoted for a filter on a string value,
                CRM Analytics assumes that the string value is not quoted and adds the quotes for
                you.</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Parameter" class="slds-cell-wrap" style="vertical-align:top;" headers="d67440e455 ">conditions</td>

            <td data-label="Required?" class="slds-cell-wrap" style="vertical-align:top;" headers="d67440e458 ">No</td>

            <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d67440e461 ">Use to specify a logical operator to link multiple filter conditions
              together.</td>

          </tr>
        </tbody>
      </table>

#### See Also

- [sfdcDigest Transformation](https://help.salesforce.com/s/articleView?id=analytics.bi_integrate_salesforce_extract_transformation.htm&release=264.0.0&type=5 "phThe sfdcDigest transformation generates a dataset based on data that it extracts from a Salesforce object. You specify the Salesforce object and fields from which to extract data. You can choose to exclude particular fields that contain sensitive information or that aren’t relevant for analysis.")
- [Filtering Records Extracted from a Salesforce Object](https://help.salesforce.com/s/articleView?id=analytics.bi_integrate_salesforce_extract_transformation_filters.htm&release=264.0.0&type=5 "Add a filter to the sfdcDigest Transformation transformation to extract a subset of all records from a Salesforce object. You can filter records to reduce the number of extracted and processed records, exclude records that contain irrelevant or sensitive data, and increase dataflow performance.")