I need to design the process where I have to merge two different bots into a single one.
Current Process is :Two different bots are there which process independently . But in the new design I need to merge the bots into a single one and process.
Each bot is reading data from two excel sheets .
After merging , the requirements is
It will read data from first excel sheet and process and when there are no more transactions of the first process it will go the next process and read the data from another excel sheet and complete the process.
Yes of course. You can merge two datatable into one datatable at Initialization State. And you should get current datarow at Get Transaction Data State to process them at Process Transaction State.
You still have option to merge…may be what you can do is to create a new argument/variable which says if it is excel1 data or excel2…or we can add a new column after reading with the identifier and use it in the process xaml to see which excel file data came from and process accordingly
Actually now there are two bots. the run one after another with an interval of 30 minutes. Business wants to reduce the time and merge the bots . Even I don’t see a logic of merging when the process is different
Business feels time will be reduced if they merge the bots. Right now one bot runs after another with an interval of 30 minutes. But I feel merging will be un necessary complex since they are different process
I will try that but I dont know whether the client side is ok or they want to combine.
Suppose I am combining the bots and In Get Transaction Data I am trying to get Transaction data from Queue1 (after reading Excel1 form Process 1) and if there are no More Queue Items in Queue 1 from Process1, I am trying to get Transaction data from Queue2
How in Process Transaction it will be able to identify the data is from Queue1 or Queue2
@dutta.marina , if time is the differentiator here, then you need to think about running the 2 processes in parallel. As long as the processes don’t need user interaction, develop them as background processes. Add another process to convert both excels to datatables and then call the 2 background process in a parallel activity each.