I am working on acme1 website for practice purpose I just want to know that how to achieve the below as explained:
I need to login to the Acme1 website after that needs to navigate as home–>Work items.
Will extract the table using table scrapping.
3.After that I will apply the filter for WI5 (for the column Type).
4.Then the filtered data to use for the further process.
Here my doubt is where and how to pull the filtered data to queue.
Whether I need to use same RE-Framework for both dispatcher and performer or need to be create separate RE-Framework for both.
No need to create two projects for dispatcher and performer. You can do the dispatcher process in the first run sequence in Initialization state.
And you can do the Performer process in Process Transaction state.
Note : The First run will execute only once at the starting of the RE Frameworks, then the dispatcher will execute one time and in that time it will scrap the data, filters and added to the queues.
No need to create 2 processes you can do it in using same process
In the init add login ,data extraction and filtering data then you can add the filtered data into queue using add queue item activity.
In the get transaction state get the item one by one
In process process transaction state add the remaining process that you need to perform using filtered data.
Use the Type Into or Set Text activity to input the username and password.
Click the login button.
Navigate to Home → Work Items:
Use the necessary activities (e.g., Click, Type Into, or Navigate To) to move through the UI and reach the Work Items page.
Extract Table Data:
Use the Data Scraping wizard to extract the table data. Configure it to select the entire table on the Work Items page.
Apply Filter for WI5:
Use the Filter DataTable activity to filter the extracted table data based on the Type column. Set the filter to include only WI5 items.
Use Filtered Data for Further Processing:
Perform any additional processing needed using the filtered data.
Push Filtered Data to Queue:
If you want to use Orchestrator Queues, use the Add Queue Item activity to add each filtered data row to a queue. Ensure that you configure the queue correctly in Orchestrator.
Regarding RE-Framework:
Dispatcher and Performer:
You can use the same RE-Framework for both the Dispatcher (which extracts data and adds it to the queue) and the Performer (which processes items from the queue).
The Dispatcher will focus on steps 1 to 4 mentioned above.
The Performer will handle steps 5 and 6.
Separate Workflows:
You might want to organize your project with separate workflows for different purposes, like one for login/navigation, one for data extraction, and one for processing.
Each of these workflows can be part of the RE-Framework and called as needed.
Recommendations:
Modularization:
Keep your workflows modular and organized. This makes it easier to maintain and troubleshoot.
Logging:
Implement logging using the RE-Framework to track the execution flow and any errors.
Exception Handling:
Make sure to include proper exception handling in your workflows, especially when dealing with web interactions.
Config Files:
Use Config files to store configurable settings, such as website URL, credentials, and queue names.
hope this will hepls you
regards,
Dheerandra Vishwakarma
I followed as you said but when I run the studio more than 1 time the same queue items are getting added again.
How can I make sure that queue items should add only one time.
For example: If there are 100 queue items it should add only time to queue, but in my case it is getting duplicated i.e. same queue items are added again.