As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
I want to deploy a BPMN workflow in an Activiti 7 cloud service. In an Activiti 6 server, I can do this by its REST API:
POST repository/deployments
Hi,
Did you tried with User Interface?
https://hub.alfresco.com/t5/alfresco-process-services/activiti-7-deep-dive-series-deploying-and-running-a-business/ba-p/288347#toc-hId-347178409
Hi Sanjay,
I read the article but did not find how to deploy the workflow by the REST API.
I saw how to deploy the engine and how to get the predefined process definitions by the REST API, but no workflow deployment. Did I miss anything?
And I saw the CI/CD demo video in the activiti.org and another Deep Dive Series. Both of them rebuild and redeploy the runtime engine every time they create a new workflow. That is not what I want.
Thanks,
Charles Sun
Hi chsun,
That's exactly what I need to do in Activiti 6, which is to deploy dynamically new XML workflows without redeploying the whole runtime engine could you please tell me how did you manage to do it?
Hi @chsun
I don't there's any rest api to deploy the model again, with activiti-7 you'll have to deploy it by restarting your server. but there are apis to connect with the runtime bundle, you can see the model deployed but you cannot modify it. source
Hope that helps.
@Widad_Dek create a deployment with the pocess xml as input - https://www.activiti.org/userguide/#_create_a_new_deployment
Hope it helps.
I see. I am curious why the api was removed from activiti 7.
Best Regards,