# mutate_step_readers

Name mutate_step_readers
Type callback
Version 1.0
Since 2020-01-01

# Prologue

Add user(s) to step readers or set (override) step reader(s) using processing variables.

# Configuration

events:

	# Event's name
	on_step_start:

		# Callback's name
		mutate_step_readers:
			config:

				# Required
				steps: [step1, step2]

				# Required
				# Accepts scalar variable with user ID integer
				# Accepts json variable with array of user ID integers
				variable: "_process.roles['@creator'][0].id"

				# Optional
				# Default - override
				# Modes:
				#	override - replaces any existing step readers with new ones
				#	add - add new users to step readers without overriding already assigned users
				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