Loading
Administer Health Cloud
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
          Configure and Clone the Flows to Evaluate Assessment Scores

          Configure and Clone the Flows to Evaluate Assessment Scores

          Configure the Update Assessment Response Score subflow with your own score evaluation tool and save it as a new subflow. Then, in the Get Assessment Response Score flow, replace the default referenced subflow with your newly cloned subflow and save as a new flow.

          Required Editions

          Available in: Lightning Experience

          Available in: Enterprise and Unlimited Editions with Health Cloud or Life Sciences Cloud

          User Permissions Needed
          To use a decision matrix in Business Rules Engine: Rule Engine Runtime
          To use assessments: Industries Assessments permission set license
          1. From Setup, in the Quick Find box, enter Flows, and then select Flows.
          2. Find and select the Update Assessment Response Score flow.
          3. Add an action using the decision matrix or another tool that you’ve configured for evaluating scores.
            1. Between the Iterate Over Assessment Question Responses loop element and the Evaluate Assessment Score action, click Add element, and then select Action.
            2. In the Action search bar, find and select the decision matrix or another tool that you’ve configured for evaluating scores.
            3. Enter a label and API name.
            4. In the first input field, select the response value of the current item in loop from IterateOverAssessmentQuestionResponses.
            5. In the second input field, select the question text of the current item in loop from IterateOverAssessmentQuestionResponses.
            6. Click Done.
          4. Replace the default action referenced in the Set Assessment Question Response Score element with the action you created.
            1. Click the Set Assessment Question Response Score element, then click Edit Element.
            2. Set the value of the Response Value Score variable to the response value score of the decision matrix you created.
          5. Add a fault path to the action you created.
          6. Cut the Send Error Email action of the default Evaluate Assessment Score action, and paste it to the fault path you created.
          7. Delete the default Evaluate Assessment Score action.
          8. In the Flow Builder toolbar, click Save As.
          9. Enter a label, API name, and description, then click Save. The cloned flow automatically opens in Flow Builder.
          10. Activate the flow.
          11. Now, in the Flows setup page, find and select the Get Assessment Response Score flow.
          12. Add a subflow referencing your newly cloned subflow.
            1. Before the default Get Assessment Response Score subflow, click Add element, and then select Subflow.
            2. In the Referenced Subflow search bar, find and select the subflow you cloned.
            3. Enter a label and API name.
            4. Under Set Input Values, enable AssessmentId.
            5. In the AssessmentId field, select the record ID as the input.
            6. Click Done.
          13. Delete the default Update Assessment Response Score subflow.
          14. Save the flow as a new flow.
            The cloned flow automatically opens in Flow Builder.
          15. Save and activate your cloned flow.
           
          Loading
          Salesforce Help | Article