Functions to access the database from the hosts.
Inheritance Hierarchy
Scanjour.Workflow4.HostDatabaseFunctions
Namespace: Scanjour.Workflow4.Host
Assembly: Scanjour.Workflow4.Host (in Scanjour.Workflow4.Host.dll) Version: 23.3.0.0 (23.3.0.0)
Syntax
The DatabaseFunctions type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DatabaseFunctions | Initializes a new instance of the DatabaseFunctions class |
Methods
Name | Description | |
---|---|---|
CreateWorkflowInstance |
Create a new instance in the wzp_workflow_instance register.
| |
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.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetOverDueInstances |
Returns a list of workflow where pending time is past the time defined in the watch delay.
| |
GetPersistedWorkflowData |
Return the persisted workflow xaml or xml string
| |
GetPersistedWorkflowIdsForServer |
Get all persisted workflow for a specific host.
| |
GetPersistedWorkflowInformation |
Get information of a persisted workflow instance.
| |
GetProcessType |
Get the process type of the workflow instance.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetWorkflowDefinition |
Get a workflow definition from the workflow id.
| |
GetWorkflowInstance |
Get workflow creation data from register
| |
GetWorkflowInstanceRowId | ||
GetWorkflowInstanceStatus | ||
GetWorkflowInstanceUpdated | ||
GetWorkflowOwnerNameCode |
Gets workflow current owner name code
| |
LookupBookmark |
Check if a bookmark exists for a workflow instance.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
SetEnabledBookmarks |
UPdadte the wzp_instance_bookmark table with enabled bookmarks.
| |
SetPersistedWorkflowData(Uri, Guid, String) |
Update the persisted workflow Xaml or xml string.
| |
SetPersistedWorkflowData(Uri, Guid, String, DateTime) |
Update the persisted workflow Xaml or xml string.
| |
SetWorkflowInstanceStatus |
Update workflow instance status.
| |
SetWorkflowStateToPersistedForServer |
Sets the workflow status back to persisted if the workflow status is running.
| |
TakeWorkflowOwnership |
Change workflow owner to current user
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
UpdateWorkflowInstance |
Update workflow instance with instance id.
| |
WriteLineToWorkflowLog |
Write a single line to the workflow log. Use only if you have no WorkflowLogTrackingParticipant
|
Extension Methods
Name | Description | |
---|---|---|
FormatFromDictionary | (Defined by DictionaryExtensions.) | |
GetFirstValue | (Defined by DictionaryExtensions.) |
See Also