Invoke code define class

hi, l am working on UiPath version 22.10, i tried to find out if any possible solutions could define class directly in invoke code activity?

i actually would like to realizate the class to json string, send post http request.

@Forum_Staff

Hmm as far as I know, you cannot define a class directly in the Invoke Code activity in UiPath version 22.10.
To define classes, you should create custom classes within a separate project or use external libraries if necessary. Once you have your classes defined, you can reference and use them in your UiPath workflows.

Hope this clarifies
@waiman_wong

1 Like

Hi,

FYI, from 23.10, we will be able to use Coded Automation which allows you to create custom class on UiPath Studio.

https://docs.uipath.com/studio/standalone/2023.10/user-guide/coded-automations-introduction

Regards,

2 Likes