Skip to main content

Query a Case Management Table

When querying a case management table using a condition, and you are using both the in operator, it is essential to use the arr() function when working with arrays. Failing to do so will cause the workflow action to fail.For Example:
Query a Case Management Table by filling in the following parameters in the step.

Query a Case Management Table using SQL

Query a Case Management Table using SQL by filling in the following parameters in the step.
Please note that you need to use table and column names and not display names. Down below, is the full list of table and column names mapped to their display names.
To query associated cases linked to fields across different tables, use the following SQL query:
To fetch related record objects (e.g., full rows like id, name) for each case:

To fetch only the related record IDs instead of full objects:
Note: Replace <inserted_table_name> with the actual table name that is associated with the cases.
For example, to fetch alert records with selected fields attached to each case, you can use the following SQL query:

To fetch only the alert IDs attached to each case, you can use the following SQL query

List of Tables

Cases


Observables


Alerts


Attachments


Tasks


Custom Tables

If you’re using custom tables, please follow the Query a Table Using SQL docs to fetch the correct table scheme. You can get the full table name via the Copy Table ID button: