completeProcess

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

Saves and completes 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.