Listing filters and escalations that use the LIKE operator
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.
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.
- Download the objectswithoutwildcardinlike.zip file. See for the file.
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 Setting up an authentication alias.|
|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. For example, if you want to set the Long timeout value to 400 seconds, use
|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.