Creating a custom object/class

Dear Community,
In one of my processes, I need to interact with an external API through a SOAP request. The API expects me to pass a header of type “object” with certain properties (e.g.: header.username, header.password).

Is there a way to build a new class of objects without using custom activities? Thank you very much!

Have a nice day,

Hi @Phil

As far as I know, I don’t think we can directly create a new class of objects through studio to be used in a project without those being developed as custom activities.

However, you can use two approaches to build them.

  1. Through Studio using the library project option and adding those to your project as custom activities
  2. Using visual Studio to build the custom activities using C# and getting a nugpkg file which can be added to your UiPath project.
1 Like

Thanks Lahiru,
That’s what I thought; was trying to avoid building and managing a custom activity just for that, so figured I would try the community :wink:

Have a nice day!

1 Like

No worries :smiley:

1 Like