Activiti-rest deployment compression package has no process definition

cancel
Showing results for 
Search instead for 
Did you mean: 
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
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?

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?

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?

Alfresco Employee

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

How are you deploying the process definition?

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.

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?

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

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

Do you get any response when calling 

GET repository/process-definitions
Member II

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

no,Did not increase