Is it possible to use Switch cases in UiPath?

0 votes
I have a problem where I need to use Switch cases to perform different tasks on different cases. Now can anyone suggest how can I use cases and switch between them using UiPath?
Mar 13 in RPA by Ramesh
94 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

Hey @Ramesh, you can use Switch activity for switch cases in your workflow. You can follow the mentioned steps for getting a better idea about Switch activity:

  1. Create a new Sequence. Then create a variable intNumber of Integer type.
  2. Now add an Input Dialog activity and add Title & Label to prompt user to enter a number.
  3. Store the user-entered value in Output into intNumber.
  4. Then add a Switch activity. In the Expression field, type "intNumber mod 2". This verifies if the user’s input number is divisible by 2.
  5. Now in the Default section, add a Write Line activity. In the Text field, type intNumber.ToString + " is an even number.".
  6. Click the Add new case line, and in the Case Value field, type 1. Add a Write Line activity to this case and type intNumber.ToString + " is an odd number." to the Text fields in Write Line.
answered Mar 13 by Anvi
• 5,960 points

Related Questions In RPA

0 votes
1 answer
0 votes
1 answer

Is it possible to add comments or description inside an activity in UiPath?

Hi @Utkarsh, to add Comments inside your ...READ MORE

answered Mar 25 in RPA by Pratibha
• 2,520 points
65 views
0 votes
0 answers

Is it possible to automate processes using Internet explorer in 64-bit in UiPath studio?

I am using IE for automating some ...READ MORE

Mar 29 in RPA by Hina

recategorized Mar 29 20 views
0 votes
1 answer

Automation in Uipath

you can use the Database package for connecting  ...READ MORE

answered Apr 17, 2018 in RPA by wrecker
• 3,090 points
190 views
0 votes
1 answer

UiPath vs Workfusion

in WorkFusion, you can create a script ...READ MORE

answered Apr 17, 2018 in RPA by wrecker
• 3,090 points
776 views
0 votes
1 answer

Surface automation in rpa?

Surface automation is a visual automation that is done using ...READ MORE

answered Apr 20, 2018 in RPA by wrecker
• 3,090 points
263 views
0 votes
1 answer

Private Chrome window open UiPath

To open the browser in private mode, ...READ MORE

answered Apr 25, 2018 in RPA by wrecker
• 3,090 points
250 views
0 votes
1 answer

Is it possible to convert a json string into a json Object using UiPath?

Rashmi, it's quite easy to convert a ...READ MORE

answered Mar 11 in RPA by Anvi
• 5,960 points
215 views
0 votes
1 answer

What is the use of ContinueOnError property of Attach Window activity in UiPath?

Hey Pragya, Attach Window activity in UiPath ...READ MORE

answered Mar 20 in RPA by Anvi
• 5,960 points
148 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.