take The Lead
suspend fun takeTheLead(context: Context, processUUID: String): ApiResult<Any>
Content copied to clipboard
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.Content copied to clipboard
process UUID
**String** the process uuidContent copied to clipboard