validateForm

abstract suspend fun validateForm(processName: String, fullValidation: Boolean): ValidationResult?

Validates the process name and all the current data in widgets, and prepare values for other operations (save/submit/complete/cancel).

Return

ValidationResult that contains details of form validation done, or null if the current stack is not alive anymore.

Parameters

processName

String the process name.

fullValidation

Boolean Whether the full validation is needed or not.