cancel
Showing results for 
Search instead for 
Did you mean: 

Work queue

MeenaAmmaiyappa
Level 2
Hi,
Am trying to get the number of exception items from BP queue with particular string under the Tag value using Get Report Data under the work queue object.

The Tag value is not unique and I am trying to pass it as query. Please let me know how to pass the input value of Tag as a query instead of a static string.
For ex, I want to get the items that has the word "Exception" in its Tag value in BP queue. BP version: 6.10.4

------------------------------
Analyst Engineer
------------------------------
Analyst Engineer
3 REPLIES 3

henrynli
Staff
Staff
Hi !

Have you checked the BP documentation relating to TAG usage? Does it help ?

https://bpdocs.blueprism.com/bp-6-10/en-us/control-queues.html?tocpath=Interface%7CControl%7C_____5

BR,
Henry

------------------------------
Henry Li
------------------------------

ÖzençGezgin
Level 4
Hi @MeenaAmmaiyappa

You can use Work Queue Business Object, Get Exception Items Action.

Process will be like this:
26218.png
 Get Exception Items, Get Completed Items like this:
26219.png
Than Exception Items Loop and Get Item Data like that:

26220.png

26222.png
Than You can merge data if you want...

------------------------------
Özenç Gezgin
Supervisor
Türkiye İş Bankası A.Ş.
Europe/Istanbul
------------------------------

Pranitha_Durgam
Level 3

Hi @MeenaAmmaiyappa 

If you want to retrieve items with tags including "Exception" in it, you can use wildcard character asterisk (*) as: "*Exception*"

And as you said you want exception items by using "Report Data" action, then you should specify value for Include exception items? as True

Here is the snippet of the "Report Data" action stage properties tab regarding the above:

Pranitha_Durgam_1-1743761287398.png

And you also mentioned "trying to get the number of exception items", if this statement meant to get count of exception items, then under outputs tab in this action stage it has a parameter called Item count, place a store in value or data item to get the result of the count as shown:

Pranitha_Durgam_2-1743761941291.png


I hope this solution helps.