Filter RecordType in a!queryProcessAnalytics()

I have a process variable of type RecordType in processes. Now I want to read the data in an expression rule.

The output now returns fields with the names c1, c2, c3, c4, ... My data from RecordType is in c4.

Can I filter the data directly with a!queryProcessAnalytics via a!query? For example, only the data records that were created in a specific country?

Expression Rule:

a!queryProcessAnalytics(
    report: cons!PGN_REPORT,
    contextProcessModels: cons!PGN_PROCESS_MODEL,
    query: a!query(
        filter: a!queryFilter(field: "c4"[country], operator: "=", value: "UK"),
        pagingInfo: a!pagingInfo(startIndex: 1, batchSize: - 1)
    )
)

In my example, I realize that “c4”[country] does not work, but what do I need to write for this?

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data