# tWorkdayInput

Retrieves data of a Workday client based on a query or the Workday client report.

Information noteNote:

This component is not shipped with your Talend Studio by default. You need to install it using the Feature Manager. For more information, see [Installing features using the Feature Manager](https://help.qlik.com/talend/r/en-US/8.0/studio-user-guide/install-features-to-talend-studio).

## tWorkdayInput Standard properties

These properties are used to configure tWorkdayInput running in the Standard Job framework.

The Standard tWorkdayInput component belongs to the Business and the Cloud families.

The component in this framework is available in all subscription-based Talend products.

## Basic settings

| Properties | Description |
| --- | --- |
| Property Type | Select the way the properties will be set.<br><br>Two options are provided: Built-In and Repository.<br><br><ul> <li> <span>Built-In</span>: Use the                                properties set for the current component in the <span>Basic settings</span> and <span>Advanced settings</span> views.</li> <li> <span>Repository</span>: Use the properties stored in the                                repository.</li> </ul> |
| Schema and Edit schema | A schema is a row description. It defines the number of fields<br>(columns) to be processed and passed on to the next component. When you create a Spark<br>Job, avoid the reserved word line when naming the<br>fields.<br><br><ul> <li> <p> <span>Built-In</span>: You create and store the schema locally for this component                only.</p> </li> <li> <p> <span>Repository</span>: You have already created the schema and stored it in the                Repository. You can reuse it in various projects and Job designs.</p> </li> </ul><br><br>Click Edit schema to make changes to<br>the schema. If you make changes, the schema automatically becomes built-in.<br><br><ul> <li> <p> <span>View schema</span>: choose this                option to view the schema only.</p> </li> <li> <p> <span>Change to built-in property</span>:                choose this option to change the schema to <span>Built-in</span> for local changes.</p> </li> <li> <p> <span>Update repository connection</span>:                choose this option to change the schema stored in the repository and decide whether                to propagate the changes to all the Jobs upon completion.</p> <p>If you just want to                propagate the changes to the current Job, you can select <span>No</span> upon completion and choose this schema metadata                again in the <span>Repository Content</span>                window.</p> </li> </ul> |
| Guess<br>schema | Click this button to generate the schema based on the<br>client data retrieved or Workday client report.<br><br>Click this button after you have provided all the necessary information,<br>such as information for connecting the Workday server, data to<br>retrieved, operations to be carried out, and so on. |
| Authentication<br>mode | Select an authentication mode among OAuth JWT<br>authentication (the default), REST - Client<br>ID authentication mode (deprecated), SOAP -<br>Login authentication mode, and SOAP -<br>WS-Security authentication mode.<br><br>Communications with Workday clients are carried out using the HTTPS<br>protocol. For SOAP - WS-Security authentication<br>mode, the authentication information is included in the<br>messages. See [WS<br>Security](https://en.wikipedia.org/wiki/WS-Security) for related information.<br><br>Information noteNote: The OAuth JWT authentication item is available only<br>when you have installed the 8.0.1-R2022-12 Talend Studio Monthly update or a later one delivered by Talend. For more<br>information, check with your administrator. |
| Client<br>Identifier | Enter the Client ID of the API Client used to connect to<br>Workday.<br><br>This field is available when you select REST - Client id authentication mode<br>(deprecated) from the Authentication mode drop-down list. |
| Client<br>Secret | Click […] and<br>enter the Client secret key of the API Client used to connect to Workday<br>in double quotation marks.<br><br>To enter the client secret, click the [...] button<br>next to the Client secret field to bring out the Enter a new<br>password dialog box, enter the client secret in the text field, and click<br>OK. Note that you can enter the client secret either in a JSON string<br>in the pure password mode or as a Java expression in the Java<br>mode. You can toggle between the two modes by clicking switch to<br>Java mode or switch to pure password mode on the top<br>of the text field.<br><br>Information noteNote:<br><br><ul> <li>The two password modes are available only when you have installed the                  8.0.1-R2022-05 <span>Talend Studio</span>                  monthly update or a later one delivered by <span>Talend</span>. For more information, check with your administrator.</li> <li>If the 8.0.1-R2022-05 <span>Talend Studio</span>                  monthly update or a later one delivered by <span>Talend</span>                  is not installed, you can enter client secrets in the <span>Java mode</span>                  only. </li> </ul><br><br>This field is available when you select REST - Client ID<br>authentication mode (deprecated) from the<br>Authentication mode drop-down list. |
| User<br>login | Enter the username for the SOAP login authentication<br>mode.<br><br>This field is available when you select SOAP - Login authentication mode from<br>the Authentication mode<br>drop-down list. |
| User<br>password | Click […] and<br>enter the password for the SOAP login authentication mode.<br><br>To enter the user password, click the [...] button<br>next to the User password field to bring out the Enter a new<br>password dialog box, enter the user password in the text field, and click<br>OK. Note that you can enter the user password either in a JSON string<br>in the pure password mode or as a Java expression in the Java<br>mode. You can toggle between the two modes by clicking switch to<br>Java mode or switch to pure password mode on the top<br>of the text field.<br><br>Information noteNote:<br><br><ul> <li>The two password modes are available only when you have installed the                  8.0.1-R2022-05 <span>Talend Studio</span>                  monthly update or a later one delivered by <span>Talend</span>. For more information, check with your administrator.</li> <li>If the 8.0.1-R2022-05 <span>Talend Studio</span>                  monthly update or a later one delivered by <span>Talend</span>                  is not installed, you can enter user passwords in the <span>Java mode</span>                  only. </li> </ul><br><br>This field is available when you select SOAP - Login authentication mode from<br>the Authentication mode<br>drop-down list. |
| Tenant<br>Alias | Enter the Tenant ID that allows you to connect to<br>Workday. The tenant alias is provided by your Workday administrator. The<br>following gives an example: tenant\_alias. |
| Mode | Select the mode for retrieving client data. You can select<br>Workday query language, Report as a<br>service, or Workday web services<br>from the list.<br><br>Whether a mode can take effect is determined by the authentication mode<br>you select from the Authentication mode drop-down<br>list. The following gives the detail.<br><br><ul> <li>If you select <span>OAuth JWT authentication</span>                                from the <span>Authentication mode</span> drop-down list,                                all the three modes take effect.</li> <li>If you select <span>REST - Client ID authentication</span>                                from the <span>Authentication mode</span> drop-down list,                                the <span>Workday query language</span> and                                    <span>Report as a service</span> modes take                                effect.</li> <li>If you select <span>SOAP - Login authentication                                    mode</span> from the <span>Authentication                                    mode</span> drop-down list, the <span>Report as a                                    service</span> mode takes effect.</li> <li>If you select <span>SOAP - WS-Security authentication                                    mode</span> from the <span>Authentication                                    mode</span> drop-down list, the <span>Report as a                                    service</span> and <span>Workday web                                    services</span> modes take effect.</li> </ul><br><br>Information noteNote:<br><br><ul> <li>In the <span>OAuth JWT authentication</span> mode, you need to                           set a specific endpoint in the <span>Endpoint pattern</span>                           field in the <span>Advanced settings</span> view for the mode                           selected in the <span>Mode</span> drop-down list.</li> <li>The <span>Workday web services</span> item is available only when you have installed                           the 8.0.1-R2022-08 <span>Talend Studio</span> Monthly update or a later one delivered by                           <span>Talend</span>. For more information, check with your administrator.</li> </ul> |
| WS-Security type | Select the WS Security type from the drop-down list: WS<br>Security with basic authentication or WS<br>Security with certificate authentication.<br><br>The WS-Security type drop-down list is available if you<br>select SOAP - WS-Security authentication mode<br>option from the Authentication mode drop-down<br>list.<br><br>Information noteNote: The WS Security with JWT authentication security<br>type is implemented by the OAuth JWT authentication mode if you have<br>installed the 8.0.1-R2022-12 Talend Studio Monthly update or a later one<br>delivered by Talend. You can enable OAuth JWT authentication by selecting<br>OAuth JWT authentication from the<br>Authentication mode. For more information,<br>check with your administrator. |
| Login and<br>Password | Enter the username and password for the SOAP - WS-Security<br>authentication mode.<br><br>To enter the password, click the [...] button<br>next to the Password field to bring out the Enter a new<br>password dialog box, enter the password in the text field, and click<br>OK. Note that you can enter the password either in a JSON string<br>in the pure password mode or as a Java expression in the Java<br>mode. You can toggle between the two modes by clicking switch to<br>Java mode or switch to pure password mode on the top<br>of the text field.<br><br>Information noteNote:<br><br><ul> <li>The two password modes are available only when you have installed the                  8.0.1-R2022-05 <span>Talend Studio</span>                  monthly update or a later one delivered by <span>Talend</span>. For more information, check with your administrator.</li> <li>If the 8.0.1-R2022-05 <span>Talend Studio</span>                  monthly update or a later one delivered by <span>Talend</span>                  is not installed, you can enter passwords in the <span>Java mode</span>                  only. </li> </ul><br><br>These two options are available when you select SOAP -<br>WS-Security authentication mode from the<br>Authentication mode drop-down list and select<br>WS Security with basic authentication from<br>the WS-Security type drop-down list. |
| Integration system user | Enter the integration system user.<br><br>Creating an integration system user is the first step to build an SOAP<br>request with x509 certificate. You can create an integration system user<br>by carrying out the Create Integration System User<br>task in Workday.<br><br>Information noteNote: This field is available when you select WS Security with<br>certificate authentication from the WS<br>-Security type drop-down list. |
| X509 certificate | Enter your X.509 certificate content.<br><br>You can create an X.509 certificate by carrying out the Create x509 public key task in Workday.<br><br>Information noteNote: This field is available when you select WS Security with<br>certificate authentication from the<br>WS-Security type drop-down list. |
| Private key | Enter the private key.<br><br>To enter the private key, click the [...] button<br>next to the Private key field to bring out the Enter a new<br>password dialog box, enter the private key in the text field, and click<br>OK. Note that you can enter the private key either in a JSON string<br>in the pure password mode or as a Java expression in the Java<br>mode. You can toggle between the two modes by clicking switch to<br>Java mode or switch to pure password mode on the top<br>of the text field.<br><br>Information noteNote:<br><br><ul> <li>The two password modes are available only when you have installed the                  8.0.1-R2022-05 <span>Talend Studio</span>                  monthly update or a later one delivered by <span>Talend</span>. For more information, check with your administrator.</li> <li>If the 8.0.1-R2022-05 <span>Talend Studio</span>                  monthly update or a later one delivered by <span>Talend</span>                  is not installed, you can enter private keys in the <span>Java mode</span>                  only. </li> </ul><br><br>This field is available when you select OAuth JWT<br>authentication from the Authentication<br>mode drop-down list or select SOAP - WS<br>Security authentication mode from the<br>Authentication mode drop-down list and select<br>WS Security with certificate authentication<br>from the WS-Security type drop-down list. |
| WQL<br>Query | Enter Workday query language statements for retrieving<br>client data.<br><br>This field is available when Workday query language is<br>selected from the Mode list. |
| Report<br>Owner | Enter the report owner for the client data retrieved.<br><br>This field is available when Report as a service is<br>selected from the Mode list. |
| Report Name | Enter the report name for the client data retrieved.<br><br>This field is available when Report as a service is<br>selected from the Mode list. |
| Service | Enter the names of the Workday services to retrieve data from.<br><br>You can also fill the service names in this field by clicking<br>[...] next to this field and select a part or<br>all of these five most frequently used services from the list box in the<br>dialog box: Compensation,<br>Financial\_Management,<br>Human\_Resources,<br>Payroll, and Staffing.<br>To select services that are not in the list box, select the<br>Use custom value option and enter the desired<br>service names in the Custom value field.<br><br>Information noteNote: This field is available when you select Workday web<br>services from the Mode drop-down<br>list. |
| Operation | Enter the names of the operations to be carried out to the retrieved data.<br><br>You can also enter the operation names by clicking the<br>[...] next to this field and select the<br>desired operations from the list box in the dialog box that appears.<br>Note that operations appear in the list box only when all the<br>information that is necessary to connect to the Workday server is<br>provided.<br><br>Currently, only the operations with their names beginning with<br>*Get\_* can be carried out.<br><br>Information noteNote: This field is available when you select Workday web<br>services from the Mode drop-down<br>list. |
| Use references | Select this option to set filters for the retrieved data.<br><br>To set a filter, add a row in the References table by<br>clicking the plus button on the bottom of the table, click the<br>Reference name column and select a field from<br>the drop-down list, click the Type column and<br>select a type from the drop-down list, and then enter a value in the<br>Value column. Note that the items appear in<br>the drop-down lists in the Reference name column<br>and the Type column only when all the information<br>that is necessary to connect to the Workday server is provided.<br><br>Information noteNote: This field is available when you select Workday web<br>services from the Mode drop-down<br>list. |
| Use criteria | Select this option to set criteria for the retrieved data.<br><br>To set a criterion, add a row in the Criteria table by<br>clicking the plus button on the bottom of the table. Click the<br>Name column and select a field from the drop-down<br>list. Click the Compound type column and select a type<br>from the drop-down list. Then, enter a value in the<br>Value column and the Group ID<br>column if needed. The Group ID column can be used if you<br>need to group rows with the same name. Note that the items appear in the<br>drop-down lists in the Name column and the<br>Compound type column only when all the information<br>that is necessary to connect to the Workday server is provided. |

## Advanced settings

| Properties | Description |
| --- | --- |
| tStatCatcher Statistics | Select this checkbox to gather the Job processing metadata at the Job level<br>as well as at each component level. |
| Endpoint pattern | Enter the endpoint pattern.<br><br>In the OAuth JWT authentication mode, the component<br>can work properly only when you set the endpoint pattern as the following.<br><br><ul> <li>Set the endpoint pattern to                                        <kbd>https://wd2-impl-services1.workday.com/ccx/api/wql/v1/${tenant}/data</kbd>                                    if you select <span>Workday query language</span> from                                    the <span>Mode</span> drop-down list. </li> <li>Set the endpoint pattern to                                        <kbd>https://wd2-impl-services1.workday.com/ccx/service/customreport2/${tenant}</kbd>                                    if you select <span>Report as a service</span> from                                    the <span>Mode</span> drop-down list. </li> <li>Set the endpoint pattern to                                        <kbd>https://wd2-impl-services1.workday.com/ccx/service/${tenant}</kbd>                                    if you select <span>Workday web services</span> from                                    the <span>Mode</span> drop-down list. </li> </ul><br><br><br>In the OAuth JWT authentication mode, the<br>three endpoint patterns are preset in a list box. So, in addition to<br>entering the endpoint address manually in the Endpoint<br>pattern field, you can also access the list box and<br>select a preset endpoint pattern from the list box. You can access the<br>list box by clicking [...] next to the field.<br><br><ul> <li>This field is available only when you select <span>OAuth JWT                                        authentication</span> from the                                        <span>Authentication mode</span> drop-down                                    list.</li> <li>The actual endpoint pattern needs to adapt to the customer endpoint                           based on the above endpoint patterns. For example, if you connect to                           Workday using                              <kbd>https://wd5-impl-services1.workday.com/ccx/service/customreport2/{tenant_alias}/{report_owner}/{report_name}</kbd>,                           you need to change the first part of the endpoint pattern from                              <kbd>wd2-impl-services1.workday.com</kbd> to                              <kbd>wd5-impl-services1.workday.com</kbd> accordingly. You                           can modify the endpoint pattern manually in the <span>Endpoint                              pattern</span> field.</li> <li>This field is available when you have installed the 8.0.1-R2022-12                                        <span>Talend Studio</span> Monthly update or a later one delivered by <span>Talend</span>. For more                                    information, check with your administrator.</li> </ul> |
| Authentication endpoint | Enter the authentication endpoint.<br><br>This field is available when you select REST - Client ID<br>authentication mode from the Authentication<br>mode in the Basic settings<br>view. |
| Service endpoint | Enter the Web service endpoint.<br><br>In the SOAP - WS-Security authentication mode, the<br>component can work properly only when you set the service endpoint as<br>the following.<br><br><ul> <li>Set the service endpoint to                                        <kbd>https://wd2-impl-services1.workday.com/ccx/service/customreport2/${tenant}</kbd>                                    if you select <span>Report as a service</span> from                                    the <span>Mode</span> drop-down list. </li> <li>Set the service endpoint to                                        <kbd>https://wd2-impl-services1.workday.com/ccx/service/${tenant}</kbd>                                    if you select <span>Workday web services</span> from                                    the <span>Mode</span> drop-down list. </li> </ul><br><br><br>In the SOAP - WS-Security authentication<br>mode, the two endpoint addresses are preset in a list<br>box. So, in addition to entering the endpoint address manually in the<br>Service endpoint field, you can also access<br>the list box and select a preset endpoint address from the list box. You<br>can access the list box by clicking [...] next to<br>the field.<br><br>Information noteNote:<br><br><ul> <li>The actual service endpoint needs to adapt to the customer endpoint                           based on the above two service endpoints. For example, if you connect to                           Workday using                              <kbd>https://wd5-impl-services1.workday.com/ccx/service/customreport2/{tenant_alias}/{report_owner}/{report_name}</kbd>,                           you need to change the first part of the service endpoint from                              <kbd>wd2-impl-services1</kbd> to                              <kbd>wd5-impl-services1</kbd> accordingly. You can modify                           the service endpoint manually in the <span>Service                              endpoint</span> field.</li> <li>The two preset endpoint addresses and the <span>[...]</span>                                button are available only when you select <span>SOAP - WS-Security                                    authentication mode</span> from the <span>Authentication                                        mode</span> drop-down list.</li> <li>This field defaults to                                        <kbd>https://wd2-impl-services1.workday.com/ccx/service/customreport2/${tenant}</kbd>.                                    You need to change it explicitly if you select                                        <span>Workday web services</span> from the                                        <span>Mode</span> drop-down list.</li> </ul> |
| API version | Set the version of the API you want to use.<br><br>This field is available when you select the Workday web<br>services item from the Mode<br>drop-down list in the Basic settings view.<br><br>Information noteNote: This option is available only when you have installed the 8.0.1-R2022-08 Talend Studio Monthly update<br>or a later one delivered by Talend. For more information, check with your administrator. |

## Global Variables

| Variables | Description |
| --- | --- |
| ERROR\_MESSAGE | The error message generated by the component when an error<br>occurs. This is an After variable and it returns a string. |
| NB\_LINE | The number of rows processed. This is an After variable and<br>it returns an integer. |

## Usage

| Usage guidance | Description |
| --- | --- |
| **Usage rule** | This component is usually used as a start component of a Job or<br>subJob and it always needs an output link. |

**Related concepts**

* [Updating the data of a Workday client](https://help.qlik.com/talend/en-US/components/8.0/workday/updating-workday-client-data-c "This scenario explains how to update specific data of a Workday client and then retrieves the data, so as to verify the update operation.")