-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFlowable.yaml
4735 lines (4729 loc) · 120 KB
/
Flowable.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
---
swagger: '2.0'
info:
description: "# flowable / flowəb(ə)l /\r\n\r\n- a compact and highly efficient
workflow and Business Process Management (BPM) platform for developers, system
admins and business users.\r\n- a lightning fast, tried and tested BPMN 2 process
engine written in Java. It is Apache 2.0 licensed open source, with a committed
community.\r\n- can run embedded in a Java application, or as a service on a server,
a cluster, and in the cloud. It integrates perfectly with Spring. With a rich
Java and REST API, it is the ideal engine for orchestrating human or system activities."
version: v1
title: Flowable REST API
contact:
name: Flowable
url: http://www.flowable.org/
license:
name: Apache 2.0
url: http://www.apache.org/licenses/LICENSE-2.0.html
basePath: "/flowable-rest/service"
tags:
- name: Process Definitions
- name: Process Instances
- name: Tasks
- name: History Process
schemes:
- http
- https
paths:
"/repository/process-definitions":
get:
tags:
- Process Definitions
summary: List of process definitions
description: ''
operationId: listProcessDefinitions
produces:
- application/json
parameters:
- name: version
in: query
description: Only return process definitions with the given version.
required: false
type: integer
- name: name
in: query
description: Only return process definitions with the given name.
required: false
type: string
- name: nameLike
in: query
description: Only return process definitions with a name like the given name.
required: false
type: string
- name: nameLikeIgnoreCase
in: query
description: Only return process definitions with a name like the given name
ignoring case.
required: false
type: string
- name: key
in: query
description: Only return process definitions with the given key.
required: false
type: string
- name: keyLike
in: query
description: Only return process definitions with a name like the given key.
required: false
type: string
- name: resourceName
in: query
description: Only return process definitions with the given resource name.
required: false
type: string
- name: resourceNameLike
in: query
description: Only return process definitions with a name like the given resource
name.
required: false
type: string
- name: category
in: query
description: Only return process definitions with the given category.
required: false
type: string
- name: categoryLike
in: query
description: Only return process definitions with a category like the given
name.
required: false
type: string
- name: categoryNotEquals
in: query
description: Only return process definitions which do not have the given category.
required: false
type: string
- name: deploymentId
in: query
description: Only return process definitions which are part of a deployment
with the given deployment id.
required: false
type: string
- name: parentDeploymentId
in: query
description: Only return process definitions which are part of a deployment
with the given parent deployment id.
required: false
type: string
- name: startableByUser
in: query
description: Only return process definitions which are part of a deployment
with the given id.
required: false
type: string
- name: latest
in: query
description: Only return the latest process definition versions. Can only
be used together with key and keyLike parameters, using any other parameter
will result in a 400-response.
required: false
type: boolean
- name: suspended
in: query
description: If true, only returns process definitions which are suspended.
If false, only active process definitions (which are not suspended) are
returned.
required: false
type: boolean
- name: sort
in: query
description: Property to sort on, to be used together with the order.
required: false
type: string
enum:
- name
- id
- key
- category
- deploymentId
- version
responses:
'200':
description: Indicates request was successful and the process-definitions
are returned
schema:
"$ref": "#/definitions/DataResponseProcessDefinitionResponse"
'400':
description: Indicates a parameter was passed in the wrong format or that
latest is used with other parameters other than key and keyLike. The status-message
contains additional information.
security:
- basicAuth: []
"/repository/process-definitions/{processDefinitionId}":
get:
tags:
- Process Definitions
summary: Get a process definition
description: ''
operationId: getProcessDefinition
produces:
- application/json
parameters:
- name: processDefinitionId
in: path
required: true
type: string
responses:
'200':
description: Indicates request was successful and the process-definitions
are returned
schema:
"$ref": "#/definitions/ProcessDefinitionResponse"
'404':
description: Indicates the requested process definition was not found.
security:
- basicAuth: []
put:
tags:
- Process Definitions
summary: Execute actions for a process definition
description: Execute actions for a process definition (Update category, Suspend
or Activate)
operationId: executeProcessDefinitionAction
produces:
- application/json
parameters:
- name: processDefinitionId
in: path
required: true
type: string
- in: body
name: body
required: true
schema:
"$ref": "#/definitions/ProcessDefinitionActionRequest"
responses:
'200':
description: Indicates action has been executed for the specified process.
(category altered, activate or suspend)
schema:
"$ref": "#/definitions/ProcessDefinitionResponse"
'400':
description: Indicates no category was defined in the request body.
'404':
description: Indicates the requested process definition was not found.
'409':
description: Indicates the requested process definition is already suspended
or active.
security:
- basicAuth: []
"/repository/process-definitions/{processDefinitionId}/model":
get:
tags:
- Process Definitions
summary: Get a process definition BPMN model
description: ''
operationId: getBpmnModelResource
produces:
- application/json
parameters:
- name: processDefinitionId
in: path
required: true
type: string
responses:
'200':
description: Indicates the process definition was found and the model is
returned. The response contains the full process definition model.
schema:
"$ref": "#/definitions/BpmnModel"
'404':
description: Indicates the requested process definition was not found.
security:
- basicAuth: []
"/runtime/process-instances":
get:
tags:
- Process Instances
summary: List process instances
description: ''
operationId: listProcessInstances
produces:
- application/json
parameters:
- name: id
in: query
description: Only return models with the given version.
required: false
type: string
- name: name
in: query
description: Only return models with the given name.
required: false
type: string
- name: nameLike
in: query
description: Only return models like the given name.
required: false
type: string
- name: nameLikeIgnoreCase
in: query
description: Only return models like the given name ignoring case.
required: false
type: string
- name: processDefinitionKey
in: query
description: Only return process instances with the given process definition
key.
required: false
type: string
- name: processDefinitionId
in: query
description: Only return process instances with the given process definition
id.
required: false
type: string
- name: processDefinitionCategory
in: query
description: Only return process instances with the given process definition
category.
required: false
type: string
- name: processDefinitionVersion
in: query
description: Only return process instances with the given process definition
version.
required: false
type: integer
- name: processDefinitionEngineVersion
in: query
description: Only return process instances with the given process definition
engine version.
required: false
type: string
- name: businessKey
in: query
description: Only return process instances with the given businessKey.
required: false
type: string
- name: businessKeyLike
in: query
description: Only return process instances with the businessKey like the given
key.
required: false
type: string
- name: startedBy
in: query
description: Only return process instances started by the given user.
required: false
type: string
- name: startedBefore
in: query
description: Only return process instances started before the given date.
required: false
type: string
format: date-time
- name: startedAfter
in: query
description: Only return process instances started after the given date.
required: false
type: string
format: date-time
- name: activeActivityId
in: query
description: Only return process instances which have an active activity instance
with the provided activity id.
required: false
type: string
- name: involvedUser
in: query
description: Only return process instances in which the given user is involved.
required: false
type: string
- name: suspended
in: query
description: If true, only return process instance which are suspended. If
false, only return process instances which are not suspended (active).
required: false
type: boolean
- name: superProcessInstanceId
in: query
description: Only return process instances which have the given super process-instance
id (for processes that have a call-activities).
required: false
type: string
- name: subProcessInstanceId
in: query
description: Only return process instances which have the given sub process-instance
id (for processes started as a call-activity).
required: false
type: string
- name: excludeSubprocesses
in: query
description: Return only process instances which are not sub processes.
required: false
type: boolean
- name: includeProcessVariables
in: query
description: Indication to include process variables in the result.
required: false
type: boolean
- name: callbackId
in: query
description: Only return process instances with the given callbackId.
required: false
type: string
- name: callbackType
in: query
description: Only return process instances with the given callbackType.
required: false
type: string
- name: tenantId
in: query
description: Only return process instances with the given tenantId.
required: false
type: string
- name: tenantIdLike
in: query
description: Only return process instances with a tenantId like the given
value.
required: false
type: string
- name: withoutTenantId
in: query
description: If true, only returns process instances without a tenantId set.
If false, the withoutTenantId parameter is ignored.
required: false
type: boolean
- name: sort
in: query
description: Property to sort on, to be used together with the order.
required: false
type: string
enum:
- id
- processDefinitionId
- tenantId
- processDefinitionKey
responses:
'200':
description: Indicates request was successful and the process-instances
are returned
schema:
"$ref": "#/definitions/DataResponseProcessInstanceResponse"
'400':
description: Indicates a parameter was passed in the wrong format . The
status-message contains additional information.
security:
- basicAuth: []
post:
tags:
- Process Instances
summary: Start a process instance
description: "Note that also a *transientVariables* property is accepted as
part of this json, that follows the same structure as the *variables* property.\n\nOnly
one of *processDefinitionId*, *processDefinitionKey* or *message* can be used
in the request body. \n\nParameters *businessKey*, *variables* and *tenantId*
are optional.\n\n If tenantId is omitted, the default tenant will be used.
More information about the variable format can be found in the REST variables
section.\n\n Note that the variable-scope that is supplied is ignored, process-variables
are always local.\n\n"
operationId: createProcessInstance
produces:
- application/json
parameters:
- in: body
name: body
required: false
schema:
"$ref": "#/definitions/ProcessInstanceCreateRequest"
responses:
'200':
description: successful operation
schema:
"$ref": "#/definitions/ProcessInstanceResponse"
'201':
description: Indicates the process instance was created.
'400':
description: Indicates either the process-definition was not found (based
on id or key), no process is started by sending the given message or an
invalid variable has been passed. Status description contains additional
information about the error.
security:
- basicAuth: []
"/runtime/process-instances/{processInstanceId}":
get:
tags:
- Process Instances
summary: Get a process instance
description: ''
operationId: getProcessInstance
produces:
- application/json
parameters:
- name: processInstanceId
in: path
required: true
type: string
responses:
'200':
description: Indicates the process instance was found and returned.
schema:
"$ref": "#/definitions/ProcessInstanceResponse"
'404':
description: Indicates the requested process instance was not found.
security:
- basicAuth: []
put:
tags:
- Process Instances
summary: Update process instance properties or execute an action on a process
instance (body needs to contain an 'action' property for the latter).
description: ''
operationId: updateProcessInstance
produces:
- application/json
parameters:
- name: processInstanceId
in: path
required: true
type: string
- in: body
name: body
required: false
schema:
"$ref": "#/definitions/ProcessInstanceUpdateRequest"
responses:
'200':
description: Indicates the process instance was found and the update/action
was executed.
schema:
"$ref": "#/definitions/ProcessInstanceResponse"
'400':
description: Indicates a invalid parameters are supplied.
'404':
description: Indicates the requested process instance was not found.
'409':
description: Indicates the requested process instance change cannot be executed
since the process-instance is in a wrong status which doesn't accept the
change
security:
- basicAuth: []
delete:
tags:
- Process Instances
summary: Delete a process instance
description: ''
operationId: deleteProcessInstance
parameters:
- name: processInstanceId
in: path
required: true
type: string
- name: deleteReason
in: query
required: false
type: string
responses:
'204':
description: Indicates the process instance was found and deleted. Response
body is left empty intentionally.
'404':
description: Indicates the requested process instance was not found.
security:
- basicAuth: []
"/runtime/tasks":
get:
tags:
- Tasks
summary: List of tasks
description: ''
operationId: listTasks
produces:
- application/json
parameters:
- name: name
in: query
description: Only return models with the given version.
required: false
type: string
- name: nameLike
in: query
description: Only return tasks with a name like the given name.
required: false
type: string
- name: description
in: query
description: Only return tasks with the given description.
required: false
type: string
- name: priority
in: query
description: Only return tasks with the given priority.
required: false
type: string
- name: minimumPriority
in: query
description: Only return tasks with a priority greater than the given value.
required: false
type: string
- name: maximumPriority
in: query
description: Only return tasks with a priority lower than the given value.
required: false
type: string
- name: assignee
in: query
description: Only return tasks assigned to the given user.
required: false
type: string
- name: assigneeLike
in: query
description: Only return tasks assigned with an assignee like the given value.
required: false
type: string
- name: owner
in: query
description: Only return tasks owned by the given user.
required: false
type: string
- name: ownerLike
in: query
description: Only return tasks assigned with an owner like the given value.
required: false
type: string
- name: unassigned
in: query
description: Only return tasks that are not assigned to anyone. If false is
passed, the value is ignored.
required: false
type: string
- name: delegationState
in: query
description: Only return tasks that have the given delegation state. Possible
values are pending and resolved.
required: false
type: string
- name: candidateUser
in: query
description: Only return tasks that can be claimed by the given user. This
includes both tasks where the user is an explicit candidate for and task
that are claimable by a group that the user is a member of.
required: false
type: string
- name: candidateGroup
in: query
description: Only return tasks that can be claimed by a user in the given
group.
required: false
type: string
- name: candidateGroups
in: query
description: Only return tasks that can be claimed by a user in the given
groups. Values split by comma.
required: false
type: string
- name: involvedUser
in: query
description: Only return tasks in which the given user is involved.
required: false
type: string
- name: taskDefinitionKey
in: query
description: Only return tasks with the given task definition id.
required: false
type: string
- name: taskDefinitionKeyLike
in: query
description: Only return tasks with a given task definition id like the given
value.
required: false
type: string
- name: taskDefinitionKeys
in: query
description: Only return tasks with the given task definition ids.
required: false
type: string
- name: processInstanceId
in: query
description: Only return tasks which are part of the process instance with
the given id.
required: false
type: string
- name: processInstanceIdWithChildren
in: query
description: Only return tasks which are part of the process instance and
its children with the given id.
required: false
type: string
- name: withoutProcessInstanceId
in: query
description: If true, only returns tasks without a process instance id set.
If false, the withoutProcessInstanceId parameter is ignored.
required: false
type: boolean
- name: processInstanceBusinessKey
in: query
description: Only return tasks which are part of the process instance with
the given business key.
required: false
type: string
- name: processInstanceBusinessKeyLike
in: query
description: Only return tasks which are part of the process instance which
has a business key like the given value.
required: false
type: string
- name: processDefinitionId
in: query
description: Only return tasks which are part of a process instance which
has a process definition with the given id.
required: false
type: string
- name: processDefinitionKey
in: query
description: Only return tasks which are part of a process instance which
has a process definition with the given key.
required: false
type: string
- name: processDefinitionKeyLike
in: query
description: Only return tasks which are part of a process instance which
has a process definition with a key like the given value.
required: false
type: string
- name: processDefinitionName
in: query
description: Only return tasks which are part of a process instance which
has a process definition with the given name.
required: false
type: string
- name: processDefinitionNameLike
in: query
description: Only return tasks which are part of a process instance which
has a process definition with a name like the given value.
required: false
type: string
- name: executionId
in: query
description: Only return tasks which are part of the execution with the given
id.
required: false
type: string
- name: createdOn
in: query
description: Only return tasks which are created on the given date.
required: false
type: string
format: date-time
- name: createdBefore
in: query
description: Only return tasks which are created before the given date.
required: false
type: string
format: date-time
- name: createdAfter
in: query
description: Only return tasks which are created after the given date.
required: false
type: string
format: date-time
- name: dueOn
in: query
description: Only return tasks which are due on the given date.
required: false
type: string
format: date-time
- name: dueBefore
in: query
description: Only return tasks which are due before the given date.
required: false
type: string
format: date-time
- name: dueAfter
in: query
description: Only return tasks which are due after the given date.
required: false
type: string
format: date-time
- name: withoutDueDate
in: query
description: Only return tasks which do not have a due date. The property
is ignored if the value is false.
required: false
type: boolean
- name: excludeSubTasks
in: query
description: Only return tasks that are not a subtask of another task.
required: false
type: boolean
- name: active
in: query
description: If true, only return tasks that are not suspended (either part
of a process that is not suspended or not part of a process at all). If
false, only tasks that are part of suspended process instances are returned.
required: false
type: boolean
- name: includeTaskLocalVariables
in: query
description: Indication to include task local variables in the result.
required: false
type: boolean
- name: includeProcessVariables
in: query
description: Indication to include process variables in the result.
required: false
type: boolean
- name: scopeDefinitionId
in: query
description: Only return tasks with the given scopeDefinitionId.
required: false
type: string
- name: scopeId
in: query
description: Only return tasks with the given scopeId.
required: false
type: string
- name: withoutScopeId
in: query
description: If true, only returns tasks without a scope id set. If false,
the withoutScopeId parameter is ignored.
required: false
type: boolean
- name: scopeType
in: query
description: Only return tasks with the given scopeType.
required: false
type: string
- name: propagatedStageInstanceId
in: query
description: Only return tasks which have the given id as propagated stage
instance id
required: false
type: string
- name: tenantId
in: query
description: Only return tasks with the given tenantId.
required: false
type: string
- name: tenantIdLike
in: query
description: Only return tasks with a tenantId like the given value.
required: false
type: string
- name: withoutTenantId
in: query
description: If true, only returns tasks without a tenantId set. If false,
the withoutTenantId parameter is ignored.
required: false
type: boolean
- name: candidateOrAssigned
in: query
description: Select tasks that has been claimed or assigned to user or waiting
to claim by user (candidate user or groups).
required: false
type: string
- name: category
in: query
description: 'Select tasks with the given category. Note that this is the
task category, not the category of the process definition (namespace within
the BPMN Xml).
'
required: false
type: string
responses:
'200':
description: Indicates request was successful and the tasks are returned
schema:
"$ref": "#/definitions/DataResponseTaskResponse"
'404':
description: Indicates a parameter was passed in the wrong format or that
delegationState has an invalid value (other than pending and resolved).
The status-message contains additional information.
security:
- basicAuth: []
post:
tags:
- Tasks
summary: Create Task
description: ''
operationId: createTask
produces:
- application/json
parameters:
- in: body
name: body
required: false
schema:
"$ref": "#/definitions/TaskRequest"
responses:
'200':
description: successful operation
schema:
"$ref": "#/definitions/TaskResponse"
'201':
description: Indicates request was successful and the tasks are returned
'400':
description: Indicates a parameter was passed in the wrong format or that
delegationState has an invalid value (other than pending and resolved).
The status-message contains additional information.
security:
- basicAuth: []
"/runtime/tasks/{taskId}":
get:
tags:
- Tasks
summary: Get a task
description: ''
operationId: getTask
produces:
- application/json
parameters:
- name: taskId
in: path
required: true
type: string
responses:
'200':
description: Indicates the task was found and returned.
schema:
"$ref": "#/definitions/TaskResponse"
'404':
description: Indicates the requested task was not found.
security:
- basicAuth: []
post:
tags:
- Tasks
summary: Tasks actions
description: ''
operationId: executeTaskAction
parameters:
- name: taskId
in: path
required: true
type: string
- in: body
name: body
required: false
schema:
"$ref": "#/definitions/TaskActionRequest"
responses:
'200':
description: Indicates the action was executed.
'400':
description: When the body contains an invalid value or when the assignee
is missing when the action requires it.
'404':
description: Indicates the requested task was not found.
'409':
description: Indicates the action cannot be performed due to a conflict.
Either the task was updates simultaneously or the task was claimed by
another user, in case of the claim action.
security:
- basicAuth: []
put:
tags:
- Tasks
summary: Update a task
description: 'All request values are optional. For example, you can only include
the assignee attribute in the request body JSON-object, only updating the
assignee of the task, leaving all other fields unaffected. When an attribute
is explicitly included and is set to null, the task-value will be updated
to null. Example: {"dueDate" : null} will clear the duedate of the task).'
operationId: updateTask
produces:
- application/json
parameters:
- name: taskId
in: path
required: true
type: string
- in: body
name: body
required: false
schema:
"$ref": "#/definitions/TaskRequest"
responses:
'200':
description: Indicates the task was updated.
schema:
"$ref": "#/definitions/TaskResponse"
'404':
description: Indicates the requested task was not found.
'409':
description: Indicates the requested task was updated simultaneously.
security:
- basicAuth: []
delete:
tags:
- Tasks
summary: Delete a task
description: ''
operationId: deleteTask
parameters:
- name: taskId
in: path
required: true
type: string
- name: cascadeHistory
in: query
description: Whether or not to delete the HistoricTask instance when deleting
the task (if applicable). If not provided, this value defaults to false.
required: false
type: string
- name: deleteReason
in: query
description: Reason why the task is deleted. This value is ignored when cascadeHistory
is true.
required: false
type: string
responses:
'204':
description: Indicates the task was found and has been deleted. Response-body
is intentionally empty.
'403':
description: Indicates the requested task cannot be deleted because it’s
part of a workflow.
'404':
description: Indicates the requested task was not found.
security:
- basicAuth: []
"/history/historic-process-instances":
get:
tags:
- History Process
summary: List of historic process instances
description: ''
operationId: listHistoricProcessInstances
produces:
- application/json
parameters:
- name: processInstanceId
in: query
description: An id of the historic process instance.
required: false
type: string
- name: processInstanceName