Skip to main content

Hi everyone how i can update work item of queue status from new to completed using api

@Divyansh 58 the Workload Management API can help: https://docs.automationanywhere.com/bundle/enterprise-v11.3/page/enterprise/topics/control-room/control-room-api/api-workload-manager-overview.html


 

if your control room is onprem - user onpremurl/swagger
if cloud use this - https://docs.automationanywhere.com/bundle/enterprise-v2019/page/enterprise-cloud/topics/control-room/control-room-api/cloud-control-room-apis.html

 

Use the Workload Management (WLM) API to programmatically manage and create work item models, queues, work items, and automations in your Control Room. To create a Workload Management automation process, ensure that you are allocated the following roles and permissions:

  • AAE_Pool Admin role and View all devices permission
  • AAE_Queue Admin role
  • Run bot permission
  • Run or schedule permission on the bots folder
  • Device pool consumer permission
  • Mapping of UI to API status for workload management work item processing:
    UI - API
    New - NEW
    Ready to Run - READY_TO_RUN
    Active - ACTIVE
    Completed - COMPLETED
    Failed - FAILED
    On Hold - ON_HOLD
    Data error - DATA_ERROR

     

    All API calls must contain either an authentication token from Authentication API (generates JSON Web token) or a bearer token from OAuth services. You cannot use both together in an API.

    Header: X-Authorization: <<authentication token>> or Authorization: Bearer <<bearer token»


Reply