I'm writing a process to generate the PDF and it works fine. Now, at the end or in the middle of the process, i would like to execute/write a java code then it will be invoked when the process running. Assume not using web service, is there another way? samples how to write custom code?
The Execute Script service allows you to execute java code on a particular step.
A more robust solution would be to create a custom component for your custom code.