2 Replies Latest reply on Sep 11, 2019 7:06 AM by Szymon Zycinski

    integer enumerated property - setPropertyValueByName illegal value

    Szymon Zycinski
      Share This:

      I wrote a script to update server properties on daily basis and most of the properties are updated without any issue expect integer enumerated. I got:




      Command execution failed. com.bladelogic.om.infra.mfw.util.BlException: Attempting to set a illegal enumerated value for property: Urgency in instance: Class://SystemObject/Server/A**********2


      while property dictionary allows such value:


      in script I inovke command:

      blcli_execute Server setPropertyValueByName $SERVERNAME Urgency "$Urgency"

      and echoed version looks like this:

      blcli_execute Server setPropertyValueByName A**********2 Urgency "2000"