scenario: read multiple emails with valid sender, subject line and attachment->if everything is okay then download the attachments and store it in input folder->then read each excel and strore data in a datatable->once each excel processed and data table is ready then open a XYZ application and copy all the data from datatable and paste it in XYZ application and run the load program->then load program if success close the application send final report to the client, explain which framework do i need to use and and if re framework we are using then it is simple or queue base, because we are opening XYZ application only once explain it in details
U would suggest to use dispatcher performer approach here.
In dispatcher robot customise the reframework to iterate all the valid emails and download attachment. After downloading the attachment add the download path to queue.
In performer use your logic to process all the attachment as queue items.
Can you explain more please its implementation really needed
- You can use REF
- Single ref should be enough
- Change the transaction type to mailmessage..so that you can directly iterate over emails
- In process state check your attachments and read the data create the datatable
- In the end process have the logic to open the application and wrote whole data at once
- Then next activity would be to send the report back
As in application there is no separate data input for each email this should suffice
Cheers
You mean single Reframework can also handle, could you please explain more so that i can start the process
yes you can
I explained already
if you start with that and if stuck we can help
cheers
Could you specify in which part you have dought?
Hi @ashokkarale,
I have started development of this bot using single reframework and completed the bot but while running the bot, when bot is compiling getting below errors and bot is not running even i have already converted and there is no any queueitem variable type:
please see below and provide appropriate solution for this.
You will have to change the datatype of QueueItem variable. Refer this solution.
I have already change there is no any queue item variable
Sorry my bad! There error is occurring because of datatype of TransactionItem or out_TransactionItem variable/arguments. Check them and you should be good.
Hi @Anil_G /@ashokkarale
This is very urgent requirement please help me i have to submit this bot by day after tomorrow, i am really struggling .
You need to change the argument type in the following workflows:
- GetTransactionData.xaml
- Process.xaml
- SetTransactionStatus.xaml
- Main.xaml
Use ctrl+f search for variable name change every where
After that you have to click on import arguments for each xaml where it is invoked and then it would reflect
Cheers
It will be there, go through all the xamls