-
Notifications
You must be signed in to change notification settings - Fork 197
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
Expand RPA documentation #5256
Comments
@marstamm Let me know if you would like to hop on a call and discuss, or if you are able to provide answers for any of the above. I am happy to launch a PR with these additions. |
@christinaausley thank you for your support on these. I'll provide some rough content from the top of my head, we can have a quick call next week to discuss the details.
To Transition from a development setup to a production setup, there are a few things to consider:
The RPA worker is available on all major Platforms (Windows, Linux and Mac). This allows you to automate your applications on their native platforms. In most cases, this will be windows. For console applications or browser automation, you can use a more light-weight distribution, such as the Docker image.
Labels are set both on the RPA task in the diagram and on your worker. To ensure your script is only executed by machines with the correct capabilities for this script, it is highly recommended to add labels to your worker. A worker can have multiple labels and will pick up any script that matches one of the given tags. E.g., your worker might have access to the SAP application, but you also want it to pick up browser automation tasks. In this case, add If not Label is defined, both task and worker will use the label Labels describe capabilities. If you want your worker to only pick up a specific script, you will need to use a unique label on both the worker and the RPA task.
(I am not that knowledgeable on the Dev-Ops side of things, we might link to this? https://docs.camunda.io/docs/components/best-practices/development/writing-good-workers/#organizing-glue-code-and-workers-in-process-solutions ) By default, workers will only request and execute 1 Job at a time. This ensures that there are no side effects from multiple scripts interacting with the system at a time. Some workloads do not require exclusivity of the worker. E.g., browser automation is usually side-effect free and can execute multiple Jobs in parallel.
If your rpa script runs into an unexpected error during execution, this error alongside the output will be reported to zeebe. If the Job retries are exceeded, an Incident will be created in Operate. To ensure your Environment is always cleaned up and all open Applications closed, create a cleanup step and tag it as *** Settings ***
Library Camunda
Library Camunda.Browser.Selenium
*** Tasks ***
Main
Perform Work
[Teardown] Cleanup
*** Keywords ***
Perform Work
Open Browser about:blank
Fail
Cleanup
# Close your application, even when encountering errors
Close All Browsers (We do not support creating BPMN errors right now, but will potentially do so until the 8.7 release. This will be handled as a keyword, but should be a separate PR)
Shared script resources are a potential topic for 8.8. Right now, the scripts can not reference other resources outside of what is defined in the scripts themselves.
TODO. If we have an existing diagram for service task workers, we could reuse it. |
Quick response @marstamm! I will document this next week -- if what I have PRed does not make sense, we can schedule a call to sync. |
Relates to https://github.com/camunda/product-hub/issues/2533. Per @bastiankoerber, we can expand on the following details for the RPA docs:
CC @marstamm @mattli2024 @PhilippaC22 @crobbins215
The text was updated successfully, but these errors were encountered: