After you configure Process Federation Server, you can deploy and federate
Business Automation Workflow in Cloud Pak for Business Automation when Process Federation Server is in the same
namespace.
Note: This topic is for Business Automation Workflow in Cloud Pak for Business Automation only. The Process Federation Server in Cloud Pak for Business Automation cannot federate
stand-alone Business Automation Workflow on
containers servers.
Procedure
- Update the
baw_configuration section in the custom resource (CR) to add
the Process Federation Server
configuration.
baw_configuration:
- name: "<Required>"
## Whether the Business Automation Workflow instance hosts federated Process Portal.
## The value is either true or false.
host_federated_portal: <Required>
process_federation_server:
# Hostname of PFS. You could get it from external URL in PFS CR status.
hostname: "<Required>"
# context root prefix, e.g. "/pfs". You could get it from external URL in PFS CR status.
context_root_prefix: "<Required>"
- Apply your CR.
- Verify your configuration by running the Process Federation Server federation API to make sure
Business Automation Workflow is
federated.
- Get your Process Federation Server
REST base URL by running the command:
oc get pfs -o=jsonpath='{.items[0].status.endpoints[?(@.name=="Process Federation Server External base URL")].uri}'
- Run the systems metadata REST API to get the federated systems and make sure that the
deployed workflow is federated.
For example, the URL might look
like:
{pfsEndpointBaseUrl}rest/bpm/federated/v1/systems