Provides a host for any number of instances of workflows, typically represented by XAML stored in the SOM database.
Inheritance Hierarchy
Scanjour.Workflow4.HostWorkflowHost
Namespace: Scanjour.Workflow4.Host
Assembly: Scanjour.Workflow4.Host (in Scanjour.Workflow4.Host.dll) Version: 23.2.0.0 (23.2.0.0)
Syntax
The WorkflowHost type exposes the following members.
Constructors
Name | Description | |
---|---|---|
WorkflowHost |
Creates a new instance of the WorkflowHost class.
|
Properties
Name | Description | |
---|---|---|
WorkflowHostOwnerName |
Returns the owner of the workflow host.
|
Methods
Name | Description | |
---|---|---|
BypassCertificateError |
solution for exception
System.Net.WebException:
The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.
| |
CancelTimer |
Cancel the timer, if any, for the given workflow.
| |
CopyWorkflowDependenciesToWebserviceFolder |
Copy assemblies from a package to the Web service folder if not up to date.
| |
CreateWorkflow(Uri, WorkflowCreationData) |
Create a workflow from the given data. Creation will be done using the SOM session, which must be impersonated to the calling user.
| |
CreateWorkflow(Uri, WorkflowCreationData, ActionWorkflowApplicationCompletedEventArgs, SecurityContext) |
Create a workflow from the given data. Creation will be done using the SOM session, which must be impersonated to the calling user.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetBookmarks |
Gets the bookmarks for specified workflow instance.
| |
GetDefaultArguments |
Gets the default arguments.
| |
GetDynamicContext |
Gets the dynamic context.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetWorkflowInformation |
Return all available information on a workflow instance.
| |
GetWorkflowOutputs |
Get the output argument dictionary for a given completed workflow instance. Limitation: outputs can only be gotten for workflows
that have been completed by this instance (i.e. in this process) of the workflow host. In all other cases, null will be returned.
| |
GetWorkflowRowId |
Get workflow instance row id from instance id.
| |
GetWorkflowStatus |
Get the current status of a workflow instance.
| |
Initialize |
Initialize the workflow host. This includes setting up timers for pending timeouts in currently persisted workflows.
| |
Initialize(String, String, String) |
Initialize the workflow host specifying default credentials for SOM sessions created for timers. This includes setting up timers for pending timeouts in currently persisted workflows.
| |
Initialize(String, String, String, UInt32, UInt32, UInt32) |
Initialize the workflow host specifying default credentials for SOM sessions created for timers. This includes setting up timers for pending timeouts in currently persisted workflows.
| |
IsInitialized | ||
LoadWorkflowDefinition(Uri, WorkflowType) |
Get the definition for a workflow.
| |
LoadWorkflowDefinition(Uri, String, NullableDateTime) |
Get the definition for a workflow.
| |
LockWorkflowInstance |
Lock Workflow Instance
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
RestartWorkflow |
Restart a workflow based on data in the wzp_workflow_instance table
| |
ResumeBookmark(Uri, Guid, String, Object) |
Initiates an operation to resume the specified bookmark, using the specified value. The bookmark to be resumed is previously created by an activity within the workflow instance.
| |
ResumeBookmark(Uri, Guid, String, Object, ActionWorkflowApplicationCompletedEventArgs) |
Initiates an operation to resume the specified bookmark, using the specified value. The bookmark to be resumed is previously created by an activity within the workflow instance.
| |
ResumeBookmarkOnBehalfOf |
Initiates an operation to resume the specified bookmark, using the specified value. The bookmark to be resumed is previously created by an activity within the workflow instance.
| |
SetupEnvironment |
Register the URL to the Workflow4 webservice, if any. This information will be used to supply activities with
the URL to the associated OData service.
| |
StartWorkflow |
Start a workflow based on data in the wzp_workflow_instance table
| |
TakeOwnership |
Change workflow and open user tasks owner to current user
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
UpdateWorkflowStatus |
UPdate the workflow status in the workflow instance register.
| |
ValidateCreationData |
Validate the workflow cretion data structure.
|
Fields
Name | Description | |
---|---|---|
DefaultMaxWatchDelay |
The Default maximum WatchDelay in minutes
| |
DefaultMaxWatchInterval |
The default maximum watch interval in minutes
| |
DefaultWatchDelay |
The Default WatchDelay in minutes
| |
DefaultWatchInterval |
The Default WatchInterwal in minutes
| |
HostVersion |
Gets the WorkflowHost version identification.
|
See Also