I want to make inprogress item to new without any hardcoding in my workflow for specific queueitem can you suggestt
Hi @MEGHA_BACHAR,
Welcome to the UiPath community!
You can follow these steps:
-
Use the Get Queue Items activity to retrieve the in-progress queue items from your specific queue.
-
Filter the queue items based on their status, selecting only those with the status βIn Progressβ.
-
Loop through the filtered queue items.
-
Inside the loop, use the Postpone activity to postpone each item. Set the βNewDueDateβ property to DateTime.Now (to mark it for immediate processing) and the βNewPriorityβ property to βNormalβ or your desired priority.
Hereβs how you can implement this in UiPath:
Sequence
βββ Get Queue Items // Get Queue Items activity
β βββ Queue: YourQueueName
βββ Filter Data Table // Filter Data Table activity
β βββ Input DataTable: Output from Get Queue Items
β βββ Filter Wizard: Status = "In Progress"
βββ For Each Row // For Each Row activity
β βββ Input: Output from Filter Data Table
β βββ Postpone // Postpone activity
β βββ ItemInformation: CurrentRow
β βββ NewDueDate: DateTime.Now
β βββ NewPriority: "Normal"
βββ End Sequence
This workflow will postpone all in-progress queue items, essentially marking them as βNewβ for immediate processing without hardcoding any specific item IDs or statuses. Make sure to replace βYourQueueNameβ with the name of your specific queue.
Thanks,
Ashok