Loading
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Use a Formula Operator to Set Data with Formulas and Functions (Managed Package)

          Use a Formula Operator to Set Data with Formulas and Functions (Managed Package)

          For the managed package runtime, use a formula operator to generate dynamic values by evaluating data with Formulas and using functions to return specific values.

          Managed Package app icon This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see Omnistudio Help.

          1. Add a Set Values action to the Omniscript.
          2. In the Set Values Properties, click Add New Element Value.
          3. In the Element Value Map, in the Element Name field, enter the new JSON node name.
          4. To put a formula in the Value field, check Use Expression For Value to open the formula editor.
          5. Add static values, or dynamic values using merge fields, and add an operator.
            Note
            Note

            There must be a space on either side of an operator for the operation to run correctly.

            Element Name

            Example Value Formula Syntax

            MergeValues

            = %GrossIncome% - %NetIncome%

            MergeAndLiteralValues

            = %GrossIncome% - 5000

            LiteralValues

            = 2 - 2

          6. Preview the Omniscript to ensure the operation performs correctly.
           
          Loading
          Salesforce Help | Article