1 2 Previous Next 24 Replies Latest reply on Mar 13, 2018 9:20 AM by WARRIOR

    FIND RECID OR OTHER VALUES FROM A BUSINESS OBJECT USING VALUE FROM ANOTHER FIELD

    WARRIOR Apprentice

      We have a need to find an unknown value stored in a field of a business object.

       

      Unfortunately the only way we see in ITSM to do so is by using the RecID, which we do not know either.

       

      Is it possible in ITSM to find a RecID using a field of known unique value?

       

      Consider this to be the reverse of the EvalField function, which allows you to find a field value if you know the name of the business object, the RecID, and the field from which you want a value returned.

       

      A simple implementation like GetRecID("BusinessObjectName", "UniqueField", "ValueToCheck") that returns a RecID should do the trick.

       

      If function GetRecID as described above were available, the returned value could be used along with EvalField to find the value of a field even when the RecID is not known as follows:

       

      EvalField("BusinessObjectName", GetRecID("BusinessObjectName", "UniqueField", "ValueToCheck"), "FieldToEvaluate")

       

      Responses will be well appreciated.

        1 2 Previous Next