submit
abstract suspend fun submit( context: Context, processName: String? = null, recipientList: List<RecipientModel>? = null, onSuccess: () -> Unit? = null, onError: (MyBusinessError) -> Unit? = null): Any
Content copied to clipboard
Saves and Submits the current process to the given recipients.
See also
Parameters
context
Context The application context.
process Name
String(Optional) the new process name, if the name was changed by user.
recipient List
List<RecipientModel> list of recipients
on Success
(Optional) will be called when the operation successfully completed.
on Error
(Optional) will be called when the operation fails for any reason.