---
schema_version: "1"
id: 07bb07fc6a76baba0a248e113e1aea43ddbf1f49c462a4959796f06473aee198
title: Build Data Capture Forms with Question Sets
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/service/264-0-0/wfs_df_data_capture_build_forms.md
canonical_url: https://help.salesforce.com/s/articleView?id=service.wfs_df_data_capture_build_forms.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 17cb56d8f2725605b78e83bf836a0fff360265d410bc7c12773f4e8ba7577d3e
description: Create forms with the Data Capture Flow process type in Flow Builder. Add assessment questions, organize them into sets and categories, set properties and conditional logic, and preview questions without leaving Flow Builder.
products:
  - Public Sector
  - Service Cloud
release: "264"
---
# Build Data Capture Forms with Question Sets

Create forms with the Data Capture Flow process type in Flow Builder. Add assessment questions, organize them into sets and categories, set properties and conditional logic, and preview questions without leaving Flow Builder.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong> and <strong>Unlimited</strong> Editions</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in orgs where Field Service and Discovery Framework are enabled.</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d6758e83">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d6758e83 ">To create a form with the Data Capture Flow process type:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d6758e83 ">Field Service Standard</td>

          </tr>
        </tbody>
      </table>

[Complete the setup required for Data Capture](https://help.salesforce.com/s/articleView?id=service.wfs_df_data_capture_setup_discovery_framework.htm&release=264.0.0&type=5 "Build Data Capture forms from Discovery Framework assessment questions in Flow Builder. Set up the framework, create assessment questions, build forms, and prime records for offline use."). A Data Capture screen can contain questions or components, but not both. If you add a component to a screen that already has questions, a message prompts you to remove the questions first.

1. From Setup, find and select **Flows**.
2. Click **New Flow**.
3. Select **Data Capture Flow**.
4. Add a screen element to your flow.
5. Enter a label and an API name for the screen element.
6. Select the **Questions** tab.
    
    The assessment questions that you created with Discovery Framework appear on the Questions tab. Questions are organized by set and category, so you can find the ones that belong to a checklist and add them in a logical order.
7. Drag the required assessment questions onto the flow canvas.
    
    To find the right questions quickly, use the search box in Flow Builder. After you add a question, preview it right away without leaving Flow Builder.
    
    Set properties and conditional logic for each question. With Data Capture Flow, you control whether a question is visible based on conditions. Use expressions to define these conditions. You can't use the output of other questions in these expressions. Instead, use external data sources or user profile information to manage question visibility. See [Define Conditions in a Flow](https://help.salesforce.com/s/articleView?id=platform.flow_build_logic_conditions.htm&type=5&language=en_US).
    
    For regulatory inspections, inspectors set the compliance status for each question, and a status marked as violating generates a Regulatory Code Violation record when the form is submitted. See [Regulatory Compliance and Automated Violations](https://help.salesforce.com/s/articleView?id=service.wfs_df_data_capture_regulatory_compliance.htm&release=264.0.0&type=5 "For regulatory inspections, Data Capture forms check work against regulatory codes, capture a compliance status for each question, and generate Regulatory Code Violation records automatically when a response is noncompliant.").
8. Click **Done**.
    
    To set values for the assessment record fields, use the assessment record variable. For example, to 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. Then add an Assignment element to the flow, and use the assessment record variable in the Assignment element to set the assessment status to Completed. This approach makes sure that the assessment status is updated correctly after a mobile worker submits the form.
9. Save your changes.
10. Enter a flow label and an API name, and then save the flow.
11. Activate the flow.