Activiti-rest deployment compression package has no process definition

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Member II

Activiti-rest deployment compression package has no process definition

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.

10 Replies
Highlighted
Alfresco Employee

Re: Activiti-rest deployment compression package has no process definition

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?

Highlighted
Member II

Re: Activiti-rest deployment compression package has no process definition

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?

Highlighted
Member II

Re: Activiti-rest deployment compression package has no process definition

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?

Highlighted
Alfresco Employee

Re: Activiti-rest deployment compression package has no process definition

How are you deploying the process definition?

Highlighted
Member II

Re: Activiti-rest deployment compression package has no process definition

Upload a file to the url of the restapi via a form without returning an error.

Highlighted
Alfresco Employee

Re: Activiti-rest deployment compression package has no process definition

What endpoint did you use ? This one Activiti User Guide  ? Are you seeing the response?

Highlighted
Member II

Re: Activiti-rest deployment compression package has no process definition

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>
Highlighted
Alfresco Employee

Re: Activiti-rest deployment compression package has no process definition

Do you get any response when calling 

GET repository/process-definitions
Highlighted
Member II

Re: Activiti-rest deployment compression package has no process definition

no,Did not increase