This documentation applies to the 8.0 version of Remedy Action Request System, which is in "End of Version Support." You will not be able to leave comments.

To view the latest version, select the version from the Product version menu.

Filter and escalation workflow considerations

Some server-side workflow actions call byte-oriented filter functions, such as LENGTH, SUBSTR, and STRSTR. Character -oriented equivalents, such as LENGTHC, SUBSTRC, and STRSTRC, also exits. Because UTF-8, Chinese, Japanese, and Korean characters can occupy one or more bytes, the byte-oriented and character-oriented lengths and offsets are different. When creating workflow actions, be aware of the difference. For example:

  • LEFT($8$, 3) extracts a prefix of no more than 3 bytes from field 8.
  • LEFTC($8$, 3) extracts a prefix of no more than 3 characters from field 8.

This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

Comments

  1. Misi Mladoniczky

    LEFT, LENGTH, SUBSTR, STRSTR etc has been deprecated as of version 8.0, so this raises the question on how this article apply.

    And what happened to any workflow using the deprecated functions.

    Were they been replaced by LEFTC, LENGTHC automatically? Or maybe they just started working like LEFT, LENGTH etc and from now on also counts characters? What if I try ti import an old DEF file into a new server?

            Best Regards - Misi, RRR AB, http://rrr.se

    Sep 17, 2014 06:04
    1. Prachi Kalyani

      Hello Misi,

      Thank you for your comment. The byte-oriented filter functions such as LEFT, LENGTH, SUBSTR, STRSTR and the Character-oriented equivalents, such as  LEFTC, LENGTHC, SUBSTRC, STRSTRC are still available in BMC Remedy AR System version 8.0.

      Thanks,

      Prachi

      Sep 25, 2014 01:07
      1. Misi Mladoniczky

        Hi Prachi,

        I thought I read that it was deprecated in 8.0, but apparently it says 8.1:
        https://docs.bmc.com/docs/display/public/ars81/Functions

        The original comment would be valid for 8.1 instead though. I will post it there instead.

                Best Regards - Misi, RRR AB, http://rrr.se

        Sep 25, 2014 02:39
        1. Prachi Kalyani

          Hello Misi,

          Thank you for your comment. LEFT, LENGTH, SUBSTR, STRSTR are deprecated from BMC Remedy AR System version 8.1. These functions are replaced by the LEFTC, LENGTHC, SUBSTRC, STRSTRC .

          If you import an old DEF file into a new server the LEFT, LENGTH, SUBSTR, STRSTR functions will still available. But BMC recommends to use the LEFTC, LENGTHC, SUBSTRC, STRSTRC functions.

          Thanks,

          Prachi

          Sep 25, 2014 04:51