> ## Documentation Index
> Fetch the complete documentation index at: https://docs.activeviam.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Workflow Tasks

> How to create custom workflow tasks for the deprecated Atoti Limits legacy workflows, covering UserTask form properties in BPMN files, Spring bean configuration, Java logic implementation, and workflow settings

This section describes how to create custom workflow tasks that work with the Atoti Limits server and UI.

Creating custom workflow tasks in Atoti Limits requires specifying task *actions* in order for the UI to correctly manage the task.
The UI will represent the action in the form of a button and, once clicked, in a popup that will display the available fields of the action.

To create custom workflow actions in Atoti Limits follow these steps:

1. Update the `UserTask` form properties in the `.bpmn` file. See [Updating the BPMN file](./custom-workflow-tasks/custom-workflow-action-bpmn).
2. Add a [Spring Bean](https://docs.spring.io/spring-framework/reference/core/beans/definition.) to pick up the `UserTask`’s actions. See [Defining Task Spring Beans](./custom-workflow-tasks/custom-workflow-action-spring-bean).
3. Implement the java logic to process the submitted `UserTask`. See [Executing the Java Task](./custom-workflow-tasks/custom-workflow-action-java-code).
4. Add the workflow in the Atoti Limits server and UI settings. See [Custom Workflow Settings](./custom-workflow-tasks/custom-workflow-settings).

The workflow actions will then be available as buttons in the UI in either:

* the `Limits Viewer` screen if the action is linked to a limit workflow, or
* the `Limit Status` screen if the action is linked to an incident workflow.
