Automic Workload Automation

 View Only

  • 1.  AWI configuration properties

    Posted 2 days ago
    Edited by Michael A. Lowry 2 days ago

    Discovering AWI configuration properties

    To get a complete list of AWI configuration properties, enable log level TRACE, and then run this script on the resultant AWI log file.

    awi_log_file=$1
    echo "Property;Value;Default;Variable"
    while read line
    do
            property=$(echo $line | awk -F' -> ' '{print $1}')
            value_and_default=$(echo $line | awk -F' -> ' '{print $2}')
            value=$(echo "$value_and_default" | awk -F' ' '{print $1}')
            default=$(echo "$value_and_default" | awk -F' ' '{print $2}' | sed 's/^.//')
            variable="AUTOMIC_$(echo "${property//./_}" | tr '[:lower:]' '[:upper:]')"
            echo "$property;$value;$default;$variable"
    done <<< $(awk -F 'Loaded configuration value:' '{print $2}' $awi_log_file | sort | uniq)

    This script looks for lines like this in the AWI log:

    2025-08-07 09:02:47,306 qtp1263800094-23162    [TRACE] NOLOGIN/- NOUI   [com.uc4.webui.common.properties.Configurable] -
    Loaded configuration value: trace.level -> 3 (0 default)

    It strips away everything before Loaded configuration value: , and parses the remaining text to output the following pieces of information, separated by semicolons:

    • property name
    • current value
    • default value
    • the corresponding environment variable name for use in container-based environments (e.g., Kubernetes)

    You can then import this text into a spreadsheet app such as Excel. Here's a sample of the output.

    Property Value Default Environment variable
    ae.max.widget.activites null 100 AUTOMIC_AE_MAX_WIDGET_ACTIVITES
    asyncLoadingTimeoutMilliseconds 360000 180000 AUTOMIC_ASYNCLOADINGTIMEOUTMILLISECONDS
    autofill.cookie.allowed null true AUTOMIC_AUTOFILL_COOKIE_ALLOWED
    automationEngineConnectionReconnect null true AUTOMIC_AUTOMATIONENGINECONNECTIONRECONNECT
    automationEngineConnectionStrategy null random AUTOMIC_AUTOMATIONENGINECONNECTIONSTRATEGY
    automationEngine.index null -1 AUTOMIC_AUTOMATIONENGINE_INDEX
    automationEngineOpenConnectionTimeoutMilliseconds 360000 10000 AUTOMIC_AUTOMATIONENGINEOPENCONNECTIONTIMEOUTMILLISECONDS
    automationEngineTimeoutMilliseconds 360000 180000 AUTOMIC_AUTOMATIONENGINETIMEOUTMILLISECONDS
    cache null 3600 AUTOMIC_CACHE
    connection.name null null AUTOMIC_CONNECTION_NAME
    cookie.maxAge null 1209600 AUTOMIC_COOKIE_MAXAGE
    csp.enabled null false AUTOMIC_CSP_ENABLED
    csp.whitelist null AUTOMIC_CSP_WHITELIST
    customHomeDashboardsFolder null DASHBOARDS AUTOMIC_CUSTOMHOMEDASHBOARDSFOLDER
    debug true false AUTOMIC_DEBUG

    Note that not all AWI configuration properties are documented. Altering undocumented properties may not be supported by the vendor.



  • 2.  RE: AWI configuration properties

    Posted 2 days ago
    Edited by Michael A. Lowry 2 days ago

    Discovering all AWI configuration properties in an AAKE environment is somewhat complicated by the fact that there appears to be no straightforward way to enable AWI tracing at application startup. The application reliably prints all Loaded configuration value messages only at application startup.

    See the discussion Setting AWI log level in AAKE for details.