Can anyone help. I am trying to get an argument into a workflow. I have a really simple test workflow but whatever i try in Cmd line or Powershell I cant get the argument in. The workflow starts fine every time but nothing gets passed in. Would someone be able to send an example snippet of code that should work. Its driving me mad. I am checking by performing a “writeline” with both the string argument and a string variable that was assigned the argument, every time the default argument text remains unchanged. I know the workflow works as i can pass arguments when i start it from the web interface in OpenFlow. It feels like there is some kind of environment issue that prevents it. I have also tried on a different machine.
Thanks for the response Alan. The problem I was having is the documented way it should work as in the example you shared, when i put this in the cmd line
that post is/was about handling arrays, from PowerShell. If your problem is an array too, then I have just pushed a new version that fixes that issues when invoking OpenRPA from PowerShell.
Ah got it, its like the xaml gets corrupted somehow and prevents the workflow from taking the argument. Anyway i created a new workflow from scratch and it solved it. Ill see if i manage to recreate the problem and post again.
Thanks
I have cracked it. If the argument has any capital letters in it, it fails.
so testarg works but TestArg or testArg fails, this is the same at command line and through a python script