07-28-2017 05:50 AM
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.
02-01-2018 02:23 AM
Did you resolve this problem? How did you resolve? I also have the problem.
02-04-2018 08:07 PM
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.
02-04-2018 11:00 PM
Ok, I know. Thank you very much!
Explore our Alfresco products with the links below. Use labels to filter content by product module.