Hi all,
the question is we have a list and 3 names stored in a list.
now I want to give a name and it should check if the name is present in the list or not using write line activity (the input given name should display and tell its available or not ) please help me with the if condition and the expression in write line activity…
Thanks,
Hi @uzair_khan,
Welcome to Uipath Forum
You can check using below if condition
list.Contains("Arivu")
True: name is present in the list
False: name is not present in the list
Regards,
Arivu
@arivu96 now that has to display your name in output section and say arivu is available or arivu is not available how to do that?
and thanks for your reply brother…!!
Hi @uzair_khan,
Inside the if condition you can use log message or message box or any other Way want also you can print the Name.
Already you have the Name in variable just pass.
Regards,
Arivu
1 Like
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.