Loading
Salesforce now sends email only from verified domains. Read More
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
          Set Values in an Omniscript (Managed Package)

          Set Values in an Omniscript (Managed Package)

          For the managed package runtime, use the Set Values action to set element values in subsequent steps, rename JSON nodes, create dynamic values, and concatenate data. Set Values actions use merge fields to access JSON data in other Omniscript elements.

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

          Action elements either render as a button when in a step or run remotely when between steps. Set Values actions are usually between steps.

          Use the Set Values action to:

          • Access and rename JSON data in other Omniscript elements by using merge fields
          • Populate subsequent elements with values
          • Concatenate values
          • Set values sent into the JSON data from a response or parameter
          • Use Omniscript Functions and Supported Formula Operators to set values

          Don’t use the Set Values action to:

          • Transform data
          • Relabel incoming JSON data

          Instead, use Integration Procedures and Omnistudio Data Mappers.

          Note
          Note

          Any text between two percent (%) signs in a Set Values formula is treated as a merge field. To represent literal percent (%) signs, use the $Vlocity.Percent environment variable.

          The Set Values action doesn’t support custom labels.

          Download this datapack and test the behaviors the examples on the following pages provide.

          • Rename Data JSON Nodes (Managed Package)
            For the managed package runtime, simplify and rename JSON node names by accessing the values in an Omniscript's data JSON. Access data sent into the Omniscript's data JSON from a parameter, an action's response data, or an element using merge fields.
          • Populate Elements (Managed Package)
            For the managed package runtime, populate subsequent input elements with values from data JSON, formula operators, functions, concatenations, and static values. Prefill an element directly from an Omnistudio Data Mapper or Action response whenever possible. When a previous element assigns a value to a subsequent input element's Name, the subsequent input element is populated with the assigned value.
          • Concatenate Values (Managed Package)
            For the managed package runtime, create dynamic values by concatenating JSON node values.
          • Set Data with Formulas and Functions (Managed Package)
            For the managed package runtime, generate dynamic values by evaluating data with Formulas and using functions to return specific values.
          • Set and Access Nested Data (Managed Package)
            For the managed package runtime, set and access nested data by editing the Set Values JSON directly and using specific syntax.
           
          Loading
          Salesforce Help | Article