camundala.worker.InitProcessHandler
See theInitProcessHandler companion object
handler for Custom Process Initialisation. All the variables in the Result Map will be put on the process.
For example if you want to init process Variables to a certain value.
Usage:
.withValidation(
InitProcessHandler(
(in: In) => {
Right(
Map("isCompany" -> true)
) // success
}
)
)
or (with implicit conversion)
.withValidation(
(in: In) => {
Right(
Map("isCompany" -> true)
) // success
}
)
Default is no Initialization.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
In this article