> ## 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 set of activities in Pega

> Overview of building the set of Pega activities that drive the ABBYY FlexiCapture connector workflow for single- and multi-document processing scenarios.

The workflow stages call Pega activities, and each activity calls one of the library functions. Which activities you need depends on how many documents a case handles.

## Topics in this section

| Topic                                                                                                                  | What it covers                                                                                                |
| ---------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- |
| [Create a Pega activity](/flexi-capture/connectors/pega/pega-activity-create)                                          | The general procedure: steps, parameters, pages and classes, loops, and the **When** and **Jump** conditions. |
| [Create the activities for a single-document processing case](/flexi-capture/connectors/pega/pega-activities-one-doc)  | The four activities a single-document case needs.                                                             |
| [Create the activities for a multi-document processing case](/flexi-capture/connectors/pega/pega-activities-many-docs) | The five activities a multi-document case needs.                                                              |
