JQ Task
JQ task is a system task that allows processing of task input parameters JSON data, by using the popular JQ processing tool's query expression language.
There are several tabs available where you can configure a JQ task:
- General tab
- Input Parameters tab
- JQ Filter tab
- Routing tab
The configuration of the General, Input Parameters, and Routing tabs is similar to that of a user task. We discuss only the JQ Filter tab here.
JQ Filter tab
From the JQ Filter tab, setup the following fields:
Field |
Required |
Description |
---|---|---|
Expression |
Yes |
The JQ query expression. For complete JQ documentation, refer to the JQ Manual. |
The Test with Input Parameters button allows you to test the JQ query expression with the task input parameters JSON data.
Output
The result for the JQ expression is a JSON Object with the following fields:
Field |
Description |
---|---|
result |
The first results returned by the JQ expression |
resultList |
A List of results returned by the JQ expression |