Activities
latest
false
Banner background image
Classic Integrations Activities
Last updated Apr 22, 2024

Quickstart - Get Report

Overview

The purpose of this guide is to help you create a working sample that uses the Workday Get Report activity.

This working sample enables you to quickly verify the connection to your Workday tenant and get familiar with the activity's input/output datatypes.

After completing the steps in this guide, you'll have an automation sequence that does the following:

  1. Establishes a connection to your Workday tenant ( and Workday Scope).
  2. Retrieves a report from your Workday tenant (Get Report).

Prerequisites

Before you begin:

  1. Complete the Workday Setup steps.
  2. An existing Workday report URL. For more information, see Accessing RaaS Output in the Workday documentation.

Steps

Build your project
  1. Add a activity.
  2. Enter the AssetName for the credential asset you created (during the Setup) for the application Client Secret (e.g., "WorkdayUsernamePassword").
  3. Create and enter a SecureString variable for the Password property (e.g., password).
  4. Create and enter a String variable for the Username property (e.g, username).
  5. Add the Workday Scope activity after the Get Credential activity.
  6. Click the Configure button (this opens the Connection Wizard), enter your Workday credentials, and click the Connect button. For more information about the purpose and behavior of this wizard, see the section.

    • This step is for design time purposes only. To populate the Workday Scope properties, continue to complete the steps below.
  7. In the Username property, enter the String variable you created for the Get Credential activity or substep above (e.g., username).
  8. In the Password property, enter the SecureString variable you created for the Get Credential activity (e.g., password).
  9. In the Tenant property, create and enter a String variable for your tenant (e.g., tenant).
  10. In the TenantURL property, create and enter a String variable for the URL (e.g._tenantURL).
  11. Add the Get Report activity inside the Workday Scope activity.

    1. Click the Configure button (this opens the Object Wizard) and enter your ReportURL.
    2. Click the Get Report button to preview the results and then click Done.
    3. In the ResponseStatus property, create and enter a ResponseStatus variable (e.g., responseStatus).
    4. In the Results Native property, create and enter a String variable (e.g., nativeResults).
  12. Add an If activity after the Get Report activity.

    1. In the Condition property, enter the following responseStatus.Success.ToString()="True".
    2. In the Then statement box, add aWrite Line activity and enter the variable you created for the Results Native property (e.g., nativeResults).
    3. In the Else statement box, add aWrite Line activity and enter the following Text: "Failed:\nErrorCode:"+responseStatus.ErrorCode+"\nError Message:"+responseStatus.Message.
  13. Click Run and verify the Output window includes the expected write line values.



You're done!

To learn more about the Workday activities (including example property inputs/outputs), see the Activities page for a complete activity list and links to the activity detail pages.

  • Overview
  • Prerequisites
  • Steps

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.