Class RuntimeApiExtensions
OptimaJet.Workflow.Plugins.FormsPlugin.RuntimeApiExtensions
Provides extension methods for the WorkflowRuntime class to integrate and manage forms plugin functionality.
Namespace: OptimaJet.Workflow.Plugins.FormsPlugin
public static class RuntimeApiExtensionsMethods
public static FormsRuntimeApi GetFormsRuntimeApi(this WorkflowRuntime runtime) #Retrieves the FormsRuntimeApi instance associated with the provided WorkflowRuntime.
Parameters
Name
Type
Description
runtimeWorkflowRuntimeThe instance of the WorkflowRuntime from which the FormsRuntimeApi is obtained.
Returns
Type
Description
FormsRuntimeApiAn initialized instance of FormsRuntimeApi.
Exceptions
Type
Description
InvalidOperationExceptionThrown when the FormsPlugin is not registered in the specified WorkflowRuntime.