WorkflowHost Class

Scanjour Workflow4 Reference Manual
Provides a host for any number of instances of workflows, typically represented by XAML stored in the SOM database.
Inheritance Hierarchy

SystemObject
  Scanjour.Workflow4.HostWorkflowHost

Namespace:  Scanjour.Workflow4.Host
Assembly:  Scanjour.Workflow4.Host (in Scanjour.Workflow4.Host.dll) Version: 23.1.0.0 (23.1.0.0)
Syntax

public class WorkflowHost

The WorkflowHost type exposes the following members.

Constructors

  NameDescription
Public methodWorkflowHost
Creates a new instance of the WorkflowHost class.
Top
Properties

  NameDescription
Public propertyWorkflowHostOwnerName
Returns the owner of the workflow host.
Top
Methods

  NameDescription
Public methodStatic memberBypassCertificateError
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.
Public methodCancelTimer
Cancel the timer, if any, for the given workflow.
Public methodStatic memberCopyWorkflowDependenciesToWebserviceFolder
Copy assemblies from a package to the Web service folder if not up to date.
Public methodCreateWorkflow(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.
Public methodCreateWorkflow(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.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetBookmarks
Gets the bookmarks for specified workflow instance.
Public methodGetDefaultArguments
Gets the default arguments.
Public methodGetDynamicContext
Gets the dynamic context.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetWorkflowInformation
Return all available information on a workflow instance.
Public methodGetWorkflowOutputs
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.
Public methodGetWorkflowRowId
Get workflow instance row id from instance id.
Public methodGetWorkflowStatus
Get the current status of a workflow instance.
Public methodInitialize
Initialize the workflow host. This includes setting up timers for pending timeouts in currently persisted workflows.
Public methodInitialize(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.
Public methodInitialize(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.
Public methodStatic memberIsInitialized
Public methodStatic memberLoadWorkflowDefinition(Uri, WorkflowType)
Get the definition for a workflow.
Public methodStatic memberLoadWorkflowDefinition(Uri, String, NullableDateTime)
Get the definition for a workflow.
Public methodStatic memberLockWorkflowInstance
Lock Workflow Instance
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRestartWorkflow
Restart a workflow based on data in the wzp_workflow_instance table
Public methodResumeBookmark(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.
Public methodResumeBookmark(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.
Public methodResumeBookmarkOnBehalfOf
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.
Public methodSetupEnvironment
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.
Public methodStartWorkflow
Start a workflow based on data in the wzp_workflow_instance table
Public methodTakeOwnership
Change workflow and open user tasks owner to current user
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodStatic memberUpdateWorkflowStatus
UPdate the workflow status in the workflow instance register.
Public methodStatic memberValidateCreationData
Validate the workflow cretion data structure.
Top
Fields

  NameDescription
Public fieldStatic memberDefaultMaxWatchDelay
The Default maximum WatchDelay in minutes
Public fieldStatic memberDefaultMaxWatchInterval
The default maximum watch interval in minutes
Public fieldStatic memberDefaultWatchDelay
The Default WatchDelay in minutes
Public fieldStatic memberDefaultWatchInterval
The Default WatchInterwal in minutes
Public fieldStatic memberHostVersion
Gets the WorkflowHost version identification.
Top
See Also

Reference