I wish to convert string to queueitem and wondering how it can be done.
What I am trying to do is getting some information from queue which looks like this:
I could get this information and convert it to string in order to fill the webform with GOLD_Order.
After my work is done, I want to change the status of this transaction to Successful in Queue, but my reference is stored in a String type.
I wish to store the information in String to QueueItem type so that I could put it in Set Transaction Activity.
Get Queue Items is the solution if you want to access a Queue Item.
I won’t use a For Each Loop, the UiPath Framework looks for items in Queues and executes the process if there are, if not closes it. I would give it a look.
This in return providing output as IEnumerable. As you said, even if I could retrieve String, I wish to get it converted to type Uipath.Core.QueueItem.
My question is, how can I convert that String to this format ? (Uipath.Core.QueueItem)
In order to set the transaction to Successful you need to use “Get Transaction Item” when you begin working on the queue. It gets the oldest queue item and sets it to “In Progress”. When you have ordered your gold, you use “Set Transaction Status” to set your item to “Successful”. You need to pass it the TransactionItem variable which you get from “Get Transaction Item”.