loadProcessPreview

suspend fun loadProcessPreview(context: Context, templateUUID: String): ApiResult<ProcessForm>

Loads the ProcessForm for preview using the given template uuid.

Return

ApiResult<ProcessForm> The ProcessForm object, or Error with reason if the process preview cannot be opened for any reason.

Parameters

context

Context The application context.

templateUUID

String the uuid of the template retrieved from scanned QR code