Convert Symbolic Variables to lower case
search cancel

Convert Symbolic Variables to lower case

book

Article ID: 222127

calendar_today

Updated On:

Products

CA Workload Automation DE

Issue/Introduction

I am trying to use a lower case qualifier in a job argument but it converts it to uppercase; for example using %WOB._qualifier, is there a way to keep the case to lower case?

Environment

Release : 12.2

Component : CA WORKLOAD AUTOMATION DE (DSERIES)

Resolution

You can use toLowerCase Java function.

Example:
WOB._qualifier = WOB._qualifier.toLowerCase();
WOB._name = WOB._name.toLowerCase();

Additional Information

Built-In Symbolic Variables: https://techdocs.broadcom.com/us/en/ca-enterprise-software/intelligent-automation/ca-workload-automation-de/12-3/scheduling/using-javascript/symbolic-variables/built-in-symbolic-variables.html

https://techdocs.broadcom.com/us/en/ca-enterprise-software/intelligent-automation/ca-workload-automation-de/12-3/scheduling/examples-cookbook/using-the-application-name-in-the-script-path.html provides example of the toLowerCase function.