Hello Friend,
I’m Trying to Type into a string and controle it content, what is the best approche, how to use retry scope in this case? what will be the out condition?
1-Type into “Field1”
2 get Text from “Field1”
3 condition ?
Hello Friend,
I’m Trying to Type into a string and controle it content, what is the best approche, how to use retry scope in this case? what will be the out condition?
1-Type into “Field1”
2 get Text from “Field1”
3 condition ?
Retry Scope:
Max Retries: 3
Retry Interval: 1000---->“1000” into the Retry intervel
Type into "Field1"
Get Text from "Field1"
in retry scope Condition:
Check if the retrieved text matches an expected value
Exit the Retry Scope
https://docs.uipath.com/activities/other/latest/workflow/retry-scope
please check this
In an If activity…
NOT typeIntoValue = getTextValue
This is basic, very very basic programming logic. Have you taken any programming classes before?
also have a look at this functionality:
Hey, why are so agressive???, I’m certified Uiard with tens of deployed robots, so kindly some respect
There’s nothing aggressive about suggesting training. Honestly, how are you advanced certified and don’t know how to compare two values?
with this answer you confirm your agressivity
I know how to compare values, and thousand of other activities in UiPath, i had started coding UiPath since 2017. so i’m not waiting for your certefication or approbation.
even if is a simple question, we should respect other developper when they ask for some help.
My question is about: what i will put in the condition:
i tryed: element exist, find element, and now i’m trying get text, i got your point: use if activity (where?: in the condition of the retry?)
I did answer your question.
If NOT typeIntoValue = getTextValue
Then --they don’t match so do something—
If by retry scope you mean you want the type into to repeat if they don’t match, then you put the “NOT typeIntoValue = getTextValue” into a “check true” activity and place that activity in the retry condition. However, a Do While is probably better suited to this than Retry Scope.
That’s what i had forgetten: “Check true”
thanks, and keep calm
i tested it, did you mean this ?:
i got this error :
Yes that’s what I meant. As for the error, run in Debug mode and tell us which activity threw the error.
Also, I tend to find Do While simpler. You can just put the "strGetTextDem <> “N demande” in the condition, and set a maximum iterations. Then it works just the same as a Retry Scope.
Also, wouldn’t you want to check strGetTextDem against a variable - the one used in your Type Into?