Loading
Agentforce Field Service and Operations
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
          Build Forms by Using Discovery Framework Data Capture Flow

          Build Forms by Using Discovery Framework Data Capture Flow

          Create personalized forms by using the Discovery Framework Data Capture Flow process type in Flow Builder. Use assessment questions from the Discovery Framework to customize your forms. Set properties, apply conditional logic, and hide questions as needed. Use the search and preview capabilities in the flow builder to quickly find and review questions, making sure that the forms meet your business needs.

          Required Editions

          Available in: Lightning Experience
          Available in: Enterprise, Unlimited, and Developer Editions where Field Service, Discovery Framework, Discovery Framework Import or Export, and Discovery Framework Data Capture Flow are enabled
          User Permissions Needed
          To create a form with the Discovery Framework Data Capture Flow process type: Field Service Standard

          Before you begin, complete the setup required for Discovery Framework-based data capture.

          1. From Setup, find and select Flows.
          2. Click New Flow, and then select Start From Scratch.
          3. Click Next.
          4. Select Discovery Framework Data Capture Flow, and then click Create.
          5. Add a screen element to your flow.
          6. Enter a label and an API name for the screen element.
          7. From More, select Questions.
            Questions flow component
            The assessment questions that you created using the Discovery Framework appear.
          8. Drag the required assessment questions onto the flow canvas.
            You can quickly find the right assessment questions for your form by using the search box in Flow Builder. After you add a question, preview it right away without leaving Flow Builder.

            Discovery Framework assessment question

            You can also set properties and conditional logic for each question. With Discovery Framework Data Capture Flow, control whether a question is visible based on certain conditions. Use expressions to define these conditions. However, you can't use the output of other questions in these expressions. Instead, use external data sources or user profile information to manage the visibility of questions. See Define Conditions in a Flow.

          9. Click Done.

            When you're creating a form using the Discovery Framework Data Capture Flow, use the assessment record variable to set values for the assessment record fields. For example, if you want to automatically update the status of the assessment record to Completed after a mobile worker submits the form, edit the assessment record variable and mark it as Available for output.

            Mark assessment record variable as Available for Output

            Then, add an assignemnt element to the flow and use the assessment record variable in the assignment element to set the assessment status to Completed.

            Set assessment status by using the assessment record variable

            By using this approach, you can make sure that the assessment status is updated correctly after a mobile worker submits the form.

          10. Save your changes.
          11. Enter a flow label and an API name, and then save the flow.
          12. Activate the flow.
           
          Loading
          Salesforce Help | Article