All URIs are relative to https://localhost:9080/activiti-app/api
Method | HTTP request | Description |
---|---|---|
createIdentityLinkUsingPOST | POST /enterprise/process-definitions/{processDefinitionId}/identitylinks | Add a user or group involvement to a process definition |
deleteIdentityLinkUsingDELETE | DELETE /enterprise/process-definitions/{processDefinitionId}/identitylinks/{family}/{identityId} | Remove a user or group involvement from a process definition |
getIdentityLinkTypeUsingGET | GET /enterprise/process-definitions/{processDefinitionId}/identitylinks/{family}/{identityId} | Get a user or group involvement with a process definition |
getIdentityLinksForFamilyUsingGET | GET /enterprise/process-definitions/{processDefinitionId}/identitylinks/{family} | List either the users or groups involved with a process definition |
getIdentityLinksUsingGET | GET /enterprise/process-definitions/{processDefinitionId}/identitylinks | List the users and groups involved with a process definition |
getProcessDefinitionDecisionTablesUsingGET | GET /enterprise/process-definitions/{processDefinitionId}/decision-tables | List the decision tables associated with a process definition |
getProcessDefinitionFormsUsingGET | GET /enterprise/process-definitions/{processDefinitionId}/forms | List the forms associated with a process definition |
getProcessDefinitionStartFormUsingGET | GET /enterprise/process-definitions/{processDefinitionId}/start-form | Retrieve the start form for a process definition |
getProcessDefinitionsUsingGET | GET /enterprise/process-definitions | Retrieve a list of process definitions |
getRestFieldValuesUsingGET | GET /enterprise/process-definitions/{processDefinitionId}/start-form-values/{field} | Retrieve field values (eg. the typeahead field) |
getRestTableFieldValuesUsingGET | GET /enterprise/process-definitions/{processDefinitionId}/start-form-values/{field}/{column} | Retrieve field values (eg. the table field) |
IdentityLinkRepresentation createIdentityLinkUsingPOST(processDefinitionId, identityLinkRepresentation)
Add a user or group involvement to a process definition
// Import classes:
//import org.activiti.engine.remote.client.ApiClient;
//import org.activiti.engine.remote.client.ApiException;
//import org.activiti.engine.remote.client.Configuration;
//import org.activiti.engine.remote.client.auth.*;
//import org.activiti.engine.remote.client.api.ProcessDefinitionsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure HTTP basic authorization: basicAuth
HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
basicAuth.setUsername("YOUR USERNAME");
basicAuth.setPassword("YOUR PASSWORD");
ProcessDefinitionsApi apiInstance = new ProcessDefinitionsApi();
String processDefinitionId = "processDefinitionId_example"; // String | processDefinitionId
IdentityLinkRepresentation identityLinkRepresentation = new IdentityLinkRepresentation(); // IdentityLinkRepresentation | identityLinkRepresentation
try {
IdentityLinkRepresentation result = apiInstance.createIdentityLinkUsingPOST(processDefinitionId, identityLinkRepresentation);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ProcessDefinitionsApi#createIdentityLinkUsingPOST");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
processDefinitionId | String | processDefinitionId | |
identityLinkRepresentation | IdentityLinkRepresentation | identityLinkRepresentation |
- Content-Type: application/json
- Accept: application/json
deleteIdentityLinkUsingDELETE(processDefinitionId, family, identityId)
Remove a user or group involvement from a process definition
// Import classes:
//import org.activiti.engine.remote.client.ApiClient;
//import org.activiti.engine.remote.client.ApiException;
//import org.activiti.engine.remote.client.Configuration;
//import org.activiti.engine.remote.client.auth.*;
//import org.activiti.engine.remote.client.api.ProcessDefinitionsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure HTTP basic authorization: basicAuth
HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
basicAuth.setUsername("YOUR USERNAME");
basicAuth.setPassword("YOUR PASSWORD");
ProcessDefinitionsApi apiInstance = new ProcessDefinitionsApi();
String processDefinitionId = "processDefinitionId_example"; // String | Process definition ID
String family = "family_example"; // String | Identity type
String identityId = "identityId_example"; // String | User or group ID
try {
apiInstance.deleteIdentityLinkUsingDELETE(processDefinitionId, family, identityId);
} catch (ApiException e) {
System.err.println("Exception when calling ProcessDefinitionsApi#deleteIdentityLinkUsingDELETE");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
processDefinitionId | String | Process definition ID | |
family | String | Identity type | [enum: users, groups] |
identityId | String | User or group ID |
null (empty response body)
- Content-Type: application/json
- Accept: application/json
IdentityLinkRepresentation getIdentityLinkTypeUsingGET(processDefinitionId, family, identityId)
Get a user or group involvement with a process definition
// Import classes:
//import org.activiti.engine.remote.client.ApiClient;
//import org.activiti.engine.remote.client.ApiException;
//import org.activiti.engine.remote.client.Configuration;
//import org.activiti.engine.remote.client.auth.*;
//import org.activiti.engine.remote.client.api.ProcessDefinitionsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure HTTP basic authorization: basicAuth
HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
basicAuth.setUsername("YOUR USERNAME");
basicAuth.setPassword("YOUR PASSWORD");
ProcessDefinitionsApi apiInstance = new ProcessDefinitionsApi();
String processDefinitionId = "processDefinitionId_example"; // String | Process definition ID
String family = "family_example"; // String | Identity type
String identityId = "identityId_example"; // String | User or group ID
try {
IdentityLinkRepresentation result = apiInstance.getIdentityLinkTypeUsingGET(processDefinitionId, family, identityId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ProcessDefinitionsApi#getIdentityLinkTypeUsingGET");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
processDefinitionId | String | Process definition ID | |
family | String | Identity type | [enum: users, groups] |
identityId | String | User or group ID |
- Content-Type: application/json
- Accept: application/json
List<IdentityLinkRepresentation> getIdentityLinksForFamilyUsingGET(processDefinitionId, family)
List either the users or groups involved with a process definition
// Import classes:
//import org.activiti.engine.remote.client.ApiClient;
//import org.activiti.engine.remote.client.ApiException;
//import org.activiti.engine.remote.client.Configuration;
//import org.activiti.engine.remote.client.auth.*;
//import org.activiti.engine.remote.client.api.ProcessDefinitionsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure HTTP basic authorization: basicAuth
HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
basicAuth.setUsername("YOUR USERNAME");
basicAuth.setPassword("YOUR PASSWORD");
ProcessDefinitionsApi apiInstance = new ProcessDefinitionsApi();
String processDefinitionId = "processDefinitionId_example"; // String | processDefinitionId
String family = "family_example"; // String | Identity type
try {
List<IdentityLinkRepresentation> result = apiInstance.getIdentityLinksForFamilyUsingGET(processDefinitionId, family);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ProcessDefinitionsApi#getIdentityLinksForFamilyUsingGET");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
processDefinitionId | String | processDefinitionId | |
family | String | Identity type | [enum: users, groups] |
List<IdentityLinkRepresentation>
- Content-Type: application/json
- Accept: application/json
List<IdentityLinkRepresentation> getIdentityLinksUsingGET(processDefinitionId)
List the users and groups involved with a process definition
// Import classes:
//import org.activiti.engine.remote.client.ApiClient;
//import org.activiti.engine.remote.client.ApiException;
//import org.activiti.engine.remote.client.Configuration;
//import org.activiti.engine.remote.client.auth.*;
//import org.activiti.engine.remote.client.api.ProcessDefinitionsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure HTTP basic authorization: basicAuth
HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
basicAuth.setUsername("YOUR USERNAME");
basicAuth.setPassword("YOUR PASSWORD");
ProcessDefinitionsApi apiInstance = new ProcessDefinitionsApi();
String processDefinitionId = "processDefinitionId_example"; // String | processDefinitionId
try {
List<IdentityLinkRepresentation> result = apiInstance.getIdentityLinksUsingGET(processDefinitionId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ProcessDefinitionsApi#getIdentityLinksUsingGET");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
processDefinitionId | String | processDefinitionId |
List<IdentityLinkRepresentation>
- Content-Type: application/json
- Accept: application/json
ResultListDataRepresentationRuntimeDecisionTableRepresentation getProcessDefinitionDecisionTablesUsingGET(processDefinitionId)
List the decision tables associated with a process definition
// Import classes:
//import org.activiti.engine.remote.client.ApiClient;
//import org.activiti.engine.remote.client.ApiException;
//import org.activiti.engine.remote.client.Configuration;
//import org.activiti.engine.remote.client.auth.*;
//import org.activiti.engine.remote.client.api.ProcessDefinitionsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure HTTP basic authorization: basicAuth
HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
basicAuth.setUsername("YOUR USERNAME");
basicAuth.setPassword("YOUR PASSWORD");
ProcessDefinitionsApi apiInstance = new ProcessDefinitionsApi();
String processDefinitionId = "processDefinitionId_example"; // String | processDefinitionId
try {
ResultListDataRepresentationRuntimeDecisionTableRepresentation result = apiInstance.getProcessDefinitionDecisionTablesUsingGET(processDefinitionId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ProcessDefinitionsApi#getProcessDefinitionDecisionTablesUsingGET");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
processDefinitionId | String | processDefinitionId |
ResultListDataRepresentationRuntimeDecisionTableRepresentation
- Content-Type: application/json
- Accept: application/json
ResultListDataRepresentationRuntimeFormRepresentation getProcessDefinitionFormsUsingGET(processDefinitionId)
List the forms associated with a process definition
// Import classes:
//import org.activiti.engine.remote.client.ApiClient;
//import org.activiti.engine.remote.client.ApiException;
//import org.activiti.engine.remote.client.Configuration;
//import org.activiti.engine.remote.client.auth.*;
//import org.activiti.engine.remote.client.api.ProcessDefinitionsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure HTTP basic authorization: basicAuth
HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
basicAuth.setUsername("YOUR USERNAME");
basicAuth.setPassword("YOUR PASSWORD");
ProcessDefinitionsApi apiInstance = new ProcessDefinitionsApi();
String processDefinitionId = "processDefinitionId_example"; // String | processDefinitionId
try {
ResultListDataRepresentationRuntimeFormRepresentation result = apiInstance.getProcessDefinitionFormsUsingGET(processDefinitionId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ProcessDefinitionsApi#getProcessDefinitionFormsUsingGET");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
processDefinitionId | String | processDefinitionId |
ResultListDataRepresentationRuntimeFormRepresentation
- Content-Type: application/json
- Accept: application/json
FormDefinitionRepresentation getProcessDefinitionStartFormUsingGET()
Retrieve the start form for a process definition
// Import classes:
//import org.activiti.engine.remote.client.ApiClient;
//import org.activiti.engine.remote.client.ApiException;
//import org.activiti.engine.remote.client.Configuration;
//import org.activiti.engine.remote.client.auth.*;
//import org.activiti.engine.remote.client.api.ProcessDefinitionsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure HTTP basic authorization: basicAuth
HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
basicAuth.setUsername("YOUR USERNAME");
basicAuth.setPassword("YOUR PASSWORD");
ProcessDefinitionsApi apiInstance = new ProcessDefinitionsApi();
try {
FormDefinitionRepresentation result = apiInstance.getProcessDefinitionStartFormUsingGET();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ProcessDefinitionsApi#getProcessDefinitionStartFormUsingGET");
e.printStackTrace();
}
This endpoint does not need any parameter.
- Content-Type: application/json
- Accept: application/json
ResultListDataRepresentationProcessDefinitionRepresentation getProcessDefinitionsUsingGET(latest, appDefinitionId, deploymentId)
Retrieve a list of process definitions
Get a list of process definitions (visible within the tenant of the user)
// Import classes:
//import org.activiti.engine.remote.client.ApiClient;
//import org.activiti.engine.remote.client.ApiException;
//import org.activiti.engine.remote.client.Configuration;
//import org.activiti.engine.remote.client.auth.*;
//import org.activiti.engine.remote.client.api.ProcessDefinitionsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure HTTP basic authorization: basicAuth
HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
basicAuth.setUsername("YOUR USERNAME");
basicAuth.setPassword("YOUR PASSWORD");
ProcessDefinitionsApi apiInstance = new ProcessDefinitionsApi();
Boolean latest = true; // Boolean | latest
Long appDefinitionId = 789L; // Long | appDefinitionId
String deploymentId = "deploymentId_example"; // String | deploymentId
try {
ResultListDataRepresentationProcessDefinitionRepresentation result = apiInstance.getProcessDefinitionsUsingGET(latest, appDefinitionId, deploymentId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ProcessDefinitionsApi#getProcessDefinitionsUsingGET");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
latest | Boolean | latest | [optional] |
appDefinitionId | Long | appDefinitionId | [optional] |
deploymentId | String | deploymentId | [optional] |
ResultListDataRepresentationProcessDefinitionRepresentation
- Content-Type: application/json
- Accept: application/json
List<FormValueRepresentation> getRestFieldValuesUsingGET()
Retrieve field values (eg. the typeahead field)
// Import classes:
//import org.activiti.engine.remote.client.ApiClient;
//import org.activiti.engine.remote.client.ApiException;
//import org.activiti.engine.remote.client.Configuration;
//import org.activiti.engine.remote.client.auth.*;
//import org.activiti.engine.remote.client.api.ProcessDefinitionsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure HTTP basic authorization: basicAuth
HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
basicAuth.setUsername("YOUR USERNAME");
basicAuth.setPassword("YOUR PASSWORD");
ProcessDefinitionsApi apiInstance = new ProcessDefinitionsApi();
try {
List<FormValueRepresentation> result = apiInstance.getRestFieldValuesUsingGET();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ProcessDefinitionsApi#getRestFieldValuesUsingGET");
e.printStackTrace();
}
This endpoint does not need any parameter.
- Content-Type: application/json
- Accept: application/json
List<FormValueRepresentation> getRestTableFieldValuesUsingGET()
Retrieve field values (eg. the table field)
// Import classes:
//import org.activiti.engine.remote.client.ApiClient;
//import org.activiti.engine.remote.client.ApiException;
//import org.activiti.engine.remote.client.Configuration;
//import org.activiti.engine.remote.client.auth.*;
//import org.activiti.engine.remote.client.api.ProcessDefinitionsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure HTTP basic authorization: basicAuth
HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
basicAuth.setUsername("YOUR USERNAME");
basicAuth.setPassword("YOUR PASSWORD");
ProcessDefinitionsApi apiInstance = new ProcessDefinitionsApi();
try {
List<FormValueRepresentation> result = apiInstance.getRestTableFieldValuesUsingGET();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ProcessDefinitionsApi#getRestTableFieldValuesUsingGET");
e.printStackTrace();
}
This endpoint does not need any parameter.
- Content-Type: application/json
- Accept: application/json