---
title: Agents: Core
slug: docuflow-guides/agents-core
docTags: 
createdAt: 2020-11-29T17:31:14.000Z
---

## Overview

Core Agents are based on the docuflow Classification configuration.  Approvers are separate from core agents.  There are 4 categories of agents associated with docuflow "core" processing:

1. Initial AP Agents
2. Review Agents
   1. Note: Review Agents can also be configued according to ASL Thresholds (such as approvers).  Please refer to the next section Agents: Approvers for more information.
3. Final AP Agents
4. Exception Agents

Each one of those agent categories can also have assigned deadline and catch-all agent.

You can specify as many agents as you would like to 1 processing rule, or you can also choose org units that reference multiple agents.   This creates virtual "teams" of processors per invoice classification (called "possible agents"). &#x20;

docuflow AP and the underlying SAP workflow runtime system manages the sharing of these workitems and prevents work-items from being processed more than once.  `Once a user has "touched" a work-item, it is reserved by them for processing until it is either completed or resubmitted back the larger "team". `

## Setup

Below are the options for configuring Agents:

1. **Classification:&#x20;**&#x73;tandard classification hierarchy
2. **WF Stage Core:&#x20;**&#x77;hich stage of the workflow is this rule relevant to (this is mandatory unless you are configuring a "Admin" or "Deadline" agent)
3. **Invoice Type:&#x20;**&#x41;llows you to split out agents between PO vs. NON-PO
4. **Exception Code:**  For exception stage, specifies a particular exception.
5. **Admin**: `There must be at least 1 Admin agent in your docuflow implementation.`  These are agents who can configure the system and access via TrackLink, and also who can perform Administrator functions via TrackLink. &#x20;
6. **Deadline:**  Indicates this agent is a deadline agent for a particular stage, approval amount, or exception.&#x20;
7. **Catch-All:** `There must be at least 1 catch-all agent in your docuflow implementation.`  These are agents which will receive a work-item if no agent is found.  *For Catch-All agents, classification is ignored (only the flag that the agent is a catch-all is utilized).*
8. **Workflow Agent Type:&#x20;**&#x20;Choose the applicable agent type.
9. **Workflow Agent:** Specify the appropriate agent value based on the workflow type specified above.

## BADI Customizing Options

The following BADI customizing options are available for Agent determination.  For information on how to implement, please refer to the section "Customizing" later in this document.&#x20;

1. **Custom Role Resolution / Agent Determination:** To implement your own exception processing logic in place/in addition to a docuflow AP Workflow Exception work-item.&#x20;
2. **Custom Notifications:** To implement your own method of notifying agents.

