save
abstract suspend fun save( context: Context, processName: String, recipientList: List<RecipientModel>? = null, isAutomatic: Boolean = false, onSuccess: (String) -> Unit? = null, onError: (MyBusinessError) -> Unit? = null): Any
Content copied to clipboard
Saves the process locally and synchronises new values with other clients like web App connected to the same account.
See also
Parameters
context
Context The application context.
process Name
String the process name.
recipient List
List<RecipientModel>(Optional) 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.