WorkflowManager Class
Click or drag to resize

WorkflowManager Class

Service for managing workflows.
Inheritance Hierarchy

Namespace:  FileHold.LibraryManager
Assembly:  FileHold.LibraryManager (in FileHold.LibraryManager.dll) Version: 17.0.0.0
Syntax
C#
public class WorkflowManager : WebService

The WorkflowManager type exposes the following members.

Constructors
  NameDescription
Public methodWorkflowManager
Initializes a new instance of the WorkflowManager class
Top
Methods
  NameDescription
Public methodAddDocumentsToWorkflow
Add documents to existing active workflow.
Public methodAddDocumentVersionsToWorkflow
Add document versions to existing active workflow.
Public methodAddSelectionToWorkflow
Add selection to existing active workflow.
Public methodAddWorkflowTemplate
Add new workflow template.
Public methodAllowWorkflowDueDateExtension
Return true if workflow due date can be extended when adding a one-time review.
Public methodApproveDocumentVersion
Public methodCalculateEligibleObservers
Calculate eligible workflow observers for given documents.
Public methodCalculateEligibleObserversForSelection
Calculate eligible workflow observers for selection.
Public methodCalculateEligibleParticipants
Calculate eligible workflow participants for given documents.
Public methodCalculateEligibleParticipantsForSelection
Calculate eligible workflow participants for selection.
Public methodCanAddOneTimeReviewForUser
Public methodCancelWorkflow
Cancel specified workflow instance.
Public methodCanInitiateWorkflow
Check if workflow with given template can be started for selection
Public methodCanRestartWorkflow
Check if specified workflow can be restarted.
Public methodCanRestartWorkflowV2
Check if specified workflow can be restarted.
Public methodChangeWorkflowTemplate
Change a workflow template.
Public methodClearAllCancelledWorkflows
Clear all cancelled workflows for all users.
Public methodClearAllCompletedWorkflows
Clear all completed workflows for all users.
Public methodClearAllCompletedWorkflowsByApprovalStatus
Clear all completed workflows for all users.
Public methodClearCancelledWorkflows
Clear cancelled workflows for current user.
Public methodClearCompletedWorkflows
Clear completed workflows for current user.
Public methodClearCompletedWorkflowsByApprovalStatus
Clear completed workflows for current user.
Public methodCreateActivity
Public methodCreateTasks
Method allow to create tasks associated with activity
Public methodDelegateTasks
Delegate specified tasks.
Public methodDelegateTasksFromSelection
Delegates all tasks related to selected documents.
Public methodDelegateWorkflowInitiators
Delegate the initiators of selected workflows.
Public methodDisposeExternalSignedDocuments
Public methodExpandParticipants
Public methodFindAvailableParticipants
Find all available workflow participants who fulfill specified criteria.
Public methodFindAvailableParticipantsExceptSelf
Find all available workflow participants who fulfill specified criteria except current user.
Public methodFindAvailableParticipantsStartWith
Public methodFindAvailableWorkflowInitiators
Find all available workflow initiators who fulfill specified criteria.
Public methodFindFinalParticipants
Public methodFindTaskInList
Find the index of a task with given guid in the list.
Public methodGenerateWorkflowName
Generate workflow name from naming pattern for given document.
Public methodGetActiveAndPostponedWorkflows
Return all active and postponed workflows to which user can add documents.
Public methodGetActiveAndPostponedWorkflowsCount
Return the number of active and postponed workflows.
Public methodGetActiveWorkflows
Return all active workflows to which user can add documents.
Public methodGetActiveWorkflowsCount
Return the number of active workflows.
Public methodGetAdminStatusReport
Return all workflows which fulfills specifed criteria
Public methodGetAdminStatusReportCount
Return number of entries in administrator's status report.
Public methodGetAdminStatusReportWithDocumentCount
Return all workflows which fulfills specifed criteria
Public methodGetAllWorkflowDocuments
Return main and supporting document versions for given instance.
Public methodGetAttachmentLink
Returns the URL of the attachment from specified task.
Public methodGetAvailableAutoDelegateUsers
Find all users that can be selected for automatic delegation.
Public methodGetAvailableObservers
Find all users that can observe a workflow for specified document. STEPS: - get members and owner of the document's cabinet - get members (+owner) of the document's folder - get members of the document's schema - invoke method GetEligibleUsers which calculates users which are eligible NOTE: if documentVersionId is less than 0 then location is not taken into consideration
Public methodGetAvailableObserversForDocuments
Find all users that can observe a workflow for all specified documents.
Public methodGetAvailableObserversForSelection
Find all users that can observe a workflow for selection.
Public methodGetAvailableParticipants
Find all users that can participate in a workflow for specified document. STEPS: - get members and owner of the document's cabinet - get members (+owner) of the document's folder - get members of the document's schema - invoke method GetEligibleUsers which calculates users which are eligible NOTE: if documentVersionId is less than 0 then location is not taken into consideration
Public methodGetAvailableParticipantsForDocuments
Find all users that can participate in a workflow for all specified documents.
Public methodGetAvailableParticipantsForSelection
Find all users that can participate in a workflow for selection.
Public methodGetCertificates
Public methodGetDocumentStatusReport
Return all workflows associated with given document versions.
Public methodGetDocumentStatusReportCount
Return number of entries in document status report.
Public methodGetEligibleUsers
Public methodGetExistingWorkflowSettings
Get "add to existing" workflow settings.
Public methodGetMyTasks
Return the tasks for current user.
Public methodGetMyTasksCount
Return the number of tasks for current user.
Public methodGetMyTasksCount(String, Boolean, Database, DbTransaction)
Public methodGetMyTasksCountForWorkflowTemplate
Public methodGetNewTasksCount
Return the number of new tasks. Equivalent to GetMyTasksCount().
Public methodGetOneWorkflowStatusReport
Return all workflows associated with given tasks.
Public methodGetRestartedWorkflows
Return all workflows ids that RestartedWorkflowId equals given parameter.
Public methodGetRestartedWorkflowsReport
Return all workflows that were restarted from given workflow.
Public methodGetRestartedWorkflowsReportCount
Return the number of workflows that were restarted from given workflow.
Public methodGetSignOffSheet
Return all approval tasks associated with specified document versions.
Public methodGetSignOffSheetCount
Return number of entries in sign off sheet.
Public methodGetTaskAttachmentToken
Create a download token for attachment for the given task.
Public methodGetTaskForDocumentVersion
Return information about current user's task for a document version.
Public methodGetTaskOwnerId
Get task owner user id
Public methodGetTaskParticipantsReport
Return all workflow tasks and their participants.
Public methodGetTaskParticipantsReportCount
Return the number of workflow tasks and their participants.
Public methodGetTaskParticipantsReportWithCount
Return all workflow tasks and their participants.
Public methodGetTasksFromActivity
Return all active tasks that belong to activity related to given task. The given task identifier is not returned.
Public methodGetTaskStatusReport
Return all workflows associated with given tasks.
Public methodGetTaskStatusReportCount
Return number of entries in task status report.
Public methodGetTaskWorkflowAndState
Return workflow identifier for given task and current state of this task.
Public methodGetTemplatesToAppendToDocument
Public methodGetUserId
Get user id by user guid
Public methodGetUserStatusReport
Return all workflows which user is allowed to review.
Public methodGetUserStatusReportCount
Return the number of entries in status report.
Public methodGetUserStatusReportCriteria
Get user's status report criteria used by Workflow Status Report
Public methodGetUserStatusReportWithDocumentCount
Return all workflows which user is allowed to review with the number of all workflows.
Public methodGetWorkflowApprovalStatus(Guid)
Return the approval status of given workflow.
Public methodGetWorkflowApprovalStatus(Guid, Database, DbTransaction)
Public methodGetWorkflowDashboardStatusReportWithDocumentCount
Return workflows selected in Workflow dashboard.
Public methodGetWorkflowDashboardSummary
Return dashboard summary of all workflows.
Public methodGetWorkflowDefinition
Return the workflow definition for given instance.
Public methodGetWorkflowDocumentOwners
Public methodGetWorkflowDocuments(Guid)
Return main document versions for given instance.
Public methodGetWorkflowDocuments(Guid, Database, DbTransaction)
Public methodGetWorkflowDocumentsCount
Returns workflow main documents count
Public methodGetWorkflowForDocumentVersion
Return identifier and name of current workflow associated with given document version.
Public methodGetWorkflowForTask
Public methodGetWorkflowHistoryChangesList(Guid)
Get Workflow History Changes List for the specific workflow
Public methodGetWorkflowHistoryChangesList(Guid, Database, DbTransaction)
Public methodGetWorkflowHistoryDetails
Public methodGetWorkflowHistoryReport
Return the history of operations on the given workflow.
Public methodGetWorkflowHistoryReportCount
Return number of records in the history of the given workflow.
Public methodGetWorkflowInitiationDefinition
Public methodGetWorkflowInitiator
Public methodGetWorkflowInitiatorsReport
Return all workflows and their initiators.
Public methodGetWorkflowInitiatorsReportCount
Return the number of workflows and their initiators.
Public methodGetWorkflowInstanceDetails
Gets workflow instance details.
Public methodGetWorkflowObserverGuids(Guid)
Public methodGetWorkflowObserverGuids(Guid, Database, DbTransaction)
Public methodGetWorkflowsGuidsWithHistory
Return all workflows that have a workflow history.
Public methodGetWorkflowStatus
Return the status of given workflow.
Public methodGetWorkflowsToDownload
This method is obsolete.
Public methodGetWorkflowSupportingDocumentsCount
Returns workflow supporting documents count
Public methodGetWorkflowTaskDetails
Return details of given task.
Public methodGetWorkflowTasks(Guid)
Return all tasks associated with given workflow.
Public methodGetWorkflowTasks(Guid, Database, DbTransaction)
Public methodGetWorkflowTemplate
Return the definition of specified workflow template.
Public methodGetWorkflowTemplateNamesFromMyTasks
Public methodGetWorkflowTemplates
Return information about all workflow templates in the system
Public methodGetWorkflowTemplatesInfo
Return information about chosen workflow templates in the system
Public methodHasCheckedOutDocuments
Check if any documents associated with workflow are checked out.
Public methodIncrementTotalStepsCount
Public methodInitiateWorkflow(Int32, WorkflowTemplateDefinition, Int32)
Start workflow instance based on given template and associated with given document version
Public methodInitiateWorkflow(Int32, WorkflowTemplateDefinition, Int32, WorkflowDetails, NullableInt32, NullableGuid, NullableInt32, Boolean, Database, DbTransaction)
Public methodInitiateWorkflowForDocuments
Start workflow based on given template and associated with given document versions.
Public methodInitiateWorkflowForSelection
Start workflow based on given template and associated with selection
Public methodIsWorkflowDocumentsChanged
Returns true if documents from workflow was changed
Public methodStatic memberIsWorkflowStatusSpeedUpWithStoredProcedureCache
Public methodMarkTasksAsNotNew
Obsolete method.
Public methodPrepareWorkflowForDocument
Prepare a workflow template for the document version.
Public methodPrepareWorkflowForDocuments(Int32, Int32, ADAMObject, ADAMObject, Boolean)
Prepare workflow template for selected document versions.
Public methodPrepareWorkflowForDocuments(Int32, Int32, ADAMObject, ADAMObject, Boolean, Database, DbTransaction)
Public methodPrepareWorkflowForSelection
Prepare workflow template for selection.
Public methodPrepareWorkflowsToDownload
This method is obsolete.
Public methodRaiseTaskCompletedEvent
Completes specified task.
Public methodRaiseTaskCompletedEventV2
Completes specified task.
Public methodRaiseTaskDelegated
Delegates task to specified user.
Public methodRaiseTaskOverriden(Guid, Guid)
Override specified task.
Public methodRaiseTaskOverriden(Guid, Guid, Database, DbTransaction)
Public methodRemoveDocumentsFromWorkflow
Remove documents from active workflow.
Public methodRemoveSelectionFromWorkflow
Remove selection from active workflow.
Public methodRemoveWorkflowTemplate
Remove specified workflow template.
Public methodRenameWorkflow
Rename a workflow instance.
Public methodRestartWorkflow
Restart specified workflow instance from the given task.
Public methodRestoreTaskDelegation
Restore the original participant of selected workflow task.
Public methodRestoreWorkflowInitiators
Restore original initiators of selected workflows.
Public methodSetDocumentTaskReserved
Reserve or undo reservation of a 1 of X task associated with a document.
Public methodSetExistingWorkflowSettings
Set "add to existing" workflow settings.
Public methodSetTaskReserved
Reserve or undo reservation of a 1 of X task.
Public methodSetUserStatusReportCriteria
Set user's status report criteria used by Workflow Status Report
Public methodSetUserStatusReportCriteriaPin
Set user's status report criteria pin used by Workflow Status Report
Public methodStartActivity(Guid, WorkflowTemplateDefinition, ListWorkflowTaskDetails, Activity, String, NullableWorkflowActionTypes, String, Database, DbTransaction)
Public methodStartActivity(Guid, WorkflowTemplateDefinition, ListWorkflowTaskDetails, Activity, String, NullableWorkflowActionTypes, String, DateTime, Database, DbTransaction)
Public methodTaskCompleted(Guid, Guid, TaskApprovalStatus, NullableDateTime, String, Guid, String, Database, DbTransaction)
Public methodTaskCompleted(Int32, TaskApprovalStatus, String, Guid, String, String, NullableInt32, NullableGuid, String)
Completes task associated with specified document.
Public methodTaskCompletedV2
Completes task associated with specified document.
Public methodTaskDelegated
Delegate task associated with specified document.
Public methodValidateTemplateForSchema
Check whether template observers and participants have access to specified schema.
Top
Extension Methods
See Also