Now I am trying to type the certification code into the website and get the datatable that I want to extract. However, sometimes the AI cannot get the correct certification code so I have to design a loop (I used Retry Scope) to accomplish it. But I don’t know how I can design the condition for stopping this loop. (Because the datatable that I want to extract is invisible when the certification code is wrong, but it really exists. the Activity “Element Exists” cannot work).
There is two blocks in retry scope one is action block and other is condition block.
In the action block give the activities which you want to enter the certification code.
In the condition block take element exist or check app state activity and indicate the datatable which you want to extract.
Open the properties of retry scope and mention the number of retries, by default it is 3 change the number of retries based on your requirement.
The above will work like it will search for the certification code for first time if datatable appears it will come out of retry scope loop. If the datatable doesnt appears it will retry the action block activities untill the datatable exist or number of retries completed.
You are still able to find the Check App State activity? If not, you need to either enable Modern design experience in Studio or filter for Modern activities.
The Visibility check should available in “Input” section" under “Target”, in the properties for the Check App State activity.