Jump to content

Justin Porter

Members
  • Posts

    9
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by Justin Porter

  1. @Mattias Seebergs when using Ftrack on newer systems, we're not getting the "Desktop Notifications" option - it says "Desktop notifications off" and is greyed out/unclickable. This is happening on macOS Catalina running the latest safari and Chrome, and on centOS running Chrome and Chromium. It shows up as expected on macOS Sierra in Safari/Chrome, and an older linux install in Chrome/Chromium. Any ideas?

  2. I'm trying to query for a specific value that exists in a multi-select dynamic enum. Here's the value of the attribute:

    In [10]: task['custom_attributes']['userDynEnum_Coordinator']
    Out[10]: [u'greyc', u'jennifera']

    If there's only one value selected in the enum, I can use this query:

    'Task where custom_attributes any (key is "userDynEnum_Coordinator" and value is "greyc")'

     

    But with multiple values, that doesn't work. I can use this:

    'Task where custom_attributes any (key is "userDynEnum_Coordinator" and value like "%greyc%")'

    But that's dangerous because if "grey" is ever a value, it would return that as well, and I don't want it to.

     

    I've also tried these query options and they throw errors:

    'Task where custom_attributes any (key is "userDynEnum_Coordinator" and value any ("greyc"))'
    'Task where custom_attributes any (key is "userDynEnum_Coordinator" and value has ("greyc"))'
    'Task where custom_attributes any (key is "userDynEnum_Coordinator" and "greyc" in value)'

     

    Any suggestions on what I could do here?

×
×
  • Create New...