cancel
Showing results for 
Search instead for 
Did you mean: 

Collection - Using a collection from one processes in another process

JonathanHolstin
Level 5

I'm loading a queue from a collection in one process.  

Another process is going to work the queue and write the values to excel.  When I was working it I had a sample queue to work but I am now realizing my write to excel references that placeholder collection.  My other collection is part of my first process.  How do I reference the collection from the other process while working the queue?

Thanks,

jon



------------------------------
Jonathan Holstine
Systems Accountant
Interior Business Center
America/Denver
------------------------------
2 REPLIES 2

Hi Jon,

You will not be able to reference collection from other process directly. However you may pass the collection from Process A to Process B using input/output parameters. Use the process block to call one process within another process.

------------------------------
Shashank Kumar
DX Integrations Partner Consultant
Blue Prism
Asia/Singapore
+6581326707
------------------------------

Perhaps the best solution that you could implement in your solution is a parent/child relationship between items in Queues, it is a lot to explain but basically you will have 2 Queues (1.- For the Excel 2.- Data) and each item must have a parent/child relationship. For example; The excel is the main collection with the name of the excel as the Item Key, then you have the data  in the other queue wich the tag of each one of the item will be "Child/&[Item Key from Parent]". I think that is the best option you have to make a reference from one process while working a different queue. I invite you to read the Advanced Work Queue Guide to learn more about this, its kind of hard to explain

------------------------------
Daniel Sanhueza
Analyst
Deloitte
America/Santiago
------------------------------
Daniel Sanhueza
RPA Professional Developer
Deloitte