cancel Process
open fun cancelProcess( @NonNull context: Context, @NonNull processUUID: String, @Nullable processName: String, @Nullable values: JSONObject, @Nullable callback: STWOperationCallback<MyBusinessError>)
Content copied to clipboard
Cancels the given process. PS: If the process is scheduled it will be deleted as it was never created, otherwise it will be canceled and moved to the list of canceled processes.
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.
callback
STWOperationCallback to handle the operation events.