This documentation supports the 22.1 version of Action Request System.
To view an earlier version, select the version from the Product version menu.

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  this BMC Community discussion Open link for the file.

To run the utility

  1. Navigate to the directory where you have downloaded the objectswithoutwildcardinlike.zip file and then extract the ZIP file.

    Important

    (Windows) Run the objectswithoutwildcardinlike.bat file.

    (Linux) Run the objectswithoutwildcardinlike.sh file.

  2. Edit the objectswithoutwildcardinlike.bat file or objectswithoutwildcardinlike.sh file to specify the path to the artools directory where you downloaded the ZIP file.

  3. Run the utility.

    For example:
    C:\Program Files\BMC Software\ARSystem\artools>objectswithoutwildcardinlike

Parameters used

The following table describes the parameters that you can use with this utility:

ParameterDescription
-u

Specify the user name that identifies the user account for the AR System server .

-pSpecify the password for the user account. If the user account has no password, use -p "".
-aSpecify 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.
-xSpecify the name of the server to connect to.
-tSpecify the TCP port number to connect to. If the port number is unknown, use -t 0.
-timeout

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:

-timeout Normal:Long:XLong

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 -timeout 120:400:1800.

-fSpecify the location to create the file containing the list of objects having no wildcards in the LIKE operator.

Example

Output

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.

Was this page helpful? Yes No Submitting... Thank you

Comments