cancelProcess

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

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.

processUUID

String the process uuid

processName

String the process name

values

JSONObject contains data retrieved from process widgets.

callback

STWOperationCallback to handle the operation events.