Hello, I am new too Uipath framework. Can we use add to Queue and get queue items in same REframework process?

Hello, I am new too Uipath framework. Can we use add to Queue and get queue items in same REframework process?

I have a process which they developed in ReFramework as two process, 1. Get data from web application and add it to queue (ReFrameworkProcess1) 2. Get data from queue send mail (ReFrameworkProcess2)

Can we merge this in single ReFramework? If no, what is stopping us. If yes, how?

I have some idea to make this possible, please let me know is that possible,

  1. In GetTransaction
    1.1. If transactioncount = 1 ===> Call the task which will get data from Web application and will add into Queue
    1. 2 If transactioncount > 1 ===> Get data from queue and send mail

Hi,

You can make something like that :

In GetData.xaml, boolean condition “if first run”

true : here invoke your “Get data from web application and add it to queue”
false : Get data from queue

In Process.xaml, invoke your “send mail” process

HI @jairam299

As far as I know, the REFramework is working on a dispatcher and a performer basis.

So, If you have queues, there should be two solutions.

  1. Read the web pages and upload the data to a queue
  2. Second solution will read the queue, and do what ever it needs to do with the data.

It is a good practice approach :slight_smile:

However, still you can change this by, including the data reading and updating the queue in the INIT state in the first run sequence.

1 Like

Thanks @decalajoraire. Let me me try

thanks for the answer @Lahiru.Fernando