Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
Kaleo Workflow and classloading
Dear All,
I have a custom workflow Handler for my custom entity and it works well.
I am trying to implement a condition in my Kaleo workflow (<condition>...</condition>) which will automatically determine next step from some tests that I need to execute based on my custom service results. But my custom services are not visible.
I tried the service tracker and the xxxLocalServiceUtil but in both case, it ends up with something which doesnt work (ClassNotFound or method doesn't exist).
I understand this is a classloader issue. I assume Kaleo executes in its own classloader which doesn't include my custom services.
How can I manage my requirement ?
Thank you,
I have a custom workflow Handler for my custom entity and it works well.
I am trying to implement a condition in my Kaleo workflow (<condition>...</condition>) which will automatically determine next step from some tests that I need to execute based on my custom service results. But my custom services are not visible.
I tried the service tracker and the xxxLocalServiceUtil but in both case, it ends up with something which doesnt work (ClassNotFound or method doesn't exist).
I understand this is a classloader issue. I assume Kaleo executes in its own classloader which doesn't include my custom services.
How can I manage my requirement ?
Thank you,
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™