Skip to main content
Cadet | Tier 2
April 22, 2025
Question

Update status of queue work item using rest services

  • April 22, 2025
  • 2 replies
  • 326 views

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

    2 replies

    rbkadiyam
    Premier Pathfinder | Tier 7
    Premier Pathfinder | Tier 7
    May 6, 2025

     

    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»

    Ramesh B Kadiyam