I am trying to deploy a bpmn file through REST API and I am following the steps mentioned here - Activiti User Guide
I have been able to successfully deploy the bpmn file however, I do not see a way to add "category" to the deployment through the REST call. The REST service completely ignores the category parameter I send. The reason I say it ignores the category is because I am sending 2 parameters: tenantId as "sampleTenant" and category as "sampleCategory". The service returns the following response
{ "id": "7657", "name": "activiti-sample.bmpn", "deploymentTime": "2017-07-13T14:54:26.750+02:00", "category": null, "url": "http://myserver:8081/service/repository/deployments/7657", "tenantId" : "sampleTenant"}
So it has completely ignored the category parameter that I have sent since it does not give any errors.
Is there a way to pass in "category" while deploying through REST API?
Thanks.
Did you resolve this problem? How did you resolve? I also have the problem.
Yolanda Wong Ebenezer Samuel
I adde the category parameter to deployment rest resource in the following pull requests.
You can use the category parameter by building 5.x or 6.x branch and using each jar.
Ok, I know. Thank you very much!
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.