I’m using extract table data tool in workflow. When data found in web page it executes quickly. When there is no data to extract it is waiting for so long. How to reduce when data not found how to skip the step in 1 or 2 seconds. Please suggest
→ Use check app state activity to check the table exist in the webpage.
→ In check app state activity indicate the table which contains the reference data.
→ In the Target appear block insert the Extract datatable activity to extract the table.
→ In the Target doesn’t appear don’t give any activity.
→ There is Seconds field in check app state activity give the value of 5 in dropdown.
Sequence
Element Exists
Properties:
Selector: Indicate the element representing the table
TimeoutMS: 2000 (or your preferred timeout)
Output:
elementExists (Boolean variable)
If
Condition: elementExists = True
Then
Extract Table Data (or other relevant activities)
Have you inserted the Write range workbook activity next to the Extract datatable activity inside the Target appears block in check app state activity.
Note : If the Datatable appear in this condition give the activities in target appears block, if datatable doesn’t appear give the activities in target doesn’t appear block.
You can give it try the below steps
1 . Use Extract Table data activity , and assign the output to a datable variable
2 . Then try to read the rowcount , if rowcount = 0 , then there is no data and vice versa .