I am trying creating custom workflow in Alfresco through Jbpm. The simple workflows are working but I am stuck with some complex workflow. I want to embed my own custom java code in the workflow and I don know how to make a custom java class for that. Could anybody tell me how to create a custom java class to get the session of alfresco and do any type of operation in any of the task of the workflow.
I am a beginner in Alfresco. I have jus installed Alfresco SDK and started working on that I can execute a sample program of Alfresco SDK. Now I want to build some complex workflow through jbpm so I want to add auto activity for that I need sample code to run that workflow.