Optional: Customizing Business Automation Workflow properties

You can add custom configuration for Business Automation Workflow by modifying the properties, such as the Workflow Server connection properties.

About this task

In a production deployment of Workflow Authoring, you can customize the following properties:
  • workflow_authoring_configuration.liberty_custom_xml to customize the Liberty server. If the customization does not contain sensitive information, you can use this property to put the customization directly into the custom resource.
  • workflow_authoring_configuration.custom_xml_secret_name to customize the Liberty server if the customization contains sensitive information
  • workflow_authoring_configuration.lombardi_custom_xml_secret_name to customize Workflow Authoring
Important: Put your configuration settings either in workflow_authoring_configuration.liberty_custom_xml or in workflow_authoring_configuration.custom_xml_secret_name. Don't specify the same configuration value in both places.
In a production deployment of Workflow Runtime, you can customize the following properties:
  • baw_configuration[x].liberty_custom_xml to customize the Liberty server. If the customization does not contain sensitive information, you can use this property to put the customization directly into the custom resource.
  • baw_configuration[x].custom_xml_secret_name to customize the Liberty server if the customization contains sensitive information
  • baw_configuration[x].lombardi_custom_xml_secret_name to customize the Workflow Server
Important: Put your configuration settings either in baw_configuration[x].liberty_custom_xml or in baw_configuration[x].custom_xml_secret_name. Don't specify the same configuration value in both places.

Procedure

  1. To customize Liberty properties:
    • To use XML, add a plain XML snippet in the custom resource file in the liberty_custom_xml property. The settings will be merged into the Liberty settings for the component.
      The XML snippet must be in the <server> element, as shown in the following example.
      liberty_custom_xml: |+
        <server>
          <!-- custom properties here -->
        </server>
      
      For more information about Liberty customization, see Administering Liberty manually.
    • To use a secret, do the following steps.
      1. Create a customized XML file, such as custom.xml.
      2. Create a customized secret using the following command:
        kubectl create secret generic custom-xml-secret-name --from-file=sensitiveCustomConfig=./custom.xml
      3. Set the custom_xml_secret_name (for Workflow Authoring) property to the secret name in the custom resource file.
  2. You can also modify Workflow configuration properties in a 100Custom.xml file. For details about working with the 100Custom.xml file, see Creating a 100Custom.xml configuration file.
    1. Create a 100Custom.xml file if you don't have one.
    2. Create a customized secret using the following command:
      kubectl create secret generic custom-xml-secret-name --from-file=sensitiveCustomConfig=./custom.xml
    3. Set the lombardi_custom_xml_secret_name property to the secret name in the custom resource file.
  3. After you modify the custom resource file, you must update your deployment to have it take effect. Follow the instructions in Updating deployments.
    To verify the 100Custom.xml settings, check for the files on the server pods. For more information, see Location of 100Custom configuration files.