DatabaseFunctions Class

Scanjour Workflow4 Reference Manual
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: 21.3.0.0 (21.3.0.0)
Syntax

public class DatabaseFunctions

The DatabaseFunctions type exposes the following members.

Constructors

  NameDescription
Public methodDatabaseFunctions
Initializes a new instance of the DatabaseFunctions class
Top
Methods

  NameDescription
Public methodStatic memberCreateWorkflowInstance
Create a new instance in the wzp_workflow_instance register.
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 methodGetHashCode
Serves 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 methodGetType
Gets 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 methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
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 memberSetWorkflowInstanceStatus
Update workflow instance status.
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 methodToString
Returns 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
See Also

Reference