> ## 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 workflow for a folder

> Build a Laserfiche folder workflow as a business process using the Find Entries and For Each Entry activities to pass repository documents to FlexiCapture.

To add a workflow to a repository as a business process, select the following options in the **Business Process Options** property:

* **Make this workflow a business process**.
* **Start this business process**.
* **Display this business process’s information**.

Next, select the repository where you want to add the workflow.

To add an activity to the business process, simply select it in the **Toolbox** pane and drag it onto the **Workflow** tab. In the **Workflow** properties on the right, you can change its **Name** and **Description**. In the **Connection Profiles** property, you can add connections to repositories.

<Frame>
  <img src="https://mintcdn.com/abbyy/KEmWsO92hkr7eybZ/images/flexi-capture/connectors/LF5.png?fit=max&auto=format&n=KEmWsO92hkr7eybZ&q=85&s=023e485a888386c16b4d7ecb2a0dfdf7" alt="Screenshot of the Laserfiche Workflow Designer showing an activity dragged from the Toolbox pane onto the Workflow tab, with its Name, Description, and Connection Profiles shown in the Workflow properties on the right." width="681" height="582" data-path="images/flexi-capture/connectors/LF5.png" />
</Frame>

## Find Entries

This activity finds Entries based on user-defined parameters and passes them to the next activity in the workflow.

**Entries to Find** – Defines how Entries should be found. In this particular case, documents will be taken from the folders with the **Entry ID** token. The token will be replaced with ID of the input folder.

**Filter Entries** – This filter selects what types of **Entries** to pass to the next activity (documents, folders or both).

For more detailed information, please refer to Online Help.

<Frame>
  <img src="https://mintcdn.com/abbyy/KEmWsO92hkr7eybZ/images/flexi-capture/connectors/LF6.png?fit=max&auto=format&n=KEmWsO92hkr7eybZ&q=85&s=bd1181e8024f3ff37b603fe8e3886bdd" alt="Screenshot of the Laserfiche Workflow Designer showing the Find Entries activity properties, including the Entries to Find parameter with the Entry ID token and the Filter Entries setting." width="290" height="625" data-path="images/flexi-capture/connectors/LF6.png" />
</Frame>

## For Each Entry

This activity starts iterating through the **Entries** received. Each **Entry** will go through the activities contained in the body of the iteration cycle.

**Entries** – the data source. In this particular case, **Entries** are received from the **Find Entries** activity.

For more detailed information, please refer to Online Help.

<Frame>
  <img src="https://mintcdn.com/abbyy/KEmWsO92hkr7eybZ/images/flexi-capture/connectors/LF7.png?fit=max&auto=format&n=KEmWsO92hkr7eybZ&q=85&s=6d4298e270bc4806a2c91c0610134293" alt="Screenshot of the Laserfiche Workflow Designer showing the For Each Entry activity properties, where the Entries data source is set to the entries received from the Find Entries activity." width="304" height="345" data-path="images/flexi-capture/connectors/LF7.png" />
</Frame>
