create New Process
open fun createNewProcess(@NonNull context: Context, @NonNull templateUUID: String): ProcessItem
Content copied to clipboard
Creates a new process using the given template. PS: It is highly recommended to call this method in an asynchronous thread. The process creation can fails if the given template is not exist or not downloaded yet.
Return
ProcessItem created from the given template, or null if process creation failed for any reason.
Parameters
context
Context The application context.
template UUID
String the template uuid
open fun createNewProcess( @NonNull context: Context, @NonNull templateUUID: String, @NonNull processUUID: String): ProcessItem
Content copied to clipboard
Creates a new process using the given template. PS: It is highly recommended to call this method in an asynchronous thread. The process creation can fails if the given template is not exist or not downloaded yet.
Return
ProcessItem created from the given template, or null if process creation failed for any reason.
Parameters
context
Context The application context.
template UUID
String the template uuid
process UUID
String the process uuid