saveProcess

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

Saves the given process locally and synchronises new values with other clients.

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.