-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
2,909 additions
and
705 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,54 @@ | ||
# Datacap Utils Toolkit | ||
|
||
Datacap Utils Toolkit is a collection of re-usable artifacts useful | ||
for integration with IBM Datacap REST services from IBM Business Automation Workflow. | ||
Datacap Utils Toolkit is a collection of re-usable artifacts useful for integration with IBM Datacap REST services from IBM Business Automation Workflow. | ||
|
||
Wiki: | ||
<a href="https://github.ibm.com/apollo-dba-community/wiki/tree/master/baw/development/toolkits/datacap-utils-toolkit" target="_blank">https://github.ibm.com/apollo-dba-community/wiki/tree/master/baw/development/toolkits/datacap-utils-toolkit</a> | ||
Repository: <a href="https://github.com/apollo-business-automation/datacap-utils-toolkit" target="_blank">https://github.com/apollo-business-automation/datacap-utils-toolkit</a> | ||
|
||
Releases: | ||
<a href="https://github.ibm.com/apollo-dba-community/releases/tree/master/datacap-utils-toolkit" target="_blank">https://github.ibm.com/apollo-dba-community/releases/tree/master/datacap-utils-toolkit</a> | ||
API: <a href="https://apollo-business-automation.github.io/datacap-utils-toolkit" target="_blank">https://apollo-business-automation.github.io/datacap-utils-toolkit</a> | ||
|
||
API: | ||
<a href="https://pages.github.ibm.com/apollo-dba-community/api/datacap-utils-toolkit" target="_blank">https://pages.github.ibm.com/apollo-dba-community/api/datacap-utils-toolkit</a> | ||
## Description | ||
|
||
Repository: | ||
<a href="https://github.ibm.com/apollo-dba-community/datacap-utils-toolkit" target="_blank">https://github.ibm.com/apollo-dba-community/datacap-utils-toolkit</a> | ||
The toolkit provides integration with Transactions which are provided via the Datacap Web Services REST API documented at https://www.ibm.com/docs/en/datacap/9.1.9?topic=reference-datacap-web-services-rest-api-methods | ||
|
||
For changes see <a href="https://github.ibm.com/apollo-dba-community/datacap-utils-toolkit/blob/master/CHANGELOG.md" target="_blank">CHANGELOG</a> | ||
## Content of the toolkit | ||
|
||
For sample usage see artifacts beginning with *ZTest* | ||
- Service flows – wrappers for transaction API calls: | ||
- Session Logon | ||
- Session Logoff | ||
- Transaction Start | ||
- Transaction Execute | ||
- Transaction End | ||
- Transaction Set File | ||
- Transaction Get File | ||
- Sample transaction flow for TravelDocs application which comes out-of-the-box with Datacap. | ||
- Recoding of files from UTF-16 LE BOM and UTF-8 BOM to UTF-8 | ||
- Sample process with a task allowing: | ||
- Upload and select document | ||
- Select the transaction REST endpoint | ||
- Call the transaction flow and see the output | ||
|
||
## Making Traveldocs Datacap application ready for transactions | ||
|
||
A slight adjustment of the Datacap application is needed in order to make it ready for transactions. | ||
|
||
![assets/update-datacap-application-export-path.png](assets/update-datacap-application-export-path.png) | ||
|
||
Instructions: | ||
- Open TravelDocs application in Datacap Studio. | ||
- Select and lock ruleset `ExportXML` for editing. | ||
- Navigate to the action following the screenshot below. | ||
- Update value of the action parameter on the right hand side to `@PILOT(BATCHDIR)` | ||
- Save the changes and publish the ruleset. | ||
|
||
## Usage | ||
|
||
- Import the release twx file into Workflow Center | ||
- Start process `ZTest Datacap Transaction` | ||
- Run task `ZTest Datacap Transaction` and open the task screen | ||
- Select one of the sample files already attached to the process instance or upload your file. | ||
- Review the REST endpoint configuration and update it if needed. | ||
- Select conversion from the proper UTF encoding. It may differ depending on on configuration of your Datacap. | ||
- Click the button to call the transaction. | ||
- See the output. | ||
|
||
You can adjust the REST endpoint in CSHS `ZTest Datacap TravelDocs Cshs Coach`. Edit the script called `Init`. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
.logo { | ||
display: none; | ||
} | ||
|
||
.main section article table td.name, | ||
.main section article table td.type, | ||
.main section article table td.attributes, | ||
.main section article table td.default { | ||
max-width: initial; | ||
} | ||
|
||
.main section article h3.subsection-title { | ||
padding-top: 0; | ||
} |
Oops, something went wrong.