I created a UiPath Library for data comparison. The library contains several input DataTable arguments as well as one output DataTable argument.
However, when I use this library in a workflow, I find that the parameter order in the activity panel appears quite random, which makes it less user-friendly.
Is there any way to customize or control the display order of the arguments when the library is consumed?
Yes, you can control the order in which arguments are displayed when a UiPath Library activity is consumed.
In the Library project, open the workflow/activity and check the Arguments panel. The order of arguments exposed by the library can be influenced by the order in which they are defined/exposed.
For better usability, I’d recommend:
Keep Input arguments together and arrange them in a logical order.
Put Output arguments after the inputs.
Use clear and consistent argument names.
After making changes, republish the library and update the library package in the consuming project.
If the order still appears inconsistent after publishing, check the generated activity metadata/package version, as Studio may be using a previously cached version of the library.