cancel
Showing results for 
Search instead for 
Did you mean: 

How to deploy a model designed with Activiti explorer via API Rest

hop-pablo
Champ in-the-making
Champ in-the-making
Hello, I am trying to deploy a model that I have created using Activiti explorer designer tool. Now I need to deploy it using REST interface but I don't know how to do it. I have read the REST guide but only file deployment is explained. How can I deploy an existing model?

This is my model list:


{
    "data": [
        {
            "name": "Demo model",
            "key": null,
            "category": null,
            "version": 1,
            "metaInfo": "{\"name\":\"Demo model\",\"description\":\"This is a demo model\"}",
            "deploymentId": null,
            "tenantId": "",
            "id": "37",
            "url": "http://localhost:8080/activiti-rest/service/repository/models/37",
            "createTime": "2015-09-25T11:06:29.000+02:00",
            "lastUpdateTime": "2015-09-25T11:06:29.000+02:00",
            "deploymentUrl": null,
            "sourceUrl": "http://localhost:8080/activiti-rest/service/repository/models/37/source",
            "sourceExtraUrl": "http://localhost:8080/activiti-rest/service/repository/models/37/source-extra"
        },
        {
            "name": "Hop Sensor Alert Manager",
            "key": null,
            "category": null,
            "version": 1,
            "metaInfo": "{\"name\":\"Hop Sensor Alert Manager\",\"revision\":1,\"description\":\"\"}",
            "deploymentId": null,
            "tenantId": "",
            "id": "3897",
            "url": "http://localhost:8080/activiti-rest/service/repository/models/3897",
            "createTime": "2015-09-25T11:10:52.000+02:00",
            "lastUpdateTime": "2015-09-25T11:13:53.000+02:00",
            "deploymentUrl": null,
            "sourceUrl": "http://localhost:8080/activiti-rest/service/repository/models/3897/source",
            "sourceExtraUrl": "http://localhost:8080/activiti-rest/service/repository/models/3897/source-extra"
        }
    ],
    "total": 2,
    "start": 0,
    "sort": "id",
    "order": "asc",
    "size": 2



Thanks a lot
1 REPLY 1

minhquankq
Champ in-the-making
Champ in-the-making
Now a have the same problem, have you resolved it?