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
          Update an Omniscript's JSON Code from a Flexcard

          Update an Omniscript's JSON Code from a Flexcard

          Specify the JSON node that Omnistudio updates in response to a user action on the Flexcard by embedding the Flexcard in the Omniscript as a custom Lightning web component.

          1. After you select the update Omniscript action type, enter the information as needed. If you don’t select a parent node, Omnistudio stores the result in a new node in the JSON code
          2. To pass the data to update, add an Input Parameter.
            1. In Key, enter the name of the field to update. For the preceding example, enter records.
            2. In Value, enter the new value from the Flexcard's data source. For the preceding example, enter the {records} context variable to pass all asset records.
          3. From Setup, turn on Omniscript support.
          4. Embed Flexcards in an Omniscript
          Suspend a Mobile Device Plan
          Suspend a Mobile Device Plan

          Create a Flexcard where customers start the process to suspend their mobile device plan.

            1. Create a Flexcard that displays the customer's available devices.

            2. Add a toggle element so that they select a device.

            3. To pass the value of the action (true or false) to the Omniscript, add an update Omniscript action to the toggle.

            4. In Parent Node, enter data.

            5. Add a new key/value pair for Input Parameters.

              1. In Key, enter records.

              2. In Value, enter the {records} context variable.

            6. Create an Omniscript that walks a customer through the process of selecting the device and entering a suspension date range, before submitting the request.

           
          Loading
          Salesforce Help | Article