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 External link opens a new window or tab

Automation Decision Services

Samples and tutorials

ADS samples on github External link opens a new window or tab

ADS CI/CD samples on github External link opens a new window or tab

Business Automation Application

Application Designer samples on github External link opens a new window or tab

Business Automation Insights

Importing BAI sample data

Alert samples for Business Automation Insights External link opens a new window or tab

Migration guide for BAI for Server External link opens a new window or tab

New in 25.0.0: BAI data usage tracking sample External link opens a new window or tab

Business Automation Workflow

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

PFS samples on github External link opens a new window or tab

FileNet® Content Manager

FileNet P8 Platform developer samples External link opens a new window or tab

FileNet samples on github External link opens a new window or tab

Operational Decision Manager

ODM samples on github External link opens a new window or tab

Workflow Process Server
For the Workflow Process Service trial, you can access a hiring sample process instance 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 use 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 External link opens a new window or tab

End-to-end samples

cp4ba-labs External link opens a new window or tab

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.