Disabling Unified Automation Builder for watsonx Orchestrate
This page provides instructions for disabling the Unified Automation Builder (UAB) component in watsonx Orchestrate.
Warning: The UAB disabling process is irreversible. After you disable UAB and run the
cleanup script, you cannot re-enable UAB without reinstalling the watsonx Orchestrate instance.
Ensure that you have a valid business reason and obtain the necessary approvals before
proceeding.
Overview
UAB provides automation capabilities that include:
- Automation Decision Services
- Workflow Services
- Document Processing
Prerequisites
- You must have access to the Red Hat® OpenShift® cluster with appropriate permissions.
- Ensure that the
oc CLItool is installed and configured. - You must have admin access to the watsonx Orchestrate namespace.
- Backup your watsonx Orchestrate configuration (recommended).
Disabling UAB
- Update the CR and run the UAB cleanup script
- Export your watsonx Orchestrate namespace.Run the following script to update the CR for disabling UAB and remove the UAB components:
export PROJECT_CPD_INST_OPERANDS=<cpd_operand_namespace>#!/bin/bash # Patch the WO CR to disable UAB oc patch wo wo -n $PROJECT_CPD_INST_OPERANDS \ --type=merge \ -p '{"spec":{"uab":{"enabled":false}}}' echo "Cleaning up UAB components.!!!" # Delete UAB Automation Decision Services oc delete uabautomationdecisionservices wo -n $PROJECT_CPD_INST_OPERANDS # Delete UAB Workflow Services oc delete uabwfservices wo -n $PROJECT_CPD_INST_OPERANDS # Delete Document Processing oc delete documentprocessings wo-docproc -n $PROJECT_CPD_INST_OPERANDS echo "Cleanup completed.!!!" echo "Monitor the WO CR status by running:" echo " oc get wo -n ${PROJECT_CPD_INST_OPERANDS} -o yaml" echo "Ensure the WO CR status is 'Completed'" echo "------------------------------------------------------------------"Script execution steps- Save the script to a file (for example,
disable_uab.sh):vi disable_uab.sh - Make the script executable:
chmod +x disable_uab.sh - Update the PROJECT_CPD_INST_OPERANDS variable in the script to match your namespace.
- Run the script:
./disable_uab.sh
- Save the script to a file (for example,
- Verify the cleanup
-
- To monitor the watsonx Orchestrate CR status and verify that the changes are successfully
applied:
Wait until the status showsoc get wo -n $PROJECT_CPD_INST_OPERANDS -o yamlCompleted. - To verify that the UAB components are
removed:
All commands must return# Check for UAB Automation Decision Services oc get uabautomationdecisionservices -n $PROJECT_CPD_INST_OPERANDS # Check for UAB Workflow Services oc get uabwfservices -n $PROJECT_CPD_INST_OPERANDS # Check for Document Processing oc get documentprocessings -n $PROJECT_CPD_INST_OPERANDS"No resources found"or similar messages. - To check whether the UAB configuration is disabled in the watsonx Orchestrate
CR:
The command must returnoc get wo wo -n $PROJECT_CPD_INST_OPERANDS -o jsonpath='{.spec.uab.enabled}'false.
- To monitor the watsonx Orchestrate CR status and verify that the changes are successfully
applied: