cancel
Showing results for 
Search instead for 
Did you mean: 

Query about decision stage

Barboraurbinova
Level 3
Dear All, 
I have a query that needs to use decision stage and scenario is.....
If some data is available in the collection then it should write that data from collection to the specified excel.
AND
If there is a bank collection (no data) then it has to bypass the stage of write data to excel and should move to further stage.
NOW
As, I'm trying to use the decision stage then error is appearing that Can't compare collection.
15274.png

is there any way aroud to achieve this scenario.

Thanks
B

------------------------------
Barbora urbinova
------------------------------
1 BEST ANSWER

Helpful Answers

ewilson
Staff
Staff

@Barboraurbinova,

Can you show a screenshot of your Decision stage definition?​ There could be a few ways to attack this. If you're just trying to see if there's any data whatsoever in the Collection you could use the internal Collection VBO to get the count of rows. If the value is 0, you know there's no data.

Cheers,



------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------

View answer in original post

2 REPLIES 2

ewilson
Staff
Staff

@Barboraurbinova,

Can you show a screenshot of your Decision stage definition?​ There could be a few ways to attack this. If you're just trying to see if there's any data whatsoever in the Collection you could use the internal Collection VBO to get the count of rows. If the value is 0, you know there's no data.

Cheers,



------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------

Hi Eric,
Tnx for your hint!!!
& aftr Collection Manipulation & thn Decision, its giving the desired output!!!
Rgrds
B

------------------------------
Barbora urbinova
------------------------------