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

# Working with CaptureData.ums5 scenario file

> Configure and run the CaptureData.ums5 scenario in WinActor: set FlexiCapture connection settings, input image and output folder paths, and then run data capture.

To configure a scenario in WinActor:

1. Click **File → New**.

<img src="https://mintcdn.com/abbyy/jk6a9TGm7KRcVxRI/images/flexi-capture/connectors/WinActor_1.png?fit=max&auto=format&n=jk6a9TGm7KRcVxRI&q=85&s=d0471a40a1eeb4d05f390b21c7fc6166" alt="" width="1319" height="541" data-path="images/flexi-capture/connectors/WinActor_1.png" />

2. In the **Flowchart** window, click the **Library** tab and and drag and drop the **CaptureData.ums5** scenario onto the workspace.

<img src="https://mintcdn.com/abbyy/jk6a9TGm7KRcVxRI/images/flexi-capture/connectors/WinActor_8_capture-data-flowchart.png?fit=max&auto=format&n=jk6a9TGm7KRcVxRI&q=85&s=ad9bfd2cb0a5baa5060e7489bf3ce061" alt="" width="537" height="593" data-path="images/flexi-capture/connectors/WinActor_8_capture-data-flowchart.png" />

3. Double-click **Capture Data** on the flowchart to open the **Property - Run Script** window. In the **Property - Run Script** window, click the **Settings** tab and specify the settings to be used to connect to the FC server, the path to an input document image, the path to an output folder where extracted data should be stored, and a variable that will store the name of the matching document definition.

<Note>
  There are two ways to specify the above parameters. You can either specify them directly, using the Value=>MyValue syntax, or you can create the necessary variables in the **Variable List** window and then specify their names in the **Property - Run Script** window.
</Note>

<img src="https://mintcdn.com/abbyy/jk6a9TGm7KRcVxRI/images/flexi-capture/connectors/WinActor_12_capture-data-properties.png?fit=max&auto=format&n=jk6a9TGm7KRcVxRI&q=85&s=e2df5fce0c45de54850b1b1f04309dc7" alt="" width="999" height="801" data-path="images/flexi-capture/connectors/WinActor_12_capture-data-properties.png" />

<Note>
  Before you can run this scenario, you must [upload a configured ABBYY FlexiCapture project on to the Application Server](/flexi-capture/connectors/win-actor-configuring-export-from-fc#upload-to-fc-application-server).
</Note>

4. To run the configured scenario, click **Run**.

<img src="https://mintcdn.com/abbyy/jk6a9TGm7KRcVxRI/images/flexi-capture/connectors/WinActor_11_run-scenario.png?fit=max&auto=format&n=jk6a9TGm7KRcVxRI&q=85&s=ecda63d1000f4f2cc939b8a3ec0432e0" alt="" width="365" height="152" data-path="images/flexi-capture/connectors/WinActor_11_run-scenario.png" />
