Advanced reference qualifier using script include OR Restrict the records in a reference field

Поділитися
Вставка
  • Опубліковано 6 лис 2024

КОМЕНТАРІ • 11

  • @holidaydalgleish819
    @holidaydalgleish819 7 місяців тому

    Loved it, thanks!

  • @nadeemkh100
    @nadeemkh100 3 роки тому +1

    Thank you So Much Harshad, Very helpful and to the point. Thanks again

  • @malinima4084
    @malinima4084 4 роки тому +2

    Thank you so much sir for this video.
    If we want to limit user based on their Name that is possible?
    And can we use two script include in single advanced reference qual.?

    • @theBeastMastersDojo
      @theBeastMastersDojo  4 роки тому +2

      Yes, you can limit based on a name. just frame your logic accordingly within your script include. Why do you want to call two script includes? Can't you merge your logic into one?

    • @malinima4084
      @malinima4084 4 роки тому +1

      @@theBeastMastersDojo
      In incident form, I want to limit some users account like admin and dev over caller field.
      But caller field already having some advance reference qualifier for location.
      Not able to join advance reference qualifier and simple
      Any way how to combine both
      I m new to servicenow development.please help me

    • @theBeastMastersDojo
      @theBeastMastersDojo  4 роки тому +1

      @@malinima4084 within the existing function referred in your reference qualifier you can append your new conditions.

    • @malinima4084
      @malinima4084 4 роки тому +1

      @@theBeastMastersDojo
      How any syntax is there?
      I tried to append with + filter condition it's not working

    • @theBeastMastersDojo
      @theBeastMastersDojo  4 роки тому +1

      @@malinima4084 No, there is no syntax as such. It's just that you need to frame your logic via script in such a way that it returns the sys id's of records which matches both your conditions.