Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rework RPA docs #5307

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
feat: add Additional libraries documentation
marstamm committed Mar 20, 2025

Verified

This commit was signed with the committer’s verified signature.
marstamm Martin Stamm
commit 3869fa895543279e109e97f340dd1ee8cedee262
19 changes: 19 additions & 0 deletions docs/components/rpa/production.md
Original file line number Diff line number Diff line change
@@ -63,6 +63,25 @@ By default, each worker only executes one job at the same time. This ensures scr

Some use cases, like browser automation, can be side effect free and execution can be parallelized. The `camunda.rpa.zeebe.max-concurrent-jobs` defines how many jobs the RPA worker will pick up.

## Additional libraries

The RPA worker comes with a set of [default libraries](https://camunda.github.io/rpa-python-libraries/). Additional dependencies can be installed by providing a supplementary `requirements.txt` file in the `camunda.rpa.python.extra-requirements` property.

These requirements will be installed with the next restart of the RPA worker. Additional libraries are only available on Workers that are configured accordingly. Therefore, it is recommended to use [labels](#labels) to ensure that worker and script are compatible.

For example, the RPA worker allows browser automation with Selenium out of the box. If you want to use playwright instead, you can install the dependencies like this:

```
# requirements.txt
robotframework-browser
```

```
# application.properties
camunda.rpa.python.extra-requirements=extra-requirements.txt
camunda.rpa.zeebe.worker-tags=default,playwright
```

## Scaling effectively

We recommend reviewing [organizing glue code and workers in process solutions](/components/best-practices/development/writing-good-workers.md#organizing-glue-code-and-workers-in-process-solutions).