Loading
Business Rules Engine
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
          Call an Expression Set from an Integration Procedure

          Call an Expression Set from an Integration Procedure

          To call an expression set from an Integration Procedure, and return the specified expression set’s results to the Integration Procedure, use the Expression Set Action.

          Required Editions

          Available in: Lightning Experience
          Available in: Enterprise, Unlimited, and Developer Editions for clouds that have Business Rules Engine enabled
          User Permissions Needed
          To access Omnistudio to create and modify an Integration Procedure: Omnistudio Admin
          To access Business Rules Engine to create and activate an expression set version: Rules Engine Designer
          To call an expression set from an Integration Procedure: Omnistudio Admin

          You can call only expression sets that have at least one active version from an Integration Procedure.

          To call expression sets that have a context definition, first hydrate the context definition and then use Context IDs that you use to hydrate context data in the payload. See Create a Context Definition.

          To call expression sets that use Decision Explainer, define actionContextCode and explainabilitySpecName as keys in remote properties in the Integration Procedure.

          1. From the App Launcher (App launcher icon.), find and select Omnistudio.
          2. From the app navigation menu, select Omnistudio Integration Procedures.
          3. Select an Integration Procedure, and then select the version that you want to modify.
          4. From the Actions panel, drag Expression Set Action onto the Structure panel.
          5. In the Remote Properties section, for Configuration Name, enter the name of the expression set that you want to call.
            Note
            Note Don’t edit any other properties.
          6. Enter these properties:
            • Send JSON Path: Specify a node for the data JSON that’s sent in the outgoing request. For example, input.
            • Send JSON Node: Specify a new name for the parent node in the outgoing request. For example, my_input.
          7. From the Actions panel, drag Response Action after the Expression Set Action section in the Structure panel.
          8. Enter these properties:
            • Send JSON Path: Enter the element name of the Expression Set Action. This path is used as the JSON node to store the data.
            • Send JSON Node: Specify a new name for the parent node in the outgoing request. For example, my_output.
          9. Click Preview.
          10. In the Input Parameters section, click Edit as JSON, and then provide the input values in this format:
            { 
              Name of the Send JSON Path specified in the Expression Set Action: {
                “input variable 1”: “value1”,
                “input variable 2”: “value2”,
                “input variable n”: “valueN”,
               }
            }

            For example:

            {
                "input": {
                    "GPA": "3.5",
                    "Fees": "20000",
                    "Birthdate": "2005-09-01"
                }
            }

            Here:

            • input is the name of the Send JSON Path specified in the Expression Set Action.
            • GPA, Fees, and Birthdate are the input variables in the expression set that’s invoked by using the Expression Set Action.
          11. Click Execute.
            The expression set output for the input values that you entered appears.
           
          Loading
          Salesforce Help | Article