> ## 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.

# Creating a flow action

> Create a Pega flow action in Dev Studio that lets users enter case data, display the 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. In the example below, a flow action will be used to [display the verification page](/flexi-capture/connectors/pega/pega-verification-section) and controls for [adding files to the case](/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>

To create a flow action, do the following:

1. In **Dev Studio** click **Records → Process → Flow Action →** **Create**.

2. Fill in the **Label** and **Identifier** fields. Next, select the application containing 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>

3. Click **Create and open**. On the **Layout** tab, specify the section name in the **Section** field. Next, 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>

4. In the dialog box that opens, fill in the **Label** and **Identifier** fields. Next, select the application containing the case and check that the full name of the case type is specified in the **Apply to** field.

5. 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>
