submitProcess

open fun submitProcess(    @NonNull context: Context,     @NonNull processUUID: String,     @NonNull processName: String,     @NonNull values: JSONObject,     @NonNull recipients: Array<String>,     @Nullable callback: STWOperationCallback<MyBusinessError>)

Saves and Submits the given process to the given recipients.

Parameters

context

Context The application context.

processUUID

String the process uuid

processName

String the process name

values

JSONObject contains data retrieved from process widgets.

recipients

list of recipients: formatted like : MSISDNs and group ids comma separated. (example of recipients format: [group:1,group:2,1234567891,1234567892,1234567893])

callback

STWOperationCallback to handle the operation events.