> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create a flow action

> Create a Pega flow action in Dev Studio that lets users enter case data, display the ABBYY FlexiCapture verification page, and add files to the case.

A [flow action](https://community.pega.com/sites/default/files/help_v63sp1/Content/definitions/f/flowaction.htm) allows the user to enter and modify case data. The flow action in this example displays the verification page and the controls for adding files to the case.

For more information, see [Create the verification section](/flexi-capture/connectors/pega/pega-verification-section) and [Create the file collection section](/flexi-capture/connectors/pega/pega-collect).

<Frame>
  <img src="https://mintcdn.com/abbyy/Xgx3EG8BZs5YQjIJ/images/flexi-capture/connectors/Pega180.png?fit=max&auto=format&n=Xgx3EG8BZs5YQjIJ&q=85&s=fda50fa95ac75cb91c08225cc2e6a7c3" alt="Screenshot of the FlexiCapture flow action in Pega, showing the Collect screen listing the document templates on the left and the ABBYY FlexiCapture Web Verification Station with an invoice open for verification on the right." width="1578" height="806" data-path="images/flexi-capture/connectors/Pega180.png" />
</Frame>

## Create the flow action

<Steps>
  <Step title="Start a new flow action">
    In **Dev Studio**, click **Records → Process → Flow Action → Create**.
  </Step>

  <Step title="Name the flow action">
    Fill in the **Label** and **Identifier** fields. Then select the application that contains the case and replace `Rule-Obj-Activity` in the **Apply to** field with the full name of the case.

    <Frame>
      <img src="https://mintcdn.com/abbyy/Xgx3EG8BZs5YQjIJ/images/flexi-capture/connectors/Pega181.png?fit=max&auto=format&n=Xgx3EG8BZs5YQjIJ&q=85&s=9be0fe37d84298a867de6924b07101ff" alt="Screenshot of the Create Flow Action screen in Pega, showing the Label and Identifier fields set to Verification and the Apply to field set to the case name InsCo-FlexiCap-Work-MultiFileInvoice in the Context section." width="1209" height="473" data-path="images/flexi-capture/connectors/Pega181.png" />
    </Frame>
  </Step>

  <Step title="Add a section to the layout">
    Click **Create and open**. On the **Layout** tab, specify the section name in the **Section** field, and then click the configuration button to the right of the field.

    <Frame>
      <img src="https://mintcdn.com/abbyy/Xgx3EG8BZs5YQjIJ/images/flexi-capture/connectors/Pega182.png?fit=max&auto=format&n=Xgx3EG8BZs5YQjIJ&q=85&s=f06168716915bc9011da87928c5b4a2b" alt="Screenshot of the Section configuration on the Layout tab in Pega, showing the Applies to field set to InsCo-FlexiCap-Work-InvoiceWithVerification and the Verification section with its configuration button highlighted." width="669" height="303" data-path="images/flexi-capture/connectors/Pega182.png" />
    </Frame>
  </Step>

  <Step title="Name the section">
    In the dialog box that opens, fill in the **Label** and **Identifier** fields. Then select the application that contains the case and check that the full name of the case type is specified in the **Apply to** field.
  </Step>

  <Step title="Create the section">
    Click **Create and open**. To view a list of all sections, open **Dev Studio** and click **Records → User Interface → Section**.

    <Frame>
      <img src="https://mintcdn.com/abbyy/Xgx3EG8BZs5YQjIJ/images/flexi-capture/connectors/Pega183.png?fit=max&auto=format&n=Xgx3EG8BZs5YQjIJ&q=85&s=0b77d3f08a6f4201657a36afda45a891" alt="Screenshot of the Section Record Configuration screen in Pega, showing the Label and Identifier fields set to Verification and the Apply to field set to InsCo-FlexiCap-Work-InvoiceWithVerification in the Context section." width="1068" height="393" data-path="images/flexi-capture/connectors/Pega183.png" />
    </Frame>
  </Step>
</Steps>
