This object represents a document instance.
This method allows recovering a document.
Read (user, workitem, targetDirectory): character
Name |
Type |
Movement |
Description |
user |
WorkflowUser |
Input |
User who want to access the document |
workitem |
WorkflowWorkitem |
Input |
Allows to register the workitem between the operation |
targetDirectory |
Character |
Input |
Directory where the document will be copied |
This method allows logging into a previously locked document and check in the right to Write.
CheckIn (user, workitem, file)
Name |
Type |
Movement |
Description |
user |
WorkflowUser |
Input |
User that want to check in the document |
workitem |
WorkflowWorkitem |
Input |
Allows to register the workitem between the operation |
file |
Character |
Input |
Complete path to the document |
This method allows recovering a document check out the right to Write.
CheckOut (workitem, targetDirectory): file
Name |
Type |
Movement |
Description |
user |
WorkflowUser |
Input |
User that wants to recover and block the document |
workitem |
WorkflowWorkitem |
Input |
Allows to register the workitem between the operation |
targetDirectory |
Character |
Input |
Directory to copy the document |
This method allows undoing the check out on the right to Write that was previously done to a document.
UndoCheckOut (user)
Name |
Type |
Movement |
Description |
user |
WorkflowUser |
Input |
User the wants to unblock the document |
This method allows to load a document instance from its id and version
Load (id,version)
This method allows to share a document instance with another process instance.
Share(processinstance)
Name |
Type |
Movement |
Description |
processinstance |
WorkflowProcessInstance |
Input |
Process Instance to share the document |
This method allows to remove the user document.
Remove (user)
Name |
Type |
Movement |
Description |
user |
WorkflowUser |
Input |
User´s document to be removed. |