getTemplatePreview

open fun getTemplatePreview(@NonNull templateUUID: String): JSONObject

Loads the template JSON for preview from the given templateUUID. PS: It is highly recommended to call this method in an asynchronous thread.

Return

JSONObject of the process template, or null if preview json is not found.

Parameters

templateUUID

String the template uuid