Click or drag to resize

DatabaseFunctions Class

Functions to access the database from the hosts.
Inheritance Hierarchy
SystemObject
  Scanjour.Workflow4.HostDatabaseFunctions

Namespace: Scanjour.Workflow4.Host
Assembly: Scanjour.Workflow4.Host (in Scanjour.Workflow4.Host.dll) Version: 24.5.0.0 (24.5.0.0)
Syntax
public class DatabaseFunctions

The DatabaseFunctions type exposes the following members.

Constructors
 NameDescription
Public methodDatabaseFunctionsInitializes a new instance of the DatabaseFunctions class
Top
Methods
 NameDescription
Public methodStatic memberCreateWorkflowInstance Create a new instance in the wzp_workflow_instance register.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodStatic memberGetClosedInstancesWithOpenUsertasks Gets the closed instances with open usertasks.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodStatic memberGetOverDueInstances Returns a list of workflow where pending time is past the time defined in the watch delay.
Public methodStatic memberGetPersistedWorkflowData Return the persisted workflow xaml or xml string
Public methodStatic memberGetPersistedWorkflowIdsForServer Get all persisted workflow for a specific host.
Public methodStatic memberGetPersistedWorkflowInformation Get information of a persisted workflow instance.
Public methodStatic memberGetProcessType Get the process type of the workflow instance.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodStatic memberGetWorkflowDefinition Get a workflow definition from the workflow id.
Public methodStatic memberGetWorkflowInstance Get workflow creation data from register
Public methodStatic memberGetWorkflowInstanceRowId 
Public methodStatic memberGetWorkflowInstanceStatus 
Public methodStatic memberGetWorkflowInstanceUpdated 
Public methodStatic memberGetWorkflowOwnerNameCode Gets workflow current owner name code
Public methodStatic memberLookupBookmark Check if a bookmark exists for a workflow instance.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodStatic memberRemoveServerNameFromAllServiceWorkflows 
Public methodStatic memberSetEnabledBookmarks UPdadte the wzp_instance_bookmark table with enabled bookmarks.
Public methodStatic memberSetPersistedWorkflowData(Uri, Guid, String) Update the persisted workflow Xaml or xml string.
Public methodStatic memberSetPersistedWorkflowData(Uri, Guid, String, DateTime) Update the persisted workflow Xaml or xml string.
Public methodStatic memberSetServerNameOnAllParallelServiceWorkflows 
Public methodStatic memberSetWorkflowInstanceStatus Update workflow instance status.
Public methodStatic memberSetWorkflowInstanceStatusDeprecated Update workflow instance status deprecated - only used by integration tests.
Public methodStatic memberSetWorkflowStateToPersistedForServer Sets the workflow status back to persisted if the workflow status is running.
Public methodStatic memberTakeWorkflowOwnership Change workflow owner to current user
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodStatic memberUpdateWorkflowInstance Update workflow instance with instance id.
Public methodStatic memberWriteLineToWorkflowLog Write a single line to the workflow log. Use only if you have no WorkflowLogTrackingParticipant
Top
Extension Methods
See Also