Listing filters and escalations by using the Like Operator Object Identifier utility
Use the Like Operator Object Identifier utility to list all filters and escalations where the
LIKE operator is used without a wildcard in the Run If qualification. This utility is available in the artools folder. You can use this utility to identify and list the workflows that contain the
LIKE operator that is used without a wildcard.
The wildcard symbols are interpreted as wildcards only when they are used with the LIKE operator. Otherwise, they are interpreted literally. Conversely, when the LIKE operator is used without the wildcards, the LIKE operator functions like an Equal To (=) operator. This utility provides you with the list of objects. As a part of post-deployment tasks, you must use this utility and then check and correct those objects. Otherwise, you might lose your customizations or experience breaking of business logic.
Before you begin
- Make sure that you go to the artools directory and then set the JAVA_HOME path to C:\Program Files\Java\<jre version> in the Command prompt.
- Make sure you log on to BMC Communities and download the objectswithoutwildcardinlike.zip file on your system.
To run the utility
Navigate to the directory where you have downloaded the objectswithoutwildcardinlike.zip file and then extract the ZIP file.
(Windows) Run the objectswithoutwildcardinlike.bat file.
(Linux) Run the objectswithoutwildcardinlike.sh file.
Edit the objectswithoutwildcardinlike.bat file or objectswithoutwildcardinlike.sh file to specify the path to the artools directory where you downloaded the ZIP file.
Run the utility.
C:\Program Files\BMC Software\ARSystem\artools>objectswithoutwildcardinlike
The following table describes the parameters that you can use with this utility:
|Specify the user name that identifies the user account for the AR System server.|
|Specify the password for the user account. If the user account has no password, use -p "".|
|Specify the name of the external authentication string or Windows NT domain. This is related to the Login window's Authentication field. See Authentication String Alias introduction.|
|Specify the name of the server to connect to.|
|Specify the TCP port number to connect to. If the port number is unknown, use -t 0.|
Specify the timeout period for connecting to the server. You can specify Normal, Long, and XLong seconds after which the timeout occurs. Use the following format to specify the timeout values:
You must specify all three values even if you want to set one timeout value.
|Specify the location to create the file containing the list of objects having no wildcards in the LIKE operator.|
The objectswithoutwildcard.txt and objectswithwildcard.txt files are generated in the directory that you provided in the
-f parameter. These files contain the lists of all filters and escalations with the
LIKE operator without a wildcard and with a wildcard, respectively.
This utility provides you with the list of objects. Make sure that you check those objects and then correct those objects.