@@ -12,7 +12,7 @@ type ReqHistoryProcessInstanceQuery struct {
12
12
// Filter by process instance id.
13
13
ProcessInstanceId * string `json:"processInstanceId"`
14
14
// Filter by a list of process instance ids. Must be a JSON array of Strings.
15
- ProcessInstanceIds * []string `json:"processInstanceIds"`
15
+ ProcessInstanceIds []string `json:"processInstanceIds"`
16
16
// Filter by process instance business key.
17
17
BusinessKey * string `json:"processInstanceBusinessKey"`
18
18
// Filter by process instance business key that the parameter is a substring of.
@@ -25,10 +25,10 @@ type ReqHistoryProcessInstanceQuery struct {
25
25
ProcessDefinitionKey * string `json:"processDefinitionKey"`
26
26
// Filter by a list of process definition keys. A process instance must have one of the
27
27
// given process definition keys. Must be a JSON array of Strings.
28
- ProcessDefinitionKeyIn * []string `json:"processDefinitionKeyIn"`
28
+ ProcessDefinitionKeyIn []string `json:"processDefinitionKeyIn"`
29
29
// Exclude instances by a list of process definition keys. A process instance must not have one of the
30
30
// given process definition keys. Must be a JSON array of Strings.
31
- ProcessDefinitionKeyNotIn * []string `json:"processDefinitionKeyNotIn"`
31
+ ProcessDefinitionKeyNotIn []string `json:"processDefinitionKeyNotIn"`
32
32
// Filter by the name of the process definition the instances run on.
33
33
ProcessDefinitionName * string `json:"processDefinitionName"`
34
34
// Filter by process definition names that the parameter is a substring of.
@@ -75,21 +75,21 @@ type ReqHistoryProcessInstanceQuery struct {
75
75
IncidentMessageLike * string `json:"incidentMessageLike"`
76
76
// Filter by a list of tenant ids. A process instance must have one of the given tenant ids.
77
77
// Must be a JSON array of Strings.
78
- TenantIdIn * []string `json:"tenantIdIn"`
78
+ TenantIdIn []string `json:"tenantIdIn"`
79
79
// Only include process instances which belong to no tenant. Value may only be true, as false is the default behavior.
80
80
WithoutTenantId * bool `json:"withoutTenantId"`
81
81
// Filter by a list of activity ids. A process instance must currently wait in a leaf activity with one of the given activity ids.
82
- ActivityIdIn * []string `json:"activityIdIn"`
82
+ ActivityIdIn []string `json:"activityIdIn"`
83
83
// Restrict to instance that executed an activity with one of given ids.
84
- ExecutedActivityIdIn * []string `json:"executedActivityIdIn"`
84
+ ExecutedActivityIdIn []string `json:"executedActivityIdIn"`
85
85
// Restrict the query to all process instances that are top level process instances.
86
86
RootProcessInstances * bool `json:"rootProcessInstances"`
87
87
// Restrict the query to all process instances that are leaf instances. (i.e. don't have any sub instances)
88
88
LeafProcessInstances * bool `json:"leafProcessInstances"`
89
89
// Only include process instances which process definition has no tenant id.
90
90
ProcessDefinitionWithoutTenantId * bool `json:"processDefinitionWithoutTenantId"`
91
91
// A JSON array to only include process instances that have variables with certain values.
92
- Variables * []ReqProcessVariableQuery `json:"variables"`
92
+ Variables []ReqProcessVariableQuery `json:"variables"`
93
93
// Match all variable names in this query case-insensitively.
94
94
// If set to true variable-Name and variable-name are treated as equal.
95
95
VariableNamesIgnoreCase * bool `json:"variableNamesIgnoreCase"`
@@ -100,11 +100,11 @@ type ReqHistoryProcessInstanceQuery struct {
100
100
// A process instance matches a nested query if it fulfills at least one of the query's predicates.
101
101
// With multiple nested queries, a process instance must fulfill at least one predicate of each query.
102
102
// All process instance query properties can be used except for: sorting.
103
- OrQueries * []ReqProcessInstanceQuery `json:"orQueries"`
103
+ OrQueries []ReqProcessInstanceQuery `json:"orQueries"`
104
104
// A JSON array of criteria to sort the result by.
105
105
// Each element of the array is a JSON object that specifies one ordering.
106
106
// The position in the array identifies the rank of an ordering, i.e., whether it is primary, secondary, etc.
107
- Sorting * []ReqSort `json:"sorting"`
107
+ Sorting []ReqSort `json:"sorting"`
108
108
// Restrict to instance that was started before the given date.
109
109
// By default, the date must have the format yyyy-MM-dd'T'HH:mm:ss.SSSZ, e.g., 2013-01-23T14:42:45.000+0200.
110
110
StartedBefore * string `json:"startedBefore"`
@@ -135,7 +135,7 @@ type ReqHistoryProcessInstanceQuery struct {
135
135
// or an empty request body)
136
136
type ReqHistoryDeleteProcessInstance struct {
137
137
// A list process instance ids to delete.
138
- HistoricProcessInstanceIds * []string `json:"historicProcessInstanceIds,omitempty"`
138
+ HistoricProcessInstanceIds []string `json:"historicProcessInstanceIds,omitempty"`
139
139
// A process instance query
140
140
HistoricProcessInstanceQuery * ReqProcessInstanceQuery `json:"historicProcessInstanceQuery,omitempty"`
141
141
// A string with delete reason.
@@ -149,15 +149,15 @@ type ReqHistoryVariableInstanceQuery struct {
149
149
VariableNameLike * string `json:"variableNameLike"`
150
150
VariableValue interface {} `json:"variableValue"`
151
151
ProcessInstanceId * string `json:"processInstanceId"`
152
- ProcessInstanceIdIn * []string `json:"processInstanceIdIn"`
152
+ ProcessInstanceIdIn []string `json:"processInstanceIdIn"`
153
153
ProcessDefinitionId * string `json:"process_definition_id"`
154
- ExecutionIdIn * []string `json:"executionIdIn"`
154
+ ExecutionIdIn []string `json:"executionIdIn"`
155
155
CaseInstanceId * string `json:"caseInstanceId"`
156
- CaseExecutionIdIn * []string `json:"caseExecutionIdIn"`
157
- CaseActivityIdIn * []string `json:"caseActivityIdIn"`
158
- TaskIdIn * []string `json:"taskIdIn"`
159
- ActivityInstanceIdIn * []string `json:"activityInstanceIdIn"`
160
- TenantIdIn * []string `json:"tenantIdIn"`
156
+ CaseExecutionIdIn []string `json:"caseExecutionIdIn"`
157
+ CaseActivityIdIn []string `json:"caseActivityIdIn"`
158
+ TaskIdIn []string `json:"taskIdIn"`
159
+ ActivityInstanceIdIn []string `json:"activityInstanceIdIn"`
160
+ TenantIdIn []string `json:"tenantIdIn"`
161
161
}
162
162
163
163
// ResHistoryProcessInstance a response object for process instance
0 commit comments