In this article
Table of Contents | ||||||
---|---|---|---|---|---|---|
|
Overview
You can use this Snap to connect with Workday Query Language (WQL) endpoints. WQL is a query language used in the Workday system for retrieving and manipulating data. WQL endpoints refer to the specific API endpoints that allow enable you to execute WQL queries against the Workday system programmatically. These endpoints enable you to interact with the Workday system, fetch data, and perform various operations.
...
Snap Type
The WorkdayQL Snap is a Read-type Snap that reads data from the WQL endpoints.
Prerequisites
...
Support for Ultra Pipelines
Works in Ultra Pipelines.
Limitations
To make WQL API calls, you need:
Access to the Workday Query Language security domain.
To create an API client or repurpose an existing one.
Support for Ultra Pipelines
Works in Ultra Pipelines.
Limitations
When you provide valid data in searchString for /datasources/{ID}/dataSourceFilters
in the OpenAPI path field, the Snap does not provide output.
Known Issues
None.
Snap Views
Type | Format | Number of Views | Examples of Upstream and Downstream Snaps | Description |
---|---|---|---|---|
Input | Document |
|
| The OpenAPI path, operation and query parameters of the endpoint. |
Output | Document |
|
| The data fetched from the WQL endpoint. |
Error | Error handling is a generic way to handle errors without losing data or failing the Snap execution. You can handle the errors that the Snap might encounter when running the Pipeline by choosing one of the following options from the When errors occur list under the Views tab:
Learn more about Error handling in Pipelines. |
Snap Settings
Info |
---|
|
Field Name | Field Type | Field dependency | Description | |
---|---|---|---|---|
Label* Default Value: WorkdayQL | String | None | The name for the Snap. You can modify this to be more specific, especially if you have more than one of the same Snap in your pipeline. | |
OpenAPI Path* Default Value:N/A |
data | String/Expression/Suggestion | None | Enter the path for the REST endpoint. Based on the service and version, the Snap downloads the open API specification and populates the list. | |
Operation* Default Value: N/A | String/Expression/Suggestion | None | Specify the operation to perform on the selected OpenAPI path or select from the suggestions list. The available options are:
|
PUT: Updates and replaces the existing resources.
PATCH: Updates and modifies the resources. PATCH operation only modifies the content of the resources and does not entirely replace the resources.
| ||||
Query Default value: N/A | String | Appears when you select /data in the OpenAPI Path. | Specify an encoded query string to filter the records. | |
Limit Default value: N/A | Integer | Appears only when you select /data in OpenAPI Path and GET in Operation. | Specify the number of rows to return from the query. | |
Offset Default value: N/A | Integer | Appears only when you select /data in OpenAPI Path and GET in Operation. | Specify the offset for the limit clause. | |
Query Parameters | You can use this fieldset to define the name and value for query parameters on request. |
Parameters Default Value: |
N/A |
alias | String/Expression | Appears when you select /data in the OpenAPI Path. | Specify the name of the query parameter for retrieving assets. |
Values Default Value: |
N/A |
cds_FTPUI | String | Appears when you select /data in the OpenAPI Path. | Specify the value for the query parameter for retrieving assets. |
Number of |
Retries Minimum value: 0 Default Value: 0 | Integer |
Specify the integer value to specify the number of attempts the |
Snap should make to perform the selected operation in case of connection failure or timeout. |
Minimum value: 0
Default Value: 0
Example: 3
Retry Interval (seconds) |
Integer
Minimum value: 1 Default Value: 1 |
3 |
Pass through
Default Value: Deselected
Checkbox
Integer | Specify the time interval in seconds between retry attempts. | |||
Enable Pagination
Default Value: Selected | Checkbox | Select this checkbox to enable the Snap to return the response in multiple pages when the input document contains the |
limit
and offset
query parametersquery parameters. When you deselect this checkbox, the Snap limits the number of output documents to 100, with only one page of records. The maximum limit value of the page size is |
100—the Snap fetches all records until the last page with 100 records on each |
If the limit field is blank, the default limit value is 20 and the Snap displays only one page of records.
page |
. | ||||
Snap Execution Default Value: Execute only | Dropdown list | Select one of the following three modes in which the Snap executes |
:
|
|
|
|
Video
Watch the video to learn how to execute a query in the WorkdayQL Snap using the Workday REST OAuth2 Account.
...
Troubleshooting
Error | Reason | Resolution |
---|---|---|
Account validation failed | The Pipeline ended before the batch could complete execution due to a connection error. | Verify that the Refresh token field is configured to handle the inputs properly. If you are not sure when the input data is available, configure this field as zero to keep the connection always open. |
...
permissions are insufficient. | Ensure that you assign the required permissions and retry. | |||
| Offset is greater than or equal to total row size. When the offset value provided in the Snap is greater than number of the existing records, then the Snap fails. | Provide an offset value lesser than the number of records. |
Examples
Get Worker from allWorkers
This example pipeline demonstrates how to get a worker from the list of allWorkers
by executing the SELECT query. In this pipeline, you can see that the output of the WorkdayQL Snap retrieves the worker records from the allWorkers object and writes the data to a JSON file.
Configure the WorkdayQL Snap with get Operation and SELECT worker from allWorkers query. On validation, the Snap retrieves and generates the worker record ID from the allWorkers object.
Snap Configuration | Output |
---|---|
Snap Pack History
Expand | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
|
...