Splunk search results waiting how to cater

Hi All,

Currently i am using 20 second delay but when the timeframe is longer it is taking longer time splunk show no result found so if condition show message box no result and closing it. i tried element exist set if condition if false execute it is skiping datascriping step

Sequence is

Click search button → delay 10 seconds → delay 10 seconds → datascraping the results but if timeframe longer search time takes longer how to cater this scenario pls

Have you already tried using “check app state” activity? You can add a “check app state” activity instead of delays and anchor it to an element that indicates that the application has loaded and then it will wait until that element loads (similar to “element exists” but it works better). But even with this approach you will need to set a timeout, like 5 minutes or something like that, because your application could stuck and then your automation will stuck as well.

which package need to install for check app state

Hi,
It is part of UiPath.UiAutomation.Activities