Bonitasoft Workflow connector

From OpenKM Documentation
Revision as of 09:00, 20 October 2014 by Jllort (talk | contribs)

Jump to: navigation, search

How to configure OpenKM Connectors

Go to OpenKM in the connectors list. Select a connector. Click on Next.

SelectAConnectorDefinition.jpg

Upload a document

Inputs.

Enter the following input parameters to upload a document.

Input Description Type
Host IP address or name of OpenKM directory host server String
Username OpenKM user name String
Password OpenKM password String
File to upload Document attachment String
Destination path Path in OpenKM String


Configure the server information and click on next.

UploadDocument-OpenKMConfiguration.jpg


Configure the document information and click on next.

UploadDocument-Fileinformation.jpg


Outputs.

Map the output of this connector to a variable in the process. Click on Finish.

Output Description Type
okmStatus Response status Bool
okmErrorCause Response error cause String
okmErrorMessage Response error message String


OutPut operations.jpg

Download document

Inputs.

Enter the following input parameters.

Input Description Type
Host IP address or name of OpenKM directory host server String
Username OpenKM user name String
Password OpenKM password String
Document to download Document path in OpenKM String
Destination path Output path String
Table 3. Input parameters to download a document.


Configure the server information and click on Next.

DownloadDocument-OpenKMConfiguration.jpg

Figure 5. Configure the server information.


Configure the document information and click on Next.

DownloadDocument-DocumentInformation.jpg

Figure 6. Configure OpenKM connector to download a document.

Outputs.

Map the output of this connector to a variable in the process. Click on Finish.

OutPut operations.jpg

Figure 7. Outputs operation.


Output Description Type
okmStatus Response status Bool
okmErrorCause Response error cause String
okmErrorMessage Response error message String
Table 4. Output parameters.


Download document by version

Inputs.

Enter the following input parameters.

Input Description Type
Host IP address or name of OpenKM directory host server String
Username OpenKM user name String
Password OpenKM password String
Document to download Document path in OpenKM String
Version of document Version of document String
Destination path Output path String
Table 5. Input parameters to download a document by version.


Configure the server information and click on Next.

DownloadDocumentByVersion-OpenKMConfiguration.jpg

Figure 8. Configure the server information.


Configure the document information and click on Next.

DownloadDocumentbyVersion-DocumentInformation.jpg

Figure 9. Configure OpenKM connector to download by version a document.

Outputs.

Map the output of this connector to a variable in the process. Click on Finish.

OutPut operations.jpg

Figure 10. Outputs operation.


Output Description Type
okmStatus Response status Bool
okmErrorCause Response error cause String
okmErrorMessage Response error message String
Table 6. Output parameters.


Delete a document

Inputs.

Enter the following input parameters.

Input Description Type
Host IP address or name of OpenKM directory host server String
Username OpenKM user name String
Password OpenKM password String
Document to delete Document path in OpenKM String
Table 7. Input parameters to delete a document.


Configure the server information and click on Next.

DeleteDocument-OpenKMConfiguration.jpg

Figure 11. Configure the server information.

Configure the document information and click on Next.

DeleteFolder-FolderInformation.jpg

Figure 12. Configure OpenKM connector to delete a document.


Outputs.

Map the output of this connector to a variable in the process. Click on Finish.

OutPut operations.jpg

Figure 13. Outputs operation.


Output Description Type
okmStatus Response status Bool
okmErrorCause Response error cause String
okmErrorMessage Response error message String
Table 8. Output parameters.


Checkout document

Inputs.

Enter the following input parameters.

Input Description Type
Host IP address or name of OpenKM directory host server String
Username OpenKM user name String
Password OpenKM password String
Document to checkout Document path in OpenKM String
Table 9. Input parameters to checkout a document.


Configure the server information and click on Next.

Checkout-OpenKMConfiguration.jpg

Figure 14. Configure the server information.


Configure the document information and click on Next.

Checkout-DocumentInformation.jpg

Figure 15. Configure OpenKM connector to checkout a document.

Outputs.

Map the output of this connector to a variable in the process. Click on Finish.

OutPut operations.jpg

Figure 16. Outputs operation.


Output Description Type
okmStatus Response status Bool
okmErrorCause Response error cause String
okmErrorMessage Response error message String
Table 10. Output parameters.


Cancel checkout document

Inputs.

Enter the following input parameters.

Input Description Type
Host IP address or name of OpenKM directory host server String
Username OpenKM user name String
Password OpenKM password String
Document to cancel checkout Document path in OpenKM String
Table 11. Input parameters to cancel checkout of a document.


Configure the server information and click on Next.

Cancel check out-OpenKm Configuration.jpg

Figure 17. Configure the server information.


Configure the document information and click on Next.

Cancel checkout-DocumentInformation.jpg

Figure 18. Configure OpenKM connector to cancel chekout a document.


Outputs.

Map the output of this connector to a variable in the process. Click on Finish.

OutPut operations.jpg

Figure 19. Outputs operation.


Output Description Type
okmStatus Response status Bool
okmErrorCause Response error cause String
okmErrorMessage Response error message String
Table 12. Output parameters.


Checkin a document

Inputs.

Enter the following input parameters.

Input Description Type
Host IP address or name of OpenKM directory host server String
Username OpenKM user name String
Password OpenKM password String
File to upload Document attachment String
Destination path Document path in OpenKM String
Comment Comment String
Table 13. Input parameters to checkin a document.


Configure the server information and click on Next.

Checkin-OpenKMConfig.jpg

Figure 20. Configure the server information.


Configure the document information and click on Next.

Checkin-FileInformation.jpg

Figure 21. Configure OpenKM connector to checkin a document.


Outputs.

Map the output of this connector to a variable in the process. Click on Finish.

OutPut operations.jpg

Figure 22. Outputs operation.


Output Description Type
okmStatus Response status Bool
okmErrorCause Response error cause String
okmErrorMessage Response error message String
Table 14. Output parameters.


Create folder

Inputs.

Enter the following input parameters.

Input Description Type
Host IP address or name of OpenKM directory host server String
Username OpenKM user name String
Password OpenKM password String
Destination path Destination path in OpenKM String
Folder to create Folder name String
Table 15. Input parameters to create a folder.


Configure the server information and click on Next.

CreateFolder-OpenKMConfiguration.jpg

Figure 23. Configure the server information.


Configure the folder information and click on Next.

CreateFolder-folderInformation.jpg

Figure 24. Configure OpenKM connector to create a folder.


Outputs.

Map the output of this connector to a variable in the process. Click on Finish.

OutPut operations.jpg

Figure 25. Outputs operation.


Output Description Type
okmStatus Response status Bool
okmErrorCause Response error cause String
okmErrorMessage Response error message String
Table 16. Output parameters.


Delete folder

Inputs.

Enter the following input parameters.

Input Description Type
Host IP address or name of OpenKM directory host server String
Username OpenKM user name String
Password OpenKM password String
Folder to delete Folder path in OpenKM String
Table 17. Input parameters to delete a folder.


Configure the server information and click on Next.

DeleteFoldert-OpenKMConfiguration.jpg

Figure 26. Configure the server information.


Configure the folder information and click on Next.

DeleteFolder-FolderInformation.jpg

Figure 27. Configure OpenKM connector to delete a folder.


Outputs.

Map the output of this connector to a variable in the process. Click on Finish.

OutPut operations.jpg

Figure 28. Outputs operation.


Output Description Type
okmStatus Response status Bool
okmErrorCause Response error cause String
okmErrorMessage Response error message String
Table 18. Output parameters.