Custom Activity - Displaying Input Parameters/Arguments

Hi,

Can anyone help me how to display all input parameters in a Custom Activity in the desired order rather than UiPaths’ default alphabetical order ?

For Example:

Created three input params and need to be displayed like as follows,

  1. ID
  2. Name
  3. Age

instead its been displayed as (Alphabetical Order),

  1. Age
  2. ID
  3. Name

Thanks in advance :slight_smile:

Regards,
Dominic Arul Collins V

3 Likes

@599712 You can pass the Input Parameters / Arguments as per your requirements.
You can use concatenation for the same.

@bkarlekar, Sorry, I didn’t get you what you have told :confused:

My requirement is that the order in which I create/initialise input parameters in custom activity in Visual Studio is not being displayed in the tool [UiPath] in the same order. The order gets changed alphabetically !

Regards,
Dominic

1 Like

Hey @599712

Not sure and might not aware if there is metadata attribute exist to show them in a sequence expect Alphabetically.
If someone know then lets see.

But for now you can make category to show them like that.

[Category("Input")]
[Description("Enter ID")]
public InArgument<Int> ID { get; set; }

[Category("Input")]     
[Description("Enter Name")]
public InArgument<string> Name { get; set; }

[Category("Misc")]
[Description("Enter Age")]
public InArgument<Int> Age { get; set; }

So this will show like:

Input

ID - Enter ID
Name - Enter Name

Misc

Age - Enter Age

Regards…!!
Aksh

1 Like

Hi I created a similar custom activity with 3 input parameters like Url,Username and password and one output parameter as List. After installing the package the activity has only one input parameter which is URL and the output parameter… the remaining inputs are missing. any idea on this ?

Hi,

Kindly ensure that [DisplayName()] Property is not same for all the 3 parameters.

Thanks,
Muthu.

Hi @Dominic ,

Still am too facing this issue, did you got rectified?

Thanks,
Muthu.