Samples

Samples in the icp4a and other repositories on github.com provide runnable code examples to demonstrate some chosen features of Cloud Pak for Business Automation. The provided samples are meant to serve as inspiration and show good practices to achieve explicit end goals.

Table 1. Where to find samples for Cloud Pak for Business Automation capabilities
Capability (pattern) Where to find samples
Automation Document Processing

ADP samples on github

Automation Decision Services

Samples and tutorials

ADS samples on github

ADS CI/CD samples on github

Business Automation Application

Application Designer samples on github

Business Automation Insights

Importing BAI sample data

Alert samples for Business Automation Insights

Migration guide for BAI for Server

Business Automation Workflow

A hiring sample is available from the main page when you install Workflow Authoring.

PFS samples on github

FileNet Content Manager

FileNet P8 Platform developer samples

FileNet samples on github

Operational Decision Manager

ODM samples on github

Workflow Process Server
For the Workflow Process Service trial, there is a hiring sample process instance that can be accessed through Workplace:

A hiring sample is available from the main page when you install Workflow Process Service Authoring.

Table 2. Preinstalled samples in CP4BA starter deployments
Capability What is preinstalled?
Automation Document Processing

One project database is created with sample data. You can create only one Document Processing project. For more information about starter deployments, see Installing a CP4BA multi-pattern starter deployment.

Operational Decision Manager

A sample to validate users who request a loan. A sample decision service and a test suite. For more information about starter deployments, see Installing a CP4BA multi-pattern starter deployment.

Low-code applications

Built-in templates are available to import and make use of in Automation Decision Services and Business Automation Insights. For more information, see Working with dashboard templates.

Table 3. Digital Business Automation samples
Types of samples Where to find samples
Real-world use cases

Digital Business Automation - Body Of Knowledge

End-to-end samples

cp4ba-labs

Tip: If the folder is not available for the most recent version of the cp4ba-labs, the samples that are documented for older versions can be used in newer versions with some minor adjustments.