Difference between revisions of "Bonitasoft Workflow connector"
Line 59: | Line 59: | ||
[[File:uploadDocument-Fileinformation.jpg|center]] | [[File:uploadDocument-Fileinformation.jpg|center]] | ||
{| border="0" cellpadding="2" cellspacing="0" align="center" | {| border="0" cellpadding="2" cellspacing="0" align="center" | ||
− | |Figure 3. Configure OpenKM connector to upload a | + | |Figure 3. Configure OpenKM connector to upload a file. |
|} | |} | ||
Line 68: | Line 68: | ||
[[File:outPut operations.jpg|center]] | [[File:outPut operations.jpg|center]] | ||
+ | {| border="0" cellpadding="2" cellspacing="0" align="center" | ||
+ | |Figure 4. Outputs operation. | ||
+ | |} | ||
Line 131: | Line 134: | ||
[[File:downloadDocument-OpenKMConfiguration.jpg|center]] | [[File:downloadDocument-OpenKMConfiguration.jpg|center]] | ||
+ | {| border="0" cellpadding="2" cellspacing="0" align="center" | ||
+ | |Figure 5. Configure the server information. | ||
+ | |} | ||
+ | |||
Configure the document information and click on Next. | Configure the document information and click on Next. | ||
[[File:downloadDocument-DocumentInformation.jpg|center]] | [[File:downloadDocument-DocumentInformation.jpg|center]] | ||
+ | {| border="0" cellpadding="2" cellspacing="0" align="center" | ||
+ | |Figure 6. Configure OpenKM connector to download a document. | ||
+ | |} | ||
'''Outputs.''' | '''Outputs.''' | ||
Line 141: | Line 151: | ||
[[File:outPut operations.jpg|center]] | [[File:outPut operations.jpg|center]] | ||
+ | {| border="0" cellpadding="2" cellspacing="0" align="center" | ||
+ | |Figure 7. Outputs operation. | ||
+ | |} | ||
Revision as of 20:27, 17 October 2014
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.
Figure 2. Configure the server information. |
Configure the document information and click on Next.
Figure 3. Configure OpenKM connector to upload a file. |
Outputs.
Map the output of this connector to a variable in the process. Click on Finish.
Figure 4. Outputs operation. |
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.
Figure 5. Configure the server information. |
Configure the document information and click on Next.
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.
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.
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. |