submit Process
open fun submitProcess( @NonNull context: Context, @NonNull processUUID: String, @NonNull processName: String, @NonNull values: JSONObject, @NonNull recipients: Array<String>, @Nullable callback: STWOperationCallback<MyBusinessError>)
Content copied to clipboard
Saves and Submits the given process to the given recipients.
Parameters
context
Context The application context.
process UUID
String the process uuid
process Name
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.