a!queryProcessAnalytics

Certified Senior Developer

a!query inside a!queryProcessAnalytics not working where in we need to show up tasks whose assignedto column is not empty .check if one of the column is not null

query: a!query(
filter: a!queryFilter(
field: "c8",
operator: "is not null")
)

  Discussion posts and replies are publicly visible

Parents Reply Children
  • 0
    Certified Senior Developer
    in reply to Peter Lewis

    Wanted to know if  operator = "is not null" on a!queryFilter while used in a!queryProcessAnalytics does not work?

    So that we can make sure we do not take this approach before committing to business.

  • 0
    Certified Lead Developer
    in reply to ganeshbabuj

    When you use query filters on process reports it's super finnicky about data types.  "is not null" strictly requires the data type of the target field to be single, plain, text.  If it's something else, the filter will just not work.

    One suggestion I can make based on what I've had to do in the past: you can create extra columns in the process report, containing the same data but assigned differently.  For instance, if the definition for the column you're trying to query the NULLness of is defined as "tp!assignees", you could create a new column where you define it as "tostring(tp!assignees)", which would force the data in that (new) column to come back as singular, plain text data.