Importing a class to use in RPA Custom Action Script

custom-action

#1

I’ve been trying to import a class to use in a custom action but cant get the import to work i keep getting
“Script2.groovy: 6: unable to resolve class” error


#2

Hi Juan, can you post your script here?


#3

Hi Alesia!
I don’t think that would help, because i’m surely missing some key concept here. i’m kinda new to java and groovy. Basically i have a java-sdk library provided by a API provider i’d like to use in a custom action script so that the process can post some data in that service. I have two major doubts:
1- Where should i put the sdk’s .jar files to have RPA load them.
2- How do i invoke the library from the script so i can use that library’s classes.

PS: Thanks for your time and kindness.


#4

Unfortunately, you will not be able to use an sdk library in custom script, it only supports standard java and groovy libraries.


#5

Well that explains it. thanks anyway.