I have a project with an argument (string), but for some reason when I publish the process, my orchestrator doesn’t recognize the argument so I can’t insert the values from the orchestrator, the argument is in the main (it’s a State machine, and the argument is in the main sequence)
and also - does the argument need to be in the main sequence for me to insert values from the orchestrator?
Thank you very much
Please help me
@dlichtenstadt Argument needs to be in the main Sequence, as that is the Sequence which is going to be executed at the beginning. The Start Sequence of the Process. If you have really created arguments in the argument Panel which is in the Main Sequence, it should have reflected in the Parameters Section when creating Jobs. Have you checked the parameters Section in the Jobs of that Process?
Also make sure you have published the latest Process that has the arguments.
and also this a string (it’s not a problem right?)
and this is the process after I published I tried to upload it with the arguments but as u can see, there is no arguments in the “Input values”
and also - if I want to add some arguments I need to create them in the main, but where will I insert the arguments values in to the variable that I have in the project? in assign?
thank you for the quick answer
ok
so how do I do that?
its a list of numbers between 1- 100 and I can write it all with a white space to separate.
and then it will be a string, and if I will want to check if the number is in that string I will do str.contain(“number”)?
U were right
it wasn’t the main, when I changed it to be the main I saw the in_argument in the process page.
so now I have the problem of not having the ability to run with string
@dlichtenstadt The Solution what you described is possible, But you don’t need a String array as an argument and I think most of it was covered by @msan 's post
@dlichtenstadt You can use String Type as an Argument. Pass the values in the Orchestrator with a Separator like a Space or a Comma. In the Workflow, You would need to Split the String Argument based on the Separator which will convert the String into an Array.
Say in_StrVar is your String Argument. Then Create an Array of String variable, strArray and use the below code in Assign Activity.
strArray = Split(in_StrVar," ")