Hi,
I would like to parse or convert bpmn.xml file into Java Object. Hence In workflows when we are passing from one task to another task, will carry the Java object state and use in custom java classes.
Is there any API to convert bpmn.xml file into Java Object?
Regards
Venkat.
Perhaps this test in the engine would be of help to you Activiti/RepositoryServiceTest.java at develop · Activiti/Activiti · GitHub ? I am guessing that what you mean is that you want to inspect the process definition from within your process instance?
Perhaps one of Activiti/DeploymentQueryTest.java at develop · Activiti/Activiti · GitHub or Activiti/ProcessDefinitionQueryTest.java at develop · Activiti/Activiti · GitHub could also be helpful. I'm not sure what you mean about carrying the java object state. Perhaps you mean that you want trigger execution of the steps of the process? If so then you need to use the runtimeService and the taskService too. It might help if you could post your process definition if you have it. Perhaps one of the examples featured in Articles and Blogs on Activiti · Activiti/Activiti Wiki · GitHub could be helpful? Are you using the spring boot starter like http://www.baeldung.com/spring-activiti or just java like http://www.baeldung.com/java-activiti or the v6 kickstart app http://www.baeldung.com/activiti-kickstart-and-rest-apps ?
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.