Invoke Code Help

In the “Invoke Code” activity, is it possible to declare classes for use in the code following the declaration?
At present, when I try to add a class in this activity, I get “Statement cannot appear within a method body. End of method assumed.”.

1 Like

Good morning Alexc,

I don’t believe this is currently possible :

You may need to create a custom activity using Visual Studio if you need multiple classes:

Hi @Alexc,

Can you explain a little bit detail.

Regards
Balamurugan.S