---
schema_version: "1"
id: 4ff910c78fb374f2bd5ad6dd00c48e00175cbcfc960faabd4cf7cf8b52a3229e
title: Formula Flow Orchestration Resource
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/orchestrator_ref_resources_formula.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.orchestrator_ref_resources_formula.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: d6e9a59e0ad384f33c4dabb5a75307d13a1a57984ddec533bc625114b096d09e
description: Calculate a value when the formula is used in the orchestration.
products:
  - Flow Builder
  - Salesforce Platform
release: "264"
---
# Formula Flow Orchestration Resource

Calculate a value when the formula is used in the orchestration.

### 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_orchestrator_about_supported_editions.htm&amp;release=264.0.0&amp;type=5" title="Review the supported products and editions for Flow Orchestration.">View supported editions for Flow Orchestration.</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="d52806e62">Field</th>
          <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d52806e65">Description</th>
        </tr>
      </thead>
      <tbody>
        <tr class="">
          <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d52806e62 ">
            <samp class="parmname">API Name</samp>
          </td>

          <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d52806e65 ">The requirement for uniqueness applies only to elements within the current
            orchestration. Two elements can have the same API name, provided they’re used in different
            orchestrations. 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.</td>

        </tr>
        <tr class="">
          <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d52806e62 ">
            <samp class="parmname">Description</samp>
          </td>

          <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d52806e65 ">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="d52806e62 ">
            <samp class="parmname">Data Type</samp>
          </td>

          <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d52806e65 ">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="d52806e62 ">
            <samp class="parmname">Decimal Places</samp>
          </td>

          <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d52806e65 ">
            <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 your orchestration
              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="d52806e62 ">
            <samp class="parmname">Formula</samp>
          </td>

          <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d52806e65 ">
            <p>The formula expression that the orchestration 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>