---
schema_version: "1"
id: 9234038b30ce62b338b8daba8d6df7a3bca957a861fd1e6acaa02eea9fbcdfb3
title: Formula Flow Approval Processes Resource
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/automate_automated_approvals_ref_resources_formula.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.automate_automated_approvals_ref_resources_formula.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 855e912fb45b789a58a6a6bd8165d757bef780c2b5fef555148c7c20d62102c9
description: Calculate a value when the formula is used in the flow approval process.
products:
  - Flow Builder
  - Salesforce Platform
release: "264"
---
# Formula Flow Approval Processes Resource

Calculate a value when the formula is used in the flow approval process.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col style="width:100%"></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;"><a href="https://help.salesforce.com/s/articleView?id=platform.automate_automated_approvals_about_supported_editions.htm&amp;release=264.0.0&amp;type=5" title="Review the supported products and editions for Flow Approval Processes.">View supported editions for Flow Approval Processes.</a></td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
      <colgroup>
        <col style="width:31%">
        <col style="width:69%">
      </colgroup>
      <thead class="slds-text-title_caps ">
        <tr class="">
          <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d352184e62">Field</th>
          <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d352184e65">Description</th>
        </tr>
      </thead>
      <tbody>
        <tr class="">
          <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d352184e62 ">
            <strong class="uicontrol">API Name </strong>
          </td>

          <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d352184e65 ">
            <span>The requirement for uniqueness applies
              only to elements and resources within the current flow approval process. Two
              items can have the same API name, provided they're used in different flow
              approval processes.</span>
            <span>An API name can include underscores and alphanumeric
              characters without spaces. It must begin with a letter and can’t end with an
              underscore. It also can’t have two consecutive underscores.</span>
          </td>

        </tr>
        <tr class="">
          <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d352184e62 ">
            <strong class="uicontrol">Description </strong>
          </td>

          <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d352184e65 ">Helps you differentiate this formula from other resources.</td>

        </tr>
        <tr class="">
          <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d352184e62 ">
            <strong class="uicontrol">Data Type </strong>
          </td>

          <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d352184e65 ">The data type for the value returned by the formula. You can’t change the data
            type of a previously saved variable.</td>

        </tr>
        <tr class="">
          <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d352184e62 ">
            <strong class="uicontrol">Decimal Places </strong>
          </td>

          <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d352184e65 ">
            <p>Controls the number of digits to the right of the decimal point up to 17 places.
              If you leave this field blank or set it to zero, only whole numbers appear when the
              orchestration run based on your flow approval process runs. </p>
            <p style="margin-bottom:0;">Available only when the
              data type is Number or Currency.</p>
          </td>

        </tr>
        <tr class="">
          <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d352184e62 ">
            <strong class="uicontrol">Formula </strong>
          </td>

          <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d352184e65 ">
            <p>The formula expression that the flow approval process evaluates at run time. The
              returned value must be compatible with <samp class="parmname">Data Type</samp>. </p>
            <p style="margin-bottom:0;">Some formula
              functions aren’t supported in Flow Builder.</p>
          </td>

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