Loading
Business Rules Engine
Índice de materias
Seleccionar filtros

          No hay resultados
          No hay resultados
          Estas son algunas sugerencias de búsqueda

          Compruebe la ortografía de sus palabras clave.
          Utilice términos de búsqueda más generales.
          Seleccione menos filtros para ampliar su búsqueda.

          Buscar en toda la Ayuda de Salesforce
          Call a Decision Matrix from an Omniscript

          Call a Decision Matrix from an Omniscript

          To call a decision matrix that has at least one active version from an Omniscript, and to return the specified matrix’s results to the Omniscript, use the Decision Matrix 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 Omniscript: Omnistudio Admin
          To access Business Rules Engine to create and activate a decision matrix: Rules Engine Designer
          To call a decision matrix from an Omniscript: Omnistudio Admin
          1. From the App Launcher (App launcher icon.), find and select Omnistudio.
          2. From the app navigation menu, select Omniscripts.
          3. Select the Omniscript and the version from which you want to call the decision matrix.
          4. Expand the step from which you want to call the decision matrix.
          5. From the Build section, under Inputs, drag the input fields that are relevant to the inputs that your decision matrix uses.
            For example, if the decision matrix uses values from the input variables Age and GPA to determine a student’s eligibility for a discount on annual fees, add these input fields:
            Input Field TypeFIELD Name
            Number Age
            Number GPA
            Note
            Note Ensure that the input field name matches the name of the input variable that’s used in the decision matrix. You can specify field labels of your choice.
          6. From the Build section, under Actions, drag Decision Matrix Action and place it below the input fields.
          7. Select the action, and then under the Properties section:
            1. Enter a name, and if necessary, a label for the action.
            2. Under Matrix Input Parameters, enter the input variables to pass to the decision matrix.

              For example:

              Data SourceFilter Value
              Age Age
              GPA GPA
            3. Expand Remote Properties.
            4. For Matrix Name, select the decision matrix that you want to call.
            5. Expand Send/Response Transformations.
            6. For Response JSON Path, enter a name for the response node in which you want to capture the results of the matrix.

              For example, matrixResult.

            7. For Response JSON node, enter the name of the Omniscript step to which you added the input fields for the matrix and the decision matrix action.
          8. To test whether the Omniscript calls the decision matrix successfully, click Preview.
          9. Enter values for the input fields in the relevant Omniscript step, and then run the Omniscript.
            Preview of Omniscript calling a decision matrix action
          10. To view the results of the decision matrix action, expand the step that contains the input fields and the decision matrix action, and then under Action Debugger, expand Response.
            Action debugger for Omniscript preview.

            Here, matrixResult represents the Response JSON path that you specified. Based on the input values passed to the decision matrix, the result returned is that the student is qualified for a discount ("QualifiedForDiscount": true).

           
          Cargando
          Salesforce Help | Article