Skip to Content
avatar image
Former Member

Can more than 1 search string be added in the find function in agentry editor?

Dear Experts,

I am using SAP Service Manager 4.2 for Syclo for which we are using Agentry Editor eclipse SDK 4.2.2.

Currently we are using a rule to restrict the product id to flow through Syclo for which we have used find function in the rule and passed one search string to compare with that product id.

While I am trying to add one more search string in that same rule and the function I am unable to add that.

Is there something on which I am missing, kindly help as I am new to the Agentry Environment.

Is there any other way to implement the rule?

Kindly help with the agentry perspective.


Ankur Mahapatra

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Nov 20, 2017 at 02:39 PM

    From the documentation...

    "The FIND function searches a source string for a provided sub-string and, depending on the context of the function call, returns one of the sub-string, the position of its first character within the source string, or an indicator as to whether or not it was located. This search can optionally be case-insensitive and may begin at the beginning of the source string or at some character position within the source string."

    So while the answer is no, depending on your use case you can achieve this by nesting Find functions based on if it was found or not. Your first find would look for term A and if found then call find a second time to search for term B and if found return true to indicate it matched both term A and term B.


    Add comment
    10|10000 characters needed characters exceeded