Actions17
Query → Get Tasks
AI-generatedSummary
Execute a 'Get Tasks' query against the Edworking GraphQL API using either a predefined operation with optional JSON variables or a raw custom GraphQL query with variables.
Inputs
- Mode (required) — Select whether to run a predefined documented query or mutation with optional JSON variables ('Predefined Operation') or provide a complete custom GraphQL query or mutation string ('Raw GraphQL').
- Variables (Predefined Mode) — A JSON object string to supply variables for the selected predefined operation; leave as '{}' or empty if no variables are needed.
- GraphQL Query (Raw Mode) (required) — Enter the full GraphQL query or mutation string to execute.
- Operation Name (Raw Mode) — Optional name of the operation to accompany the raw GraphQL query.
- Variables (Raw Mode) — A JSON object string to supply variables for the raw GraphQL query; leave as '{}' or empty if no variables are needed.
- Result Property Name — Specify a property name to store the GraphQL data under in the output JSON. If empty, the output replaces the item JSON with the data object.
- Include Extensions — Boolean flag indicating if the GraphQL extensions object should be included in the output JSON under the property '_extensions'.
Output shape
a single item or list of items matching the input batch, each containing the GraphQL data either as the entire JSON or nested under the specified result property; binary data from input items is preserved and included if present.
If 'Include Extensions' is enabled and extensions are returned by the API, they appear under '_extensions' in the output JSON. Errors from the GraphQL API surface as node operation errors unless 'Continue on Fail' is enabled. The variables parameters must be valid JSON strings; invalid JSON raises errors.
Examples
Example 1: Retrieve tasks using predefined 'Get Tasks' operation with no variables.
Mode set to 'Predefined Operation', Resource set to 'Query', Operation set to 'Get Tasks', Variables left as '{}'. Data returned is the decoded API response under JSON.
Example 2: Query tasks with custom GraphQL to include specific fields.
Mode set to 'Raw GraphQL', GraphQL Query containing the custom query string, optional operation name and variables JSON provided if needed. Data is returned accordingly.