07-10-2018 04:20 AM
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.
07-11-2018 10:30 AM
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?
07-11-2018 10:37 AM
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?
07-11-2018 10:45 AM
How are you deploying the process definition?
07-11-2018 10:48 AM
Upload a file to the url of the restapi via a form without returning an error.
07-11-2018 12:01 PM
What endpoint did you use ? This one Activiti User Guide ? Are you seeing the response?
07-11-2018 09:09 PM
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>
07-12-2018 05:51 AM
Do you get any response when calling
GET repository/process-definitions
07-12-2018 08:58 PM
no,Did not increase
07-13-2018 04:52 AM
Can you add the zip file you trying to deploy here?
Explore our Alfresco products with the links below. Use labels to filter content by product module.