I'm working on a workflow project with activiti and i want to create a BPMN model from java without using activiti tools. for example i have 2 tasks in a model after some operation i want to update that model and add other tasks so i need to generate that from code but i can't figure that out any help ?
Solved! Go to Solution.
Check if this is of any help: GitHub - frederikheremans/activiti-dynamic-process: Activiti dynamic process example
This example is building a process model via Java code.
Check if this is of any help: GitHub - frederikheremans/activiti-dynamic-process: Activiti dynamic process example
This example is building a process model via Java code.
Thanks
Hey again , is there any helpful doc where i can find how to create object such as ExclusiveGateway , EndEvent ... using java
Very helpful example,
thanks
Is there any example doc for Add TaskListener to UserTask..?
This is my code and it has run time errors
SyntaxEditor Code Snippet
UserTask userTask = new UserTask(); ActivitiListener activitiListener = new ActivitiListener(); activitiListener.setEvent( TaskListener.EVENTNAME_COMPLETE ); activitiListener.setImplementation( ImplementationType.IMPLEMENTATION_TYPE_CLASS ); activitiListener.setImplementation( "<my_package>.TestTaskListener" ); userTask.getTaskListeners().add( activitiListener );
And Error
org.activiti.engine.ActivitiException: Errors while parsing:
[Validation set: 'activiti-executable-process' | Problem: 'activiti-usertask-listener-implementation-missing'] : Element 'class' or 'expression' is mandatory on executionListener - [Extra info : processDefinitionId = my-process | processDefinitionName = my dynamic process | | id = task1 | | activityName = First task | ] ( line: 6, column: 74)
Any one familiar with this, Please help
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.