Invoke an API Task in a process
- Updated: 2024/12/18
An API Task can be called directly within a process or you can attach a form that contains the API Task.
When API Tasks are invoked from a process, they provide faster response than a Task Bot when called in the same process. API Tasks run on available unassigned devices in the API device pool during runtime.
When you invoke an API Task in a process, you might see the following
device-related errors. To avoid such errors, ensure that a device is available to run
the API Task and the API Task is assigned to a device in the
API device pool.
- If an API Task is not assigned to a device session and it is invoked in a process, you might encounter an error.
- If there are no available devices and an API Task is invoked in a process, you could encounter an error.