I thought it was because I deployed the same file, but no, I deleted all the deployed files, and then deployed the compression package in a rest way, but the process definition was not there.
I didn't understand your issue can you provide more info? What do you mean by Activiti Rest deployment compression package? And where do you expect to find the process definitions?
I mean, I deploy BPMN files, will increase a process definition, but if I deploy with BPMN, PNG zip file, process definition doesn't increase, there is no process definition, I cannot start a process instance, then you can understand what I mean?
I mean, I deploy BPMN files, will increase a process definition, but if I deploy with BPMN, PNG zip file, process definition doesn't increase, there is no process definition, I cannot start a process instance, then you can understand what I mean?
How are you deploying the process definition?
Upload a file to the url of the restapi via a form without returning an error.
What endpoint did you use ? This one Activiti User Guide ? Are you seeing the response?
response:
{"id":"12501","name":"demo2.zip","deploymentTime":"2018-07-12T09:01:56.313+08:00","category":null,"url":"http://localhost:8888/activiti-rest/service/repository/deployments/12501","tenantId":""}
code:
<form action="http://localhost:8888/activiti-rest/service/repository/deployments" method="post" enctype="multipart/form-data">
<input type="file" name="file" />
<input type="submit" />
</form>
Do you get any response when calling
GET repository/process-definitions
no,Did not increase
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.