cancel
Showing results for 
Search instead for 
Did you mean: 

Activiti-rest deployment compression package has no process definition

903389036
Champ in-the-making
Champ in-the-making

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 10

bassam_al-saror
Star Collaborator
Star Collaborator

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?

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

Can you add the zip file you trying to deploy here?

Getting started

Explore our Alfresco products with the links below. Use labels to filter content by product module.