Articles → UIPATH → Add Queue Item Activity In Uipath

Add Queue Item Activity In Uipath






What Is A Queue?





Purpose Of Add Queue Item Activity?





Create A New Queue


  1. Login to the orchestrator
  2. In the queues page, click on the "+" button


  3. Picture showing the queue screen in orchestrator
    Click to Enlarge

  4. In the create queue screen, enter the "Queue Name" and click on the "Add" button


  5. Picture showing the create queue screen for creating a new queue
    Click to Enlarge


Adding Data In The Queue


  1. To get the data, we are calling the "Read Text Data" and "Matches" to get the list of email IDs in a variable "emailids"


  2. Picture showing the Read Text File and Matches activities for getting the data for queue
    Click to Enlarge

  3. Loop through all the records in the variable "emailids"
  4. Inside the loop, drag and drop the "Add Queue Item" activity


  5. Picture showing a for each loop for looping through a collection of emails
    Click to Enlarge

  6. Set the "ItemInformation", "Priority", "QueueName" and "Reference" in the "Add Queue Item" activity


  7. Picture showing assigning the iteminformation, reference and queue name attributes in properties window of add new queue activity
    Click to Enlarge

  8. Make sure that the folder name "Shared" is selected


  9. Picture showing changing the folder from default to shared
    Click to Enlarge

  10. Save and run the bot



Output


  1. In the orchestrator, go to queues
  2. For the given queue, click on "View Transactions"


  3. Picture showing the list of queues in orchestrator
    Click to Enlarge

  4. You can see the list of transactions


  5. Picture showing the list of transactions in the queue
    Click to Enlarge



Posted By  -  Karan Gupta
 
Posted On  -  Sunday, March 28, 2021

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250