Export Workday Employees to an FTP Server
Export Workday Employees to an FTP Server
Use this recipe to export employee records from Workday to an FTP server.
Note: This recipe is available as Workday — FTP | Export Employee Records in the Integration Store. Oracle provides this recipe as a sample only. The recipe is meant only for guidance, and is not warranted to be error-free. No support is provided for this recipe.
Overview
This recipe exports Workday employee records to an FTP server, according to a schedule specified in Oracle Integration.
To use the recipe, you must install the recipe package and configure the connections and other resources within the package. Subsequently, you can activate and run the integration flow of the package manually or specify an execution schedule for it. When triggered, the integration flow reads the employee records from the Workday instance and exports them to an FTP server.
While running the recipe, you can configure the integration flow to read Workday employee records created after a specified time, thereby picking up only the new or required employee records in each run. Basic data such as name, ID, date of birth, email, and so on are synchronized between Workday and FTP.
System and Access Requirements
Oracle Integration, Version 21.4.3.0.0 or higher
Workday
An account on Workday with the Administrator role
A secure FTP (sFTP) server or File Server
An FTP client to access the sFTP server
Before You Install the Recipe
You must perform the following configuration tasks on your Workday instance and FTP server in order to successfully connect to these external systems using Oracle Integration and export employee records.
Configure Workday
To configure Workday, see Prerequisites for Creating a Connection.
Access Your FTP Server and Create a File
Obtain an sFTP server and ensure that you’re able to access it.
Log in to the server using your user name and password through an FTP client; for example, FileZilla.
Create a directory on the server to export the files. Note the path of this directory.
Create a file in the directory to write the employee records. Note the name of this file.
Install and Configure the Recipe
On your Oracle Integration instance, install the recipe package to deploy and configure the integration and associated resources.
On the Oracle Integration home page, scroll to the Accelerators & Recipes section.
Click Search All.
Find the recipe package that you want to install.
Select the package, and then click the Install
icon.
After the package is installed, click the Configure
icon on the recipe card to configure the resources deployed by the package.
The Configuration Editor page opens, displaying all the resources of the recipe package. Configure the following resources before you activate and run the recipe.
Configure the Workday Connection
On the Configuration Editor page, select Workday Connection.
Click Edit
.
The connection configuration page appears.In the Connection Properties section, enter the following details.
Field Information to Enter Hostname Enter the Workday host name. For example: https://wd0-imp-servi1.workday.com
Tenant Name Enter the tenant name of the account created for Oracle Integration on Workday. See Configure Workday. In the Security section, enter the following details.
Field Information to Enter Workday Integration User Enter the user name of the account created for Oracle Integration on Workday. See Configure Workday. Password Enter the password of the account created for Oracle Integration on Workday. Click Save. If prompted, click Save for a second time.
Click Test to ensure that your connection is successfully configured.
A confirmation message is displayed if your test is successful.Click Back
to return to the Configuration Editor page. Click Save again if prompted.
Configure the FTP Connection
On the Configuration Editor page, select FTP Connection.
Click Edit
.
The connection configuration page appears.In the Connection Properties section, enter the following details.
Field Information to Enter FTP Server Host Address Enter the host address of your sFTP server. FTP Server Port Enter 22. SFTP Connection Select Yes from the list. In the Security section, enter the following details.
Field Information to Enter Security Policy Select FTP Public Key Authentication. Username Enter the user name to connect to your sFTP server. Private Key File Upload the private key file for your sFTP server. Click Save. If prompted, click Save for a second time.
Click Test to ensure that your connection is successfully configured. In the resulting dialog, click Test again.
A confirmation message is displayed if your test is successful.Click Back
to return to the Configuration Editor page. Click Save again if prompted.
Activate and Run the Recipe
After you’ve configured the connections, activate the recipe package and run it.
On the Configuration Editor page, click Activate in the title bar. In the Activate Package dialog, click Activate again.
A confirmation message is displayed informing that the integration has been submitted for activation. Refresh the page to view the updated status of the integration.Note: Update the following properties of the integration flow.
- RecordCount: This integration property holds the number of records to be displayed in one page during integration run time. The default value for RecordCount is
100
. - EmailTo: This integration property holds the email address to which run-time exception emails are sent. Enter an email address of your choice.
For the procedure to update the integration property, see Steps 7 to 9 in Override Design-Time Properties in an Integration.
- RecordCount: This integration property holds the number of records to be displayed in one page during integration run time. The default value for RecordCount is
Run the recipe.
On the Configuration Editor page, select the integration flow.
Click Run
, then click Submit Now.
In the dialog that appears, click Confirm.
The Schedule Parameters page is displayed which includes the following parameters:schedule_para_FileName
: Specify the name of the file to which you want to extract the employee records. See Before You Install the Recipe.schedule_para_LastRunTime
: This parameter stores the date and time of the most-recent successful run of the integration flow. The parameter’s value is automatically updated after each successful run, and only the Workday employee records created after the date-time stamp stored as the parameter’s Current Value are processed by the integration in each run. If you want to change the date-time stamp for a specific scenario, enter the date and time of your choice in the New Value field in the format,yyyy-MM-dd HH:mm
. To fetch all the employee records from the beginning, set the value aszero
.schedule_para_FolderName
: Specify the path of the folder which contains the file with employee details. See Before You Install the Recipe.
Click Submit on the Schedule Parameters page.
You’ve now successfully submitted the integration for execution.Note: You can also schedule this integration to run at a date, time, and frequency of your choosing. See Define the Integration Schedule.
Monitor the execution of the integration flow in Oracle Integration.
On the Configuration Editor page, select the integration flow.
Click Run
, then click Track Instances.
On the Track Instances page, you’ll see the integration flow of the recipe being triggered and executing successfully.
The recipe now exports employee records from Workday to an FTP server.
Log in to your FTP server and check for the new employees fetched from your Workday instance.
Appendix A: Configure the Integration Flow (Optional)
If you want to fetch additional information about Workday employee records (other than what is pre-configured in this recipe), you can modify the filter criteria of the Workday request-mapper element in the integration flow. To successfully process the additional fields fetched, you must update the Stage File element of the integration flow with a new schema file that contains the structure of the updated data set.
Modify the Filter Criteria
On the Configuration Editor page, select the Workday FTP Export Employee Records integration flow.
Click Edit
.
On the integration canvas, click the Map to GetWorkers element, and then click Edit
to open the mapper.
In the mapper, under Response_Group, find the required element. For example, to fetch employment information, find and click the Include_Employment_Information element.
In the editor that opens, set:
- True: to export selected information to the FTP server.
- False: to exclude selected information.
Click Save
and click Validate.
Click Close to return to the integration canvas.
Update the Stage File Element
Add the required additional fields to your sample schema file.
Note: To obtain a sample schema file, run the recipe without modifying the filter criteria initially. The recipe populates the employee data into the specified file on your FTP server. You can use this file as the sample schema file.
Edit the Stage File element on the integration canvas and upload the modified file. See Configure a Stage File Action.
Related Documentation
Export Workday Employees to an FTP Server
F59730-02
August 2022
Copyright © 2022, Oracle and/or its affiliates.
Primary Author: Oracle Corporation