Arguments not showing in process page in orchestrator

I Have created 5 in- arguments in main.xaml , until yesterday it was showing in orchestrator process page. but while now I am publishing new version, It didn’t show any arguments.

Hi @logesh_kumar1 ,

You basically have to:

  1. work with arguments
  2. look at it ‘from the top’

The top-most level is the Orchestrator (in your case). You then take this argument and assign it as a value to the inner argument of the invoked workflow.

I hope it makes things clear :slight_smile: I really hope someone has figured out an easier way to explain it (maybe graphically). I remember it took me some time to get it initially :smiley: But it is rather straight-forward in the end.

Hello @logesh_kumar1

Can you switch back to the previous version and then check the same?

Thanks

Switch back to previous published version
Then check for arguments if available or not
Then again publish the same package with updated version number
It’ll show the arguments
And while publishing keep this in focus that you have to publish Main.xml file and not child workflows

Hi @logesh_kumar1,

Attaching below just in case you have missed setting main.XAML as the process entry point
img20211209-9

Tried all the solutions, still same issue only

Previous version its available,

Hi,

I had the same issue.
Following Steps worked for me:

  1. Add another Entry Point (no matter if you are going to use it or not, just to get the section/property in the project.json file, if not there)
  2. edit the project.json file with an editor of your choice (mine was notepad++)
    a) take the input and output arrays from the arguments in the root of the json and place them into the EntryPoint object (of your choice)
    b) remove the argument property on the root of the project json.
    c) edit the studioVersion property to a more recent version. Mine was “studioVersion”: “19.10.1.0”, since it was an older project, i provided a fix for. I changed it to: “studioVersion”: “21.10.5.0”,
  3. Reopen Project in Studio
  4. Republish Project
  5. Update Process to current package version.

Hope this helps you with your issue.

KR
Dominik

Make sure that all arguments passed to the entry point file are of primitive types.

Keep in mind that only primitive types are validated by Orchestrator.

Documentation: https://docs.uipath.com/orchestrator/standalone/2023.4/user-guide/about-input-and-output-arguments