Menu

How to create OQL inactive person/contact

janis
2022-04-12
2022-04-13
  • janis

    janis - 2022-04-12

    SELECT Person WHERE status='inactive' do not work

     
  • Jeffrey Bostoen

    Jeffrey Bostoen - 2022-04-13

    Which error do you get? It seems fine at first sight (haven't tested it yet)?

     
    • janis

      janis - 2022-04-13

      Query Results - empty in iTop Run queries utilities

       

      Last edit: janis 2022-04-13
  • Jeffrey Bostoen

    Jeffrey Bostoen - 2022-04-13

    But it didn't show an error message that your query was invalid? Are there inactive people?

     
  • janis

    janis - 2022-04-13

    I have a many of inactive users, but itop didnt show this Person and didn't show any error message.
    For example SQL: SELECT * FROM contact WHERE status = "inactive"; Showing rows 0 - 24 (126 total, Query took 0.0007 seconds.)

     

    Last edit: janis 2022-04-13
  • Vincent @ Combodo

    Hello Janis,
    Thanks for this report. I have reproduce the issue in 3.0.0... In which version are you testing ?

     
    • janis

      janis - 2022-04-13

      iTop version 3.0.0-8663

       
  • Vincent @ Combodo

    But it might be related to your user preference, if you say uncheck "Show obsolete data" (it's the default in user preference, then your query returns nothing. Otherwise, it works.

     
    • janis

      janis - 2022-04-13

      thx Vincent @ Combodo , it works

       

      Last edit: janis 2022-04-13

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.