All URIs are relative to https://adfdev.envalfresco.com/activiti-app/api
Method | HTTP request | Description |
---|---|---|
getAuditTrail | GET /enterprise/decisions/audits/{auditTrailId} | Get an audit trail |
getAuditTrails | GET /enterprise/decisions/audits | Query decision table audit trails |
DecisionAuditRepresentation getAuditTrail(auditTrailId)
Get an audit trail
import DecisionauditsApi from 'DecisionauditsApi';
import { AlfrescoApi } from 'alfresco-js-api';
this.alfrescoApi = new AlfrescoApi();
this.alfrescoApi.setConfig({
hostEcm: 'http://127.0.0.1:8080'
});
let decisionauditsApi = new DecisionauditsApi(this.alfrescoApi);
decisionauditsApi.getAuditTrail(auditTrailId).then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
auditTrailId | number | auditTrailId |
ResultListDataRepresentationDecisionAuditRepresentation getAuditTrails(decisionKeydmnDeploymentId)
Query decision table audit trails
import DecisionauditsApi from 'DecisionauditsApi';
import { AlfrescoApi } from 'alfresco-js-api';
this.alfrescoApi = new AlfrescoApi();
this.alfrescoApi.setConfig({
hostEcm: 'http://127.0.0.1:8080'
});
let decisionauditsApi = new DecisionauditsApi(this.alfrescoApi);
decisionauditsApi.getAuditTrails(decisionKeydmnDeploymentId).then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
decisionKey | string | decisionKey | |
dmnDeploymentId | number | dmnDeploymentId |