TheWFInstance |
Scroll |
TheWFInstance represents an instance of an Thereforeā¢ workflow process. It maintains task sequences, transitions and document links. It can be claimed an unclaimed by a user and controls task completion and delegation.
Namespace: Therefore.API
|
Name |
Description |
Determines if the user has to enter his password in order to complete the current task. |
|
Gets the user name of the user the instance is currently assigned to. |
|
Gets the number of TheWFChecklistItem objects in the workflow instance. |
|
Gets the claimed status of the instance. |
|
Gets the name of the current workflow task for the instance. |
|
Gets the number of the current workflow task for the instance. |
|
Gets the TheWFTaskType of the current task. |
|
Determines if delegating the current task is allowed or not. |
|
Gets the additional error text if an error occurred in an automatic task. |
|
Gets the error string describing the error if an error occurred in an automatic task. |
|
Gets the timestamp when the error occurred. |
|
Gets the number of TheWFHistoryEntry objects in the workflow instance. |
|
Gets the user number of the user who started the workflow instance. |
|
Gets the unique instance number of the workflow instance. |
|
Determines if the user is in the list of potential claimants for the instance. |
|
Determines if the current task is a category change task. |
|
Determines if the current user has process owner rights for the workflow instance. |
|
Gets the number of linked TheWFDocument objects in the workflow instance. |
|
Gets the number of next tasks in the workflow instance. |
|
Gets the date when the current workflow instance should be finished routing / processing. |
|
Gets the name of the workflow process the instance belongs to. |
|
Gets the number of the workflow process the instance belongs to. |
|
Gets the date when the current workflow instance was started. |
|
Gets the date when the current task instance should be finished. |
|
Gets the date when the current task instance was started. |
|
Gets the long additional text information for the current workflow instance. |
|
The unique number for the current workflow token. |
|
Gets the number of TheWFTransition objects in the workflow instance. |
|
Determines if the user instructions are displayed as a checklist. |
|
Gets the version number of the workflow process the instance belongs to. |
All properties are read-only.
Name |
Description |
Claims the workflow instance. |
|
Delegates the workflow instance to the specified user. |
|
Deletes the workflow instance. |
|
Finishes the current task, routes the workflow instance to nNextTaskNo and assigns it to user nNextUserNo with the type nNextUserType. |
|
Returns the TheWFChecklistItem with the specified index. |
|
Gets the currently used LCID. |
|
Returns the TheWFHistoryEntry with the specified index. |
|
Returns the linked TheWFDocument with the specified index. |
|
Returns the next task with the specified index. |
|
Gets the task number of the next task after the specified one. |
|
Returns the TheWFTransition with the specified index. |
|
Links the Thereforeā¢ document to the workflow instance. |
|
Loads a workflow instance from the Thereforeā¢ server. |
|
Loads the reroute tasklist from Thereforeā¢ server. Only available if current user is the process owner of the current workflow process. |
|
Removes the document link to an Thereforeā¢ document from the workflow instance. |
|
Commits changes made to the current workflow instance to the server. |
|
Sets the checked status for the specified checklist item. |
|
Sets the currently used LCID. |
|
Sets the free text information for the workflow instance. |
|
Loads a workflow instance from the Thereforeā¢ server and displays it in the default Thereforeā¢ workflow instance dialog. |
|
Loads the history of a workflow instance from the Thereforeā¢ Server and displays it in the default Thereforeā¢ workflow instance history dialog. |
|
Unclaimes the current workflow instance if claimed by the current user. |