I'm working with Kaleo Designer.
As you can see into image : "import com.MYPACKAGE.MYCUSTOMCLASS".
Is possible to import a custom java class and call my custom methods in kaleo designer actions?
I'm working with Kaleo Designer.
As you can see into image : "import com.MYPACKAGE.MYCUSTOMCLASS".
Is possible to import a custom java class and call my custom methods in kaleo designer actions?
Basically yes, however some of the work needs to be done. You need to extend default BeanLocator to inject your custom classes which will be used as services. Then you will be able to use them either in workflow script or web content templates.
Follow instructions in this tutorial to achieve your goal. I found it very usefull in my case. https://www.liferay.com/web/pmesotten/blog/-/blogs/inject-any-custom-class-or-service-into-web-content-templates