All URIs are relative to https://adfdev.envalfresco.com/activiti-app/api
Method | HTTP request | Description |
---|---|---|
getHistoricProcessModelBpmn20Xml | GET /enterprise/models/{processModelId}/history/{processModelHistoryId}/bpmn20 | Export a historic version of a process definition as BPMN 2.0 XML |
getProcessModelBpmn20Xml | GET /enterprise/models/{processModelId}/bpmn20 | Export a process definition as BPMN 2.0 XML |
getHistoricProcessModelBpmn20Xml(processModelIdprocessModelHistoryId)
Export a historic version of a process definition as BPMN 2.0 XML
import ModelsbpmnApi from 'ModelsbpmnApi';
import { AlfrescoApi } from 'alfresco-js-api';
this.alfrescoApi = new AlfrescoApi();
this.alfrescoApi.setConfig({
hostEcm: 'http://127.0.0.1:8080'
});
let modelsbpmnApi = new ModelsbpmnApi(this.alfrescoApi);
modelsbpmnApi.getHistoricProcessModelBpmn20Xml(processModelIdprocessModelHistoryId).then(() => {
console.log('API called successfully.');
}, function(error) {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
processModelId | number | processModelId | |
processModelHistoryId | number | processModelHistoryId |
null (empty response body)
getProcessModelBpmn20Xml(processModelId)
Export a process definition as BPMN 2.0 XML
import ModelsbpmnApi from 'ModelsbpmnApi';
import { AlfrescoApi } from 'alfresco-js-api';
this.alfrescoApi = new AlfrescoApi();
this.alfrescoApi.setConfig({
hostEcm: 'http://127.0.0.1:8080'
});
let modelsbpmnApi = new ModelsbpmnApi(this.alfrescoApi);
modelsbpmnApi.getProcessModelBpmn20Xml(processModelId).then(() => {
console.log('API called successfully.');
}, function(error) {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
processModelId | number | processModelId |
null (empty response body)