spring - Deploying dynamically created BPMN model using Activiti REST API -


i new activiti. working on project in should able create process dynamically using spring mvc. have come acrossed http://stacktrace.be/blog/2013/03/dynamic-process-creation-and-deployment-in-100-lines/

is possible deploy dynamically created process using rest api directly or should create bpmn-20.xml , deploy it. there example creating complex process such using boundary events dynamically.

thanks

it possible through endpoint /activiti-rest/service/deployment! please check this forum thread further infos + sample code.

you not have create file on disk, simulate inputstream of sort:

multipartentitybuilder builder = multipartentitybuilder.create(); builder.addbinarybody("deployment", new bytearrayinputstream((<put-something-here>).tobytearray()), contenttype.default_binary,"test.bpmn20.xml") 

Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -