Hi all,
I need to get a value from an application so I have used get text activity and the output I have put a variable named output.
The output is a string variable.
Now I need to pass that output in if condition. How do I do that.
As if condition accepts only Boolean variable
Can anyone please help me
1 Like
@hanviprebday
in if activity you can pass the condition as
outputvariable.equals(ββ)
or like way you can give condition
ppr
(Peter Preuss)
3
an If activity expects a boolean as an outcome or variable
lets assume we want to check if a string contains a particular substring
strStringVariable.Contains(βABCβ)
will return a Boolean and will work within the condition
What you want to do / check within the if?
Hi @hanviprebday
Based on the required condition, you can use
For example
output.Contains("specific_keyword")
It Checks whether the keyword is contains in the string or not
Hope it helps!!
system
(system)
Closed
7
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.