takeTheLead

suspend fun takeTheLead(context: Context, processUUID: String): ApiResult<Any>

Requests to take the lead on the given process.

Return

ApiResultApiResult.Success if operation done successfully, ApiResult.Error<MyBusinessError> with reason otherwise

Parameters

context
    **Context** The application context.
processUUID
    **String** the process uuid