loadPreviousProcessData

abstract suspend fun loadPreviousProcessData(    context: Context,     widgetUUID: String,     widgetValue: Any,     blacklistedWidgetsUUIDs: List<String?>?,     onSuccess: () -> Unit? = null,     onError: (MyBusinessError) -> Unit? = null)

Loads last data entered in a completed process using same template and same data entered in the given widget.

Parameters

context

Context The application context.

widgetUUID

String the widget uuid.

widgetValue

String the data entered in the widget.

blacklistedWidgetsUUIDs

List list of UUIDs of blacklisted widgets.

onSuccess

(Optional) will be called when the process data successfully loaded.

onError

(Optional) will be called when the operation fails for any reason.