Bonitasoft Workflow connector
Contents
How to configure OpenKM Connectors
Go to OpenKm in the connectors list. Select a connector. Click on Next.
Figure 1. Select a connector. |
Upload 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 | Path in OpenKM | String |
Table 1. Input parameters to upload a document. |
Configure the server information and click on Next.
Configure the document information and click on Next.
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 |
Table 2. Output parameters. |
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.
Configure the document information and click on Next.
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 |
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.
Configure the document information and click on Next.
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 |
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.
Configure the document information and click on Next.
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 |
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.
Configure the document information and click on Next.
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 |
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.
Configure the document information and click on Next.
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 |
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.
Configure the document information and click on Next.
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 |
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.
Configure the folder information and click on Next.
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 |
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.
Configure the folder information and click on Next.
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 |
Table 18. Output parameters. |