Cloud device management (API Task)
- Updated: 2024/09/19
Cloud device management (API Task)
The Automation Anywhere Control Room settings page allows you to set the API Tasks concurrency (within form and process) and add API Tasks that are called within forms.
Concurrency management
API Task licenses govern the maximum number of API devices that can execute concurrently, ensuring optimal resource allocation and preventing performance bottlenecks.
Configure API Task concurrency to align with your specific workload and workflow patterns:
- Navigate to .
- Click Edit to increase or decrease the concurrency limits of API Tasks within forms or processes.
- Use the plus (+) or minus (-) sign to modify concurrency limits accordingly.
- Click Save changes.
API Tasks in Forms
- Within API Tasks in Forms, hover over the plus sign and click Add API Task allocation.
- In the Find an API Task, click
Browse to locate and select the desired API Task.Note: A default run-as-user (apitaskrunner) is automatically assigned to each API Tasks added to the API Task allocations table. To change the default user, click the actions menu (three vertical ellipsis) located to the right of each allocated device session and click Assign run-as user and select a user.
For more information on configuring and check in an API Task, see Configure an API Task in a form and Check in API Tasks to Repository.
API Task allocations limit
The API Task allocations limit is directly tied to a Control Room tenant's concurrency count and the distribution of sessions between forms and processes in the Concurrency management. This distribution determines the maximum number of API Tasks a tenant can allocate.
For example, a tenant with a license for 22 concurrent sessions and a 55%/45% distribution (12 form/10 process sessions - as in the screen shot above) can have a maximum of 24 API Tasks allocated (12 form sessions * 2 allocated tasks). A concurrency allocation of 55% for forms results in 12 sessions. This means 12 API Tasks can execute concurrently at any given time. However, you could add up to 12 * 2 = 24 API Tasks in the API Task allocations table. The maximum number of allocations in the API Task allocations table = "2" * API Task used in a Form. The factor 2 is fixed.