---
schema_version: "1"
id: c75a46102a6222a9f85d1a26d5ea9ea2d486e385251f3c3cecefa34da772b85c
title: Flow Operators in Assignment Elements
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/flow_ref_operators_assignment.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.flow_ref_operators_assignment.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 8abaa07d981e060645c9a010bf8d465aa28dfef523c55f8afd7a4d2000f356f9
description: Use Assignment element operators to change the value of a selected resource.
products:
  - Flow Builder
  - Salesforce Platform
release: "264"
---
# Flow Operators in Assignment Elements

Use Assignment element operators to change the value of a selected resource.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;"><a href="https://help.salesforce.com/s/articleView?id=platform.flow_ref_supported_editions.htm&amp;release=264.0.0&amp;type=5" title="Learn about the editions and user interfaces that support Flow Builder. Some Flow Builder features integrate with other Salesforce products that require additional licenses.">View supported editions.</a></td></tr></tbody></table>

Use this reference to understand the supported operators. The reference organizes operators by the data type you select for Resource.

![Tip](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-platform_automation-264-0-0-production-enus/60568438-ec7e-4665-acd1-7c80dcbe60d5/images/icon_tip.png)

Tip The Contains operator isn't available for Assignment elements. To check whether a value contains another value, use a Decision or Collection Filter element. You can also use Contains as a filter condition in a data element or record choice set. See [Flow Operators in Decision, Wait, and Collection Filter Elements](https://help.salesforce.com/s/articleView?id=platform.flow_ref_operators_condition.htm&release=264.0.0&type=5 "Use condition operators to verify the value of a selected resource. Use conditions in Decision, Wait, and Collection Filter elements.") or [Flow Operators in Data Elements and Record Choice Sets](https://help.salesforce.com/s/articleView?id=platform.flow_ref_operators_filter.htm&release=264.0.0&type=5 "Filter conditions narrow the scope of records that the flow operates on. For example, use filter conditions to update only the contacts that are associated with the Acme Wireless account. When you add an Update Records element, use filter conditions to narrow the scope to just the contacts whose parent account is Acme Wireless. The In and Not In operators are available only in Create Records, Get Records, and Update Records elements.").

## Apex-Defined

Match the @AuraEnabled attribute’s Apex data type with a flow data type in this reference to find which operators the flow supports.

 
| Apex Data Type | Flow Data Type |
| --- | --- |
| Boolean | Boolean |
| Date | Date |
| DateTime | Date/Time |
| Decimal | Number |
| Double | Number |
| Integer | Number |
| List | Collection |
| Long | Number |
| String | Text |
| Time | Time |

## Boolean

Replace a Boolean resource with a new value.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:10.21450459652707%">
          <col style="width:27.579162410623088%">
          <col style="width:14.606741573033707%">
          <col style="width:47.59959141981614%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="" id="flow_ref_operators_assignment__tableHeader">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d201178e223">Operator</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d201178e226">Description</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d201178e229">Supported Data Types</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d201178e232">Example</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Operator" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e223 ">Equals</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e226 ">What you enter or select for Value replaces the value of Variable. </td>

            <td data-label="Supported Data Types" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e229 ">Boolean</td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e232 ">
              <p>Before Assignment: <code>{!varBoolean}</code> is
                <code>false</code>
              </p>
              <p>Assignment: <code>{!varBoolean}</code>
                <strong>Equals</strong>
                <code>{!$GlobalConstant.True}</code>
              </p>
              <p style="margin-bottom:0;">After Assignment:
                <code>{!varBoolean}</code> is <code>true</code>
              </p>
            </td>

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

## Collection

Update or replace the value of a collection variable or record collection variable.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:10.245901639344263%">
          <col style="width:20.491803278688526%">
          <col style="width:21.516393442622952%">
          <col style="width:47.74590163934426%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d201178e305">Operator</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d201178e308">Description</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d201178e311">Supported Data Types</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d201178e314">Example</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Operator" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e305 ">Equals</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e308 ">Value replaces the value of Variable.</td>

            <td data-label="Supported Data Types" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e311 ">
              <p>Collection of the same data type or object type</p>
              <p style="margin-bottom:0;">Text, Picklist, and
                Multi-Select Picklist data types are compatible with each other.</p>
            </td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e314 ">
              <p>Before the Assignment: </p>
              <ul>
                <li><code>{!collText}</code> is <code>Yellow, Green, Blue</code></li>

                <li><code>{!collPicklist}</code> is <code>Blue, Red, Orange</code></li>

              </ul>
              <p>Assignment: <code>{!collText}</code>
                <strong>Equals</strong>
                <code>{!collPicklist}</code>
              </p>
              <p style="margin-bottom:0;">After the Assignment:
                <code>{!collText}</code> is <code>Blue, Red, Orange</code>
              </p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Operator" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e305 ">Add</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e308 ">Appends Value as a new item to the end of the collection in Variable.</td>

            <td data-label="Supported Data Types" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e311 ">
              <p>Variable of the same data type or record variable of the same object
                type</p>
              <p>Text, Picklist, and Multi-Select Picklist data types are compatible with
                each other.</p>
              <p style="margin-bottom:0;">You can also add stages (including $Flow.CurrentStage) to text collections.</p>
            </td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e314 ">
              <p>Before the Assignment:</p>
              <ul>
                <li><code>{!collText}</code> is <code>Yellow, Green, Blue</code></li>

                <li><code>{!varPicklist}</code> is <code>Red</code></li>

              </ul>
              <p>Assignment: <code>{!collText}</code>
                <strong>Add</strong>
                <code>{!varPicklist}</code>
              </p>
              <p style="margin-bottom:0;">After the Assignment:
                <code>{!collText}</code> is <code>Yellow, Green, Blue,
                Red</code>
              </p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Operator" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e305 ">Remove After First</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e308 ">Finds the first instance of Value in the collection in Variable and removes all
              items after it.</td>

            <td data-label="Supported Data Types" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e311 ">
              <p>Variable of the same data type or record variable of the same object type</p>
              <p>For
                text collections only:</p>
              <ul>
                <li>Multi-Select Picklist</li>

                <li>Picklist</li>

                <li><code>$Flow.CurrentRecord</code></li>

              </ul>
            </td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e314 ">
              <p>Before the Assignment:</p>
              <ul>
                <li><code>{!collText}</code> is <code>Red, Orange, Yellow, Green,
                      Blue</code></li>

                <li><code>{!varText}</code> is <code>Yellow</code></li>

              </ul>
              <p>Assignment: <code>{!collText}</code>
                <strong>Remove After First</strong>
                <code>{!varText}</code>
              </p>
              <p style="margin-bottom:0;">After the Assignment:
                <code>{!collText}</code> is <code>Red, Orange, Yellow</code>
              </p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Operator" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e305 ">Add At Start</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e308 ">Appends Value as a new item to the beginning of the collection in
              Variable.</td>

            <td data-label="Supported Data Types" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e311 ">
              <p>Collection of the same data type or object type</p>
              <p>Variable of the same data
                type or record variable of the same object type</p>
              <p>For text collections
                only:</p>
              <ul>
                <li>Multi-Select Picklist</li>

                <li>Picklist</li>

                <li><code>$Flow.CurrentRecord</code></li>

              </ul>
            </td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e314 ">
              <p>Before the Assignment:</p>
              <ul>
                <li><code>{!collText}</code> is <code>Yellow, Green, Blue</code></li>

                <li><code>{!varPicklist}</code> is <code>Red</code></li>

              </ul>
              <p>Assignment: <code>{!collText}</code>
                <strong>Add At Start</strong>
                <code>{!varPicklist}</code>
              </p>
              <p style="margin-bottom:0;">After the Assignment:
                <code>{!collText}</code> is <code>Red, Yellow, Green,
                Blue</code>
              </p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Operator" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e305 ">Remove All</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e308 ">Removes all instances of Value from the collection in Variable.</td>

            <td data-label="Supported Data Types" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e311 ">
              <p>Collection of the same data type or object type</p>
              <p>Variable of the same data
                type or record variable of the same object type</p>
              <p>For text collections
                only:</p>
              <ul>
                <li>Multi-Select Picklist</li>

                <li>Picklist</li>

                <li><code>$Flow.CurrentRecord</code></li>

              </ul>
            </td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e314 ">
              <p>Before the Assignment:</p>
              <ul>
                <li><code>{!collText}</code> is <code>Red, Orange, Red, Yellow</code></li>

                <li><code>{!varText}</code> is <code>Red</code></li>

              </ul>
              <p>Assignment: <code>{!collText}</code>
                <strong>Remove All</strong>
                <code>{!varText}</code>
              </p>
              <p style="margin-bottom:0;">After the Assignment:
                <code>{!collText}</code> is <code>Orange, Yellow</code>
              </p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Operator" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e305 ">Remove First</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e308 ">Removes the first instance of Value from the collection in Variable.</td>

            <td data-label="Supported Data Types" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e311 ">
              <p>Collection of the same data type or object type</p>
              <p>For text collections
                only:</p>
              <ul>
                <li>Multi-Select Picklist</li>

                <li>Picklist</li>

                <li><code>$Flow.CurrentRecord</code></li>

              </ul>
            </td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e314 ">
              <p>Before the Assignment:</p>
              <ul>
                <li><code>{!collText}</code> is <code>Red, Orange, Red, Yellow</code></li>

                <li><code>{!varText}</code> is <code>Red</code></li>

              </ul>
              <p>Assignment: <code>{!collText}</code>
                <strong>Remove First</strong>
                <code>{!varText}</code>
              </p>
              <p style="margin-bottom:0;">After the Assignment:
                <code>{!collText}</code> is <code>Orange, Red, Yellow</code>
              </p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Operator" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e305 ">Remove Before First</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e308 ">Finds the first instance of Value in the collection in Variable and removes all
              items before it.</td>

            <td data-label="Supported Data Types" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e311 ">
              <p>Variable of the same data type or record variable of the same object type</p>
              <p>For
                text collections only:</p>
              <ul>
                <li>Multi-Select Picklist</li>

                <li>Picklist</li>

                <li><code>$Flow.CurrentRecord</code></li>

              </ul>
            </td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e314 ">
              <p>Before the Assignment:</p>
              <ul>
                <li><code>{!collText}</code> is <code>Red, Orange, Yellow, Green,
                      Blue</code></li>

                <li><code>{!varText}</code> is <code>Yellow</code></li>

              </ul>
              <p>Assignment: <code>{!collText}</code>
                <strong>Remove Before First</strong>
                <code>{!varText}</code>
              </p>
              <p style="margin-bottom:0;">After the Assignment:
                <code>{!collText}</code> is <code>Yellow, Green, Blue</code>
              </p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Operator" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e305 ">Remove Position</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e308 ">
              <p>Removes the item at the position that you enter for Value from the collection
                in Variable.</p>
              <p style="margin-bottom:0;">Make sure that Value at run time is a positive integer that's within
                the range of the number of items in the collection in Variable.</p>
            </td>

            <td data-label="Supported Data Types" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e311 ">Number</td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e314 ">
              <p>Before the Assignment:</p>
              <ul>
                <li><code>{!collText}</code> is <code>Red, Orange, Yellow</code></li>

                <li><code>{!varNum}</code> is <code>2</code></li>

              </ul>
              <p>Assignment: <code>{!collText}</code>
                <strong>Remove Position</strong>
                <code>{!varNum}</code>
              </p>
              <p style="margin-bottom:0;">After the Assignment:
                <code>{!collText}</code> is <code>Red, Yellow</code>
              </p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Operator" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e305 ">Remove Uncommon</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e308 ">Keeps only the items in Variable that match items in Value and removes all others.</td>

            <td data-label="Supported Data Types" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e311 ">Collection of the same data type or object type</td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e314 ">
              <p>Before the Assignment:</p>
              <ul>
                <li><code>{!collText1}</code> is <code>Red, Orange, Yellow,
                    Green</code></li>

                <li><code>{!collText2}</code> is <code>Orange, Green, Blue</code></li>

              </ul>
              <p>Assignment: <code>{!collText1}</code>
                <strong>Remove Uncommon</strong>
                <code>{!collText2}</code>
              </p>
              <p style="margin-bottom:0;">After the Assignment:
                <code>{!collText1}</code> is <code>Orange, Green</code>
              </p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Operator" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e305 ">Equals Count</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e308 ">
              <p>The number of stages or collection items in what you enter for Value replaces
                the value of Variable.</p>
              <p style="margin-bottom:0;">Record choice sets aren't supported as a value.</p>
            </td>

            <td data-label="Supported Data Types" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e311 ">
              <ul>
                <li>Collection</li>

                <li>$Flow.ActiveStages</li>

              </ul>
            </td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e314 ">
              <p>Before the Assignment: </p>
              <ul>
                <li><code>{!varNumber}</code> is <code>0</code></li>

                <li><code>{!collText}</code> is <code>Yellow, Green, Blue</code></li>

              </ul>
              <p>Assignment: <code>{!varNumber}</code>
                <strong>Equals Count</strong>
                <code>{!collText}</code>
              </p>
              <p style="margin-bottom:0;">After the Assignment:
                <code>{!varNumber}</code> is <code>3</code>
              </p>
            </td>

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

## Currency and Number

Replace (Equals), add to (Add), or subtract from (Subtract) the value of a currency or number resource. Count (Equals Count) the number of active stages or the number of items in a collection.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:10.245901639344263%">
          <col style="width:20.491803278688526%">
          <col style="width:21.516393442622952%">
          <col style="width:47.74590163934426%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d201178e924">Operator</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d201178e927">Description</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d201178e930">Supported Data Types</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d201178e933">Example</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Operator" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e924 ">Equals</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e927 ">The number that you enter or select for Value replaces the value of Variable. </td>

            <td data-label="Supported Data Types" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e930 ">
              <ul>
                <li>Currency</li>

                <li>Number</li>

              </ul>
            </td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e933 ">
              <p>Before the Assignment: <code>{!varCurrency}</code> is
                <code>10</code>
              </p>
              <p>Assignment: <code>{!varCurrency}</code>
                <strong>Equals</strong>
                <code>7</code>
              </p>
              <p style="margin-bottom:0;">After the Assignment: <code>{!varCurrency}</code> is
                <code>7</code>
              </p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Operator" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e924 ">Add</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e927 ">Adds the number that you enter or select for Value to the value of
              Variable.</td>

            <td data-label="Supported Data Types" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e930 ">
              <ul>
                <li>Currency</li>

                <li>Number</li>

              </ul>
            </td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e933 ">
              <p>Before the Assignment: <code>{!varCurrency}</code> is
                <code>10</code>
              </p>
              <p>Assignment: <code>{!varCurrency}</code>
                <strong>Add</strong>
                <code>7</code>
              </p>
              <p style="margin-bottom:0;">After the Assignment: <code>{!varCurrency}</code> is
                <code>17</code>
              </p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Operator" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e924 ">Subtract</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e927 ">Subtracts the number that you enter or select for Value from the value of
              Variable.</td>

            <td data-label="Supported Data Types" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e930 ">
              <ul>
                <li>Currency</li>

                <li>Number</li>

              </ul>
            </td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e933 ">
              <p>Before the Assignment: <code>{!varCurrency}</code> is
                <code>10</code>
              </p>
              <p>Assignment: <code>{!varCurrency}</code>
                <strong>Subtract</strong>
                <code>7</code>
              </p>
              <p style="margin-bottom:0;">After the Assignment: <code>{!varCurrency}</code> is
                <code>3</code>
              </p>
            </td>

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

## Date

Replace (Equals), add to (Add), or subtract from (Subtract) the value of a date/time resource.

![Tip](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-platform_automation-264-0-0-production-enus/60568438-ec7e-4665-acd1-7c80dcbe60d5/images/icon_tip.png)

Tip To add or subtract days from today's date, set Variable to `{!$Flow.CurrentDate}` and use the Add or Subtract operator. For example, to calculate a date 7 days from today, assign `{!$Flow.CurrentDate}` **Add** `7` to your date variable.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:10.21450459652707%">
          <col style="width:27.579162410623088%">
          <col style="width:14.606741573033707%">
          <col style="width:47.59959141981614%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d201178e1123">Operator</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d201178e1126">Description</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d201178e1129">Supported Data Types</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d201178e1132">Example</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Operator" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e1123 ">Equals</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e1126 ">The date that you enter or select for Value replaces the value of Variable.</td>

            <td data-label="Supported Data Types" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e1129 ">
              <ul>
                <li>Date</li>

                <li>Date/Time</li>

              </ul>
            </td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e1132 ">
              <p>Example 1: Set to a specific date:</p>
              <p>Before the assignment:
                <code>{!varDate}</code> is <code>1/16/2016</code>
              </p>
              <p>Assignment:
                <code>{!varDate}</code>
                <strong>Equals</strong>
                <code>1/15/2016</code>
              </p>
              <p>After the assignment: <code>{!varDate}</code>
                is <code>1/15/2016</code></p>
              <p>Example 2: Set to today’s date:</p>
              <p>Before
                the assignment: <code>{!varDate}</code> is
                <code>1/16/2016</code>
              </p>
              <p>Assignment: <code>{!varDate}</code>
                <strong>Equals</strong>
                <code>{!$Flow.CurrentDate}</code>
              </p>
              <p style="margin-bottom:0;">After the assignment:
                <code>{!varDate}</code> is today’s date
              </p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Operator" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e1123 ">Add</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e1126 ">Adds Value in days to Variable’s value.</td>

            <td data-label="Supported Data Types" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e1129 ">
              <ul>
                <li>Currency</li>

                <li>Number</li>

              </ul>
            </td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e1132 ">
              <p>Example 1: Add days to a specific date:</p>
              <p>Before the assignment:
                <code>{!varDate}</code> is <code>1/16/2016</code>
              </p>
              <p>Assignment:
                <code>{!varDate}</code>
                <strong>Add</strong>
                <code>7</code>
              </p>
              <p>After the assignment: <code>{!varDate}</code> is
                <code>1/23/2016</code>
              </p>
              <p>Example 2: Add days to today’s
                date:</p>
              <p>Before the assignment: <code>{!varDate}</code> is today’s
                date</p>
              <p>Assignment: <code>{!varDate}</code>
                <strong>Add</strong>
                <code>7</code>
              </p>
              <p style="margin-bottom:0;">After the assignment: <code>{!varDate}</code> is
                today’s date plus 7 days</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Operator" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e1123 ">Subtract</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e1126 ">Subtracts Value in days from Variable’s value.</td>

            <td data-label="Supported Data Types" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e1129 ">
              <ul>
                <li>Currency</li>

                <li>Number</li>

              </ul>
            </td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e1132 ">
              <p>Example 1: Subtract days from a specific date:</p>
              <p>Before the assignment:
                <code>{!varDate}</code> is <code>1/16/2016</code>
              </p>
              <p>Assignment: <code>{!varDate}</code>
                <strong>Subtract</strong>
                <code>7</code>
              </p>
              <p>After the assignment: <code>{!varDate}</code> is
                <code>1/9/2016</code>
              </p>
              <p>Example 2: Subtract days from today’s
                date:</p>
              <p>Before the assignment: <code>{!varDate}</code> is today’s
                date</p>
              <p>Assignment: <code>{!varDate}</code>
                <strong>Subtract</strong>
                <code>7</code>
              </p>
              <p style="margin-bottom:0;">After the assignment: <code>{!varDate}</code> is
                today’s date minus 7 days</p>
            </td>

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

## Date/Time

Replace a date/time resource with a new value (Equals).

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:10.21450459652707%">
          <col style="width:27.579162410623088%">
          <col style="width:14.606741573033707%">
          <col style="width:47.59959141981614%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d201178e1381">Operator</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d201178e1384">Description</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d201178e1387">Supported Data Types</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d201178e1390">Example</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Operator" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e1381 ">Equals</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e1384 ">The date that you enter or select for Value replaces the value of Variable. </td>

            <td data-label="Supported Data Types" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e1387 ">
              <ul>
                <li>Date</li>

                <li>Date/Time</li>

              </ul>
            </td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e1390 ">
              <p>Before the Assignment: <code>{!varDateTime}</code> is <code>1/16/2016
                  01:00</code></p>
              <p>Assignment: <code>{!varDateTime}</code>
                <strong>Equals</strong>
                <code>1/16/2016 08:00</code>
              </p>
              <p style="margin-bottom:0;">After the Assignment:
                <code>{!varDateTime}</code> is <code>1/16/2016 08:00</code>
              </p>
            </td>

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

## Picklist

Replace a picklist resource with a new value (Equals) or concatenate a value onto the original value (Add).

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-platform_automation-264-0-0-production-enus/60568438-ec7e-4665-acd1-7c80dcbe60d5/images/icon_note.png)

Note Flow converts values to strings before assigning or adding them to the picklist resource.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:10.21450459652707%">
          <col style="width:27.579162410623088%">
          <col style="width:14.606741573033707%">
          <col style="width:47.59959141981614%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d201178e1475">Operator</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d201178e1478">Description</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d201178e1481">Supported Data Types</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d201178e1484">Example</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Operator" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e1475 ">Equals</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e1478 ">What you enter or select for Value replaces the value of the selected picklist. </td>

            <td data-label="Supported Data Types" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e1481 ">
              <ul>
                <li>Boolean</li>

                <li>Currency</li>

                <li>Date</li>

                <li>Date/Time</li>

                <li>Multi-Select Picklist</li>

                <li>Number</li>

                <li>Picklist</li>

                <li>Text</li>

                <li>Stage</li>

                <li>Time</li>

              </ul>
            </td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e1484 ">
              <p>Before the Assignment: <code>{!varPicklist}</code> is
                <code>Blue</code>
              </p>
              <p>Assignment: <code>{!varPicklist}</code>
                <strong>Equals</strong>
                <code>Yellow</code>
              </p>
              <p style="margin-bottom:0;">After the Assignment:
                <code>{!varPicklist}</code> is <code>Yellow</code>
              </p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Operator" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e1475 ">Add</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e1478 ">Appends what you enter or select for Value to the end of the selected picklist.</td>

            <td data-label="Supported Data Types" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e1481 ">
              <ul>
                <li>Boolean</li>

                <li>Currency</li>

                <li>Date</li>

                <li>Date/Time</li>

                <li>Multi-Select Picklist</li>

                <li>Number</li>

                <li>Picklist</li>

                <li>Text</li>

                <li>Stage</li>

                <li>Time</li>

              </ul>
            </td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e1484 ">
              <p>Before the Assignment: <code>{!varPicklist}</code> is
                <code>Blue</code>
              </p>
              <p>Assignment: <code>{!varPicklist}</code>
                <strong>Add</strong>
                <code>-green</code>
              </p>
              <p style="margin-bottom:0;">After the Assignment:
                <code>{!varPicklist}</code> is <code>Blue-green</code>
              </p>
            </td>

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

## Multi-Select Picklist

Replace a multi-select picklist resource with a new value (Equals), concatenate a value onto the original value (Add), or add a selection to the resource (Add Item).

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-platform_automation-264-0-0-production-enus/60568438-ec7e-4665-acd1-7c80dcbe60d5/images/icon_note.png)

Note Flow converts values to strings before assigning or adding them to the multi-select picklist resource.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:10.21450459652707%">
          <col style="width:27.579162410623088%">
          <col style="width:14.606741573033707%">
          <col style="width:47.59959141981614%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d201178e1665">Operator</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d201178e1668">Description</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d201178e1671">Supported Data Types</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d201178e1674">Example</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Operator" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e1665 ">Equals</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e1668 ">What you enter or select for Value replaces the value of the selected
              multi-select picklist. </td>

            <td data-label="Supported Data Types" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e1671 ">
              <ul>
                <li>Boolean</li>

                <li>Collection</li>

                <li>Currency</li>

                <li>Date</li>

                <li>Date/Time</li>

                <li>Multi-Select Picklist</li>

                <li>Number</li>

                <li>Picklist</li>

                <li>Text</li>

                <li>Stage</li>

                <li>Time</li>

              </ul>
            </td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e1674 ">
              <p>Before the Assignment: <code>{!varMSP}</code> is
                <code>Blue</code>
              </p>
              <p>Assignment: <code>{!varMSP}</code>
                <strong>Equals</strong>
                <code>Yellow</code>
              </p>
              <p style="margin-bottom:0;">After the Assignment: <code>{!varMSP}</code> is
                <code>Yellow</code>
              </p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Operator" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e1665 ">Add</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e1668 ">
              <p>Appends what you enter or select for Value to the last selected item in the
                multi-select picklist. The Add operator doesn’t create a selection. </p>
              <p>To add items
                as new selections, use the Add Item operator. </p>
              <p style="margin-bottom:0;">To add
                semi-colon-delimited items to a multi-select picklist variable with the Add
                operator, always add a single space after the semi-colon and don’t include a space
                before the semi-colon. This way, the variable’s values match the values of
                multi-select picklist fields in Salesforce. For example:
                <code>; Yellow</code>
              </p>
            </td>

            <td data-label="Supported Data Types" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e1671 ">
              <ul>
                <li>Boolean</li>

                <li>Currency</li>

                <li>Date</li>

                <li>Date/Time</li>

                <li>Multi-Select Picklist</li>

                <li>Number</li>

                <li>Picklist</li>

                <li>Text</li>

                <li>Stage</li>

                <li>Time</li>

              </ul>
            </td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e1674 ">
              <p>Before the Assignment: <code>{!varMSP}</code> is <code>Blue;
                  Green</code>. This value includes two separate selections</p>
              <p>Assignment:
                <code>{!varMSP}</code>
                <strong>Add</strong>
                <code>Yellow</code>
              </p>
              <p style="margin-bottom:0;">After the Assignment: <code>{!varMSP}</code> is
                <code>Blue; GreenYellow</code>. This value includes two separate
                selections
              </p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Operator" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e1665 ">Add Item</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e1668 ">Adds what you enter or select for Value as a new selection to the end of
              the multi-select picklist. The Assignment automatically adds “;” before the new
              item. That way, Salesforce treats it as a separate selection.</td>

            <td data-label="Supported Data Types" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e1671 ">
              <ul>
                <li>Boolean</li>

                <li>Currency</li>

                <li>Date</li>

                <li>Date/Time</li>

                <li>Multi-Select Picklist</li>

                <li>Number</li>

                <li>Picklist</li>

                <li>Text</li>

                <li>Time</li>

              </ul>
            </td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e1674 ">
              <p>Before the Assignment: <code>{!varMSP}</code> is <code>Blue;
                  Green</code></p>
              <p>Assignment: <code>{!varMSP}</code>
                <strong>Add</strong> item <code>Yellow</code>
              </p>
              <p style="margin-bottom:0;">After the Assignment:
                <code>{!varMSP}</code> is <code>Blue; Green; Yellow</code>. This value
                includes three separate selections
              </p>
            </td>

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

## Record

Replace a record variable with a new value (Equals).

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:10.21450459652707%">
          <col style="width:27.579162410623088%">
          <col style="width:14.606741573033707%">
          <col style="width:47.59959141981614%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d201178e1932">Operator</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d201178e1935">Description</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d201178e1938">Supported Data Types</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d201178e1941">Example</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Operator" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e1932 ">Equals</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e1935 ">The record variable that you select for Value replaces the value of Variable. </td>

            <td data-label="Supported Data Types" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e1938 ">Record –&nbsp;with the same object type</td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e1941 ">
              <p>Before the Assignment: </p>
              <ul>
                <li><code>{!account1}</code> contains field values for the Acme Wireless
                  account</li>

                <li><code>{!account2}</code> contains field values for the Global Media
                  account</li>

              </ul>
              <p>Assignment: <code>{!account1}</code>
                <strong>Equals</strong>
                <code>{!account2}</code>
              </p>
              <p style="margin-bottom:0;">After the Assignment: both
                <code>{!account1}</code> and <code>{!account2}</code> contain the field
                values for the Global Media account
              </p>
            </td>

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

## Stage

You can’t update the value of a stage, but you can update the values of the stage global variables: `$Flow.CurrentStage` and `$Flow.ActiveStages`.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-platform_automation-264-0-0-production-enus/60568438-ec7e-4665-acd1-7c80dcbe60d5/images/icon_note.png)

Note Assignments use the stage’s fully qualified name: namespace.flowName:stageName or flowName:stageName.

`$Flow.CurrentStage`

Replace the stage selected in `$Flow.CurrentStage`.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:10.21450459652707%">
          <col style="width:27.579162410623088%">
          <col style="width:14.606741573033707%">
          <col style="width:47.59959141981614%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d201178e2061">Operator</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d201178e2064">Description</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d201178e2067">Supported Data Types</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d201178e2070">Example</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Operator" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e2061 ">Equals</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e2064 ">Value replaces the value of <code>$Flow.CurrentStage</code>. </td>

            <td data-label="Supported Data Types" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e2067 ">
              <ul>
                <li>Stage</li>

                <li>Fully qualified stage name</li>

              </ul>
            </td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e2070 ">
              <p>Before the Assignment: <code>$Flow.CurrentStage</code> is
                <code>stage1</code>
              </p>
              <p>Assignment: <code>{!$Flow.CurrentStage}</code>
                <strong>Equals</strong>
                <code>{!stage2}</code>
              </p>
              <p style="margin-bottom:0;">After the Assignment:
                <code>$Flow.CurrentStage</code> is <code>stage2</code>
              </p>
            </td>

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

`$Flow.ActiveStages`

Add or remove active stages in the `$Flow.ActiveStages` global variable.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:10.869565217391305%">
          <col style="width:22.826086956521742%">
          <col style="width:22.826086956521742%">
          <col style="width:43.47826086956522%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d201178e2158">Operator</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d201178e2161">Description</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d201178e2164">Supported Data Types</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d201178e2167">Example</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Operator" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e2158 ">Add</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e2161 ">Appends Value to the end of <code>$Flow.ActiveStages</code>.</td>

            <td data-label="Supported Data Types" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e2164 ">
              <ul>
                <li>Stage</li>

                <li>
                  <code>$Flow.ActiveStages</code>
                </li>

                <li>
                  <code>$Flow.CurrentStage</code>
                </li>

                <li>Fully qualified stage name</li>

              </ul>
            </td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e2167 ">
              <p>Before the Assignment: <code>$Flow.ActiveStages</code> is <code>stage1,
                  stage2</code></p>
              <p>Assignment: <code>{!$Flow.ActiveStages}</code>
                <strong>Add</strong>
                <code>{!stage3}</code>
              </p>
              <p style="margin-bottom:0;">After the Assignment:
                <code>$Flow.ActiveStages</code> is <code>stage1, stage2,
                  stage3</code>
              </p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Operator" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e2158 ">Remove After First</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e2161 ">Finds the first instance of the stage in Value within
              <code>$Flow.ActiveStages</code> and removes all stages after it.
            </td>

            <td data-label="Supported Data Types" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e2164 ">
              <ul>
                <li>Stage</li>

                <li>
                  <code>$Flow.CurrentStage</code>
                </li>

                <li>Fully qualified stage name</li>

              </ul>
            </td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e2167 ">
              <p>Before the Assignment: <code>$Flow.ActiveStages</code> is <code>stage1,
                  stage2, stage3, stage4</code></p>
              <p>Assignment:
                <code>{!$Flow.ActiveStages}</code>
                <strong>Remove After First</strong>
                <code>{!stage2}</code>
              </p>
              <p style="margin-bottom:0;">After the Assignment:
                <code>$Flow.ActiveStages</code> is <code>stage1,
                stage2</code>
              </p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Operator" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e2158 ">Add At Start</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e2161 ">Adds Value to the beginning of <code>$Flow.ActiveStages</code>.</td>

            <td data-label="Supported Data Types" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e2164 ">
              <ul>
                <li>Stage</li>

                <li>
                  <code>$Flow.ActiveStages</code>
                </li>

                <li>
                  <code>$Flow.CurrentStage</code>
                </li>

                <li>Fully qualified stage name</li>

              </ul>
            </td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e2167 ">
              <p>Before the Assignment: <code>$Flow.ActiveStages</code> is <code>stage1,
                  stage2</code></p>
              <p>Assignment: <code>{!$Flow.ActiveStages}</code>
                <strong>Add At Start</strong>
                <code>{!stage0}</code>
              </p>
              <p style="margin-bottom:0;">After the Assignment:
                <code>$Flow.ActiveStages</code> is <code>stage0, stage1,
                  stage2</code>
              </p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Operator" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e2158 ">Remove All</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e2161 ">Removes all instances of Value from
              <code>$Flow.ActiveStages</code>.
            </td>

            <td data-label="Supported Data Types" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e2164 ">
              <ul>
                <li>Stage</li>

                <li>
                  <code>$Flow.ActiveStages</code>
                </li>

                <li>
                  <code>$Flow.CurrentStage</code>
                </li>

                <li>Fully qualified stage name</li>

              </ul>
            </td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e2167 ">
              <p>Before the Assignment: <code>$Flow.ActiveStages</code> is <code>stage1,
                  stage2, stage3</code></p>
              <p>Assignment: <code>{!$Flow.ActiveStages}</code>
                <strong>Remove All</strong>
                <code>{!$Flow.ActiveStages}</code>
              </p>
              <p style="margin-bottom:0;">After the Assignment:
                <code>$Flow.ActiveStages</code> is <code>empty</code>
              </p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Operator" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e2158 ">Remove First</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e2161 ">Removes the first instance of the stage in Value from
              <code>$Flow.ActiveStages</code>.
            </td>

            <td data-label="Supported Data Types" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e2164 ">
              <ul>
                <li>Stage</li>

                <li>
                  <code>$Flow.CurrentStage</code>
                </li>

                <li>Fully qualified stage name</li>

              </ul>
            </td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e2167 ">
              <p>Before the Assignment: <code>$Flow.ActiveStages</code> is <code>stage1,
                  stage2, stage3, stage1</code></p>
              <p>Assignment:
                <code>{!$Flow.ActiveStages}</code>
                <strong>Remove First</strong>
                <code>stage1</code>
              </p>
              <p style="margin-bottom:0;">After the Assignment:
                <code>$Flow.ActiveStages</code> is <code>stage2, stage3,
                  stage1</code>
              </p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Operator" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e2158 ">Remove Before First</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e2161 ">Finds the first instance of the stage in Value within
              <code>$Flow.ActiveStages</code> and removes all stages before it.
            </td>

            <td data-label="Supported Data Types" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e2164 ">
              <ul>
                <li>Stage</li>

                <li>
                  <code>$Flow.CurrentStage</code>
                </li>

                <li>Fully qualified stage name</li>

              </ul>
            </td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e2167 ">
              <p>Before the Assignment: <code>$Flow.ActiveStages</code> is <code>stage1,
                  stage2, stage3, stage4</code></p>
              <p>Assignment:
                <code>{!$Flow.ActiveStages}</code>
                <strong>Remove Before First</strong>
                <code>{!stage3}</code>
              </p>
              <p style="margin-bottom:0;">After the Assignment:
                <code>$Flow.ActiveStages</code> is <code>stage3,
                stage4</code>
              </p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Operator" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e2158 ">Remove Position</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e2161 ">
              <p>Removes the stage at the position that you enter for Value from
                <code>$Flow.ActiveStages</code>.
              </p>
              <p style="margin-bottom:0;">Make sure that Value at run time is a
                positive integer that is within the range of the number of stages in
                <code>$Flow.ActiveStages</code>.
              </p>
            </td>

            <td data-label="Supported Data Types" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e2164 ">Number</td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e2167 ">
              <p>Before the Assignment:</p>
              <ul>
                <li><code>$Flow.ActiveStages</code> is <code>stage1, stage2,
                    stage3</code></li>

                <li><code>{!varNum}</code> is <code>2</code></li>

              </ul>
              <p>Assignment: <code>{!$Flow.ActiveStages}</code>
                <strong>Remove Position</strong>
                <code>{!varNum}</code>
              </p>
              <p style="margin-bottom:0;">After the Assignment:
                <code>$Flow.ActiveStages</code> is <code>stage1,
                stage3</code>
              </p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Operator" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e2158 ">Equals Count</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e2161 ">
              <p>The number of stages or collection items in what you enter for Value replaces
                the value of Variable.</p>
              <p style="margin-bottom:0;">Record choice sets aren't supported as a value.</p>
            </td>

            <td data-label="Supported Data Types" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e2164 ">
              <ul>
                <li>Collection</li>

                <li>$Flow.ActiveStages</li>

              </ul>
            </td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e2167 ">
              <p>Before the Assignment: </p>
              <ul>
                <li><code>{!varNumber}</code> is <code>0</code></li>

                <li><code>{!collText}</code> is <code>Yellow, Green, Blue</code></li>

              </ul>
              <p>Assignment: <code>{!varNumber}</code>
                <strong>Equals Count</strong>
                <code>{!collText}</code>
              </p>
              <p style="margin-bottom:0;">After the Assignment:
                <code>{!varNumber}</code> is <code>3</code>
              </p>
            </td>

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

## Text

Replace a text resource with a new value (Equals) or concatenate a value onto the end of the original value (Add).

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-platform_automation-264-0-0-production-enus/60568438-ec7e-4665-acd1-7c80dcbe60d5/images/icon_note.png)

Note Flow converts values to strings before assigning or adding them to the text resource.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:10.21450459652707%">
          <col style="width:27.579162410623088%">
          <col style="width:14.606741573033707%">
          <col style="width:47.59959141981614%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d201178e2671">Operator</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d201178e2674">Description</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d201178e2677">Supported Data Types</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d201178e2680">Example</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Operator" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e2671 ">Equals</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e2674 ">The text that you enter or select for Value replaces the value of Variable. </td>

            <td data-label="Supported Data Types" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e2677 ">
              <ul>
                <li>Boolean</li>

                <li>Currency</li>

                <li>Date</li>

                <li>Date/Time</li>

                <li>Number</li>

                <li>Multi-Select picklist</li>

                <li>Picklist</li>

                <li>Stage, including $Flow.CurrentStage and $Flow.ActiveStages</li>

                <li>Text</li>

                <li>Time</li>

              </ul>
            </td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e2680 ">
              <p>Before the Assignment: <code>{!varText}</code> is
                <code>Blue</code>
              </p>
              <p>Assignment: <code>{!varText}</code>
                <strong>Equals</strong>
                <code>Yellow</code>
              </p>
              <p style="margin-bottom:0;">After the Assignment: <code>{!varText}</code> is
                <code>Yellow</code>
              </p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Operator" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e2671 ">Add</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e2674 ">Appends the text that you enter or select for Value to the end of
              Variable.</td>

            <td data-label="Supported Data Types" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e2677 ">
              <ul>
                <li>Boolean</li>

                <li>Currency</li>

                <li>Date</li>

                <li>Date/Time</li>

                <li>Number</li>

                <li>Multi-Select picklist</li>

                <li>Picklist</li>

                <li>Stage, including $Flow.CurrentStage and $Flow.ActiveStages</li>

                <li>Text</li>

                <li>Time</li>

              </ul>
            </td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e2680 ">
              <p>Before the Assignment: <code>{!varText}</code> is
                <code>Blue</code>
              </p>
              <p>Assignment: <code>{!varText}</code>
                <strong>Add</strong>
                <code>Yellow</code>
              </p>
              <p style="margin-bottom:0;">After the Assignment: <code>{!varText}</code> is
                <code>BlueYellow</code>
              </p>
            </td>

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

## Time

Replace a time resource with a new value (Equals).

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:25%">
          <col style="width:25%">
          <col style="width:25%">
          <col style="width:25%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d201178e2858">Operator</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d201178e2861">Description</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d201178e2864">Supported Data Types</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d201178e2867">Example</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Operator" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e2858 ">Equals</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e2861 ">The time that you enter or select for Value replaces the value of
              Variable.</td>

            <td data-label="Supported Data Types" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e2864 ">Time</td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d201178e2867 ">
              <p>Before the Assignment:</p>
              <p><code>{!varTime}</code> is 09:00
                AM</p>
              <p>Assignment:</p>
              <p>{!varTime} <strong>Equals</strong> 09:00 AM</p>
              <p>After the
                Assignment:</p>
              <p style="margin-bottom:0;"><code>{!varTime}</code> is 09:00 AM</p>
            </td>

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

#### See Also

- [Flow Operators in Decision, Wait, and Collection Filter Elements](https://help.salesforce.com/s/articleView?id=platform.flow_ref_operators_condition.htm&release=264.0.0&type=5 "Use condition operators to verify the value of a selected resource. Use conditions in Decision, Wait, and Collection Filter elements.")
- [Flow Operators in Data Elements and Record Choice Sets](https://help.salesforce.com/s/articleView?id=platform.flow_ref_operators_filter.htm&release=264.0.0&type=5 "Filter conditions narrow the scope of records that the flow operates on. For example, use filter conditions to update only the contacts that are associated with the Acme Wireless account. When you add an Update Records element, use filter conditions to narrow the scope to just the contacts whose parent account is Acme Wireless. The In and Not In operators are available only in Create Records, Get Records, and Update Records elements.")