Example of initialization from arguments passed from command line via /input

Very n00b to RPa (hours), 40+ years IT experience. Please RTFM kindly

I need to either take command line inputs or prompt for inputs. so /i {‘arg1’: ‘Bob’, ‘arg2’: ‘XYZ1’, etc…}

I have arg1 defined in my arguments but am trying to find a resilient example to say something like:

if arg1 <> null:
name = arg1
else
name = “”
input dialog get_name
now go do something…
Or some such snippet of code to better understand how to best accomplish this type of initialization. If an examples exists, I haven’t found it. But I may be overcomplicating things. My background is in C and Python, not VB. I’ve got a block of about 5 inputs.

Thanks in advance for the help.

@Harvey_Summers: Not very clear about your requirement, attaching a sample workflow from your given statements Test.xaml (6.5 KB)

UiPath offers several way to learn, here are a couple of quick links to help you get started:

  1. Video Tutorials

  2. Academy

  3. UiPath Guides

Hope this helps you get started.

Happy Automating!