# Callback (process_list)

Process list allows assigning processes to variable. Use spec: processes variable to access process references in lattenizer instead of process ids.

# Config

process_list:

	config:

		# Filter processeses
		filter:

			# Required | Type: mixed[] | Default: []
			# Inbox criteria to filter processes by
			#
			### Examples
			### - {"id": 555}
			### - {"process": [12]}
			### - {"!process": [13]}
			### - {"creator": 44}
			### - {"!creator": 15}
			### - {"expiration": "2020-05-05"}
			### - {">expiration": "2020-05-05"}
			### - {"<expiration": "2020-05-05"}
			### - {"expirationRelative": "2020-05-05"}
			### - {">expirationRelative": "2020-05-05"}
			### - {"<expirationRelative": "2020-05-05"}
			### - {"start": "2020-05-05"}
			### - {">start": "2020-05-05"}
			### - {"<start": "2020-05-05"}
			### - {"startRelative": "2020-05-05"}
			### - {">startRelative": "2020-05-05"}
			### - {"<startRelative": "2020-05-05"}
			### - {"processState": 2} (1 - pending, 2 - active, 10 - complete)
			### - {"!processState": 2}
			### - {"stepState": 2} (1 - pending, 2 - active, 10 - complete)
			### - {"!stepState": 2}
			### - {"resolver": [6]}
			### - {"!resolver": [6]}
			### - {"possibleResolver": 4}
			### - {"reader": 4}
			### - {"supervisor": 4}
			### - {"tag": vip}
			### - {"!tag": vip}
			### - {"stepType": [1,3]} (1 - start, 2 - manual, 3 - auto, 4 - async, 7 - summary, 8 - end user, 9 - end)
			### - {"!stepType": [1,3]}
			### - {"stepName": "step name"}
			### - {"!stepName" "step name"}
			### - {"expired": "2020-05-05"}
			### - {"file": 0}
			### - {"calendarFrom": "2020-05-05"}
			### - {"calendarTo": "2020-05-05"}
			### - {"variables": {variable:"with", "!variable":"{$__user->id}"}
			### - {"fulltext":"hello world"}
			criteria: []

			# Optional | Type: int|null | Default: null
			# Limit processes
			#
			### Note
			### Limit processes number or null for no limit
			limit: 20

			# Optional | Type: int | Default: 0
			# Skip first x processes
			offset: 0

			# Optional | Type: bool | Default: true
			# Apply ACL for current logged user
			acl: true

			# Optional | Type: bool | Default: false
			# Allow current process
			self: false

		# Insert to variable
		selection:

			# Required | Type: string | Default: null
			# Variable name to save processes to
			#
			### Note
			### Use `spec: processes` variable to access process references in lattenizer
			variable: "processes"

			# Optional | Type: string | Default: add
			# Insert mode add or override processes in variable
			mode: "override"
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