- Overview
- Adobe Sign
- Alteryx
- Amazon Comprehend
- Amazon Connect
- Amazon Rekognition
- Amazon Textract
- Box
- Release notes
- About the Box activity package
- Fix XAML After Package Update
- Project compatibility
- Setup
- Technical references
- Box Scope
- Commit Session
- Create File Version Session
- Create Upload Session
- Upload Part
- Delete Old Version
- Get Versions
- Promote Version
- Upload File Version
- Copy File
- Delete File
- Download File
- Get File Comments
- Get File Info
- Get File Info Details
- Get File Lock Info
- Lock File
- Move File
- Unlock File
- Upload File
- Copy Folder
- Create Folder
- Delete Folder
- Get Folder Info
- Get Folder Items
- Rename Folder
- Search For Content
- Execute Method
- Cognitive
- DocuSign
- Release notes
- About the DocuSign activity package
- Project compatibility
- Setup
- DocuSign Scope
- Invoke DocuSign Operation
- Create Envelope
- Create Envelope And Send
- Create Envelope From Template
- Create Envelope Recipients
- Get Document
- Get Documents
- Get Envelope
- Get Form Data
- Send Envelope
- Update Envelope
- List Attachments
- List Custom Fields
- List Documents
- List Envelope Status Changes
- List Recipients
- Create Bulk Send List
- Create Bulk Send Request
- Get Bulk Send List
- Get Bulk Send Lists
- Create Template Custom Fields
- Create Template Recipients
- Get Template
- List Templates
- Google Vision
- Jira
- Release notes
- About the Jira activity package
- Project compatibility
- Setup
- Jira Scope
- Execute Method
- Add Attachment
- Delete Attachment
- Download Attachment
- Get Attachments
- Add Comment
- Delete Comment
- Get Comments
- Create Component
- Delete Component
- Get Components
- Search Dashboards
- Create Filter
- Get Filters
- Create Issue Link
- Delete Issue Link
- Get Issue Link Types
- Get Issue Links
- Add Watcher
- Assign Issue
- Clone Issue
- Create Issue
- Delete Issue
- Get Issue
- Get Watchers
- Remove Watcher
- Search Issues Using JQL
- Transition Issue
- Update Issue
- Create Project
- Delete Project
- Get Project Types
- Get Projects
- Update Project
- Get Transitions
- Create User
- Delete User
- Find Users
- Marketo
- Microsoft Dynamics
- Microsoft Dynamics Finance and Operations
- Microsoft Translator
- Microsoft Vision
- Oracle Integration Cloud
- Oracle NetSuite
- Salesforce
- Release notes
- About the Salesforce activity package
- Project compatibility
- Setup
- Quickstart
- Salesforce Application Scope
- Create Bulk API Job
- Get Bulk API Job
- Get Bulk API Job Results
- Start or Abort Bulk API Job
- Assign File
- Download File
- Upload File
- Composite Request
- Delete Record
- Get List View Records
- Get Record
- Insert Record
- Update Record
- Upsert Record
- Execute Report
- Execute SOQL
- Format Column Names
- Format Labels And Values
- Lightning REST API Request
- Search
- SAP BAPI
- ServiceNow
- Slack
- Smartsheet
- Release notes
- About the Smartsheet activity package
- Project compatibility
- Setup
- Technical references
- Quickstart: Working With Rows
- Smartsheet Application Scope
- Attach File
- Attach URL
- Delete Attachment
- Get Attachment
- List Attachments
- Add Comment
- Delete Comment
- Get Comment
- List Discussions
- Copy Folder
- Create Folder
- Delete Folder
- Get Folder
- List Folders
- Add Group Members
- Get Group
- List Groups
- Remove Group Member
- Get Report
- List Reports
- Add Rows
- Copy Rows
- Create Discussion on Row
- Delete Rows
- Get Row
- List Rows
- Move Rows
- Update Rows
- Copy Sheet
- Create Sheet
- Create Sheet From Template
- Download Sheet
- Get Sheet
- List Sheets
- Update Sheet
- Add User
- Get User
- List Users
- Remove User
- Copy Workspace
- Create Workspace
- List Workspaces
- Import Sheet From CSV / XLSX
- Invoke Smartsheet Operation
- Search Activity
- Send Via Email
- Share Object
- SuccessFactors
- Tableau
- Twilio
- Workato
- Workday
Quickstart - Invoke Workday Operation
The purpose of this guide is to help you create a working sample that uses the Workday Invoke Workday Operation 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:
- Establishes a connection to your Workday tenant ( and Workday Scope).
- Invokes an API operation that will retrieve a list of workers from your Workday tenant (Invoke Workday Operation).
Before you begin:
- Complete the Workday Setup steps.
- Ensure the account you use will be able to access the Get Workers API.
Build your project
- Add a activity.
- Enter the AssetName for the credential asset you created (during the Setup) for the application Client Secret (e.g., "WorkdayUsernamePassword").
- Create and enter a
SecureString
variable for the Password property (e.g., password). - Create and enter a
String
variable for the Username property (e.g, username). - Add the Workday Scope activity after the Get Credential activity.
-
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.
- In the Username property, enter the
String
variable you created for the Get Credential activity or substep above (e.g., username). - In the Password property, enter the
SecureString
variable you created for the Get Credential activity (e.g., password). - In the Tenant property, create and enter a
String
variable for your tenant (e.g., tenant). - In the TenantURL property, create and enter a
String
variable for the URL (e.g._tenantURL). -
Add the Invoke Workday Operation activity inside the Workday Scope activity.
- Click the Configure button (this opens the Object Wizard).
- In the Search Operations text input, type in 'Get_Workers'. Select the Get_Workers (Human Resources) operation. The parameter list will populate based on this selection.
- Create and enter a variable to capture the output from the Get_Workers_ResponseRootType property, e.g. getWorkersResponse
- Click the Done button.
- In the ResponseStatus property, create and enter a
ResponseStatus
variable (e.g., responseStatus).
-
Add an If activity after the Invoke Workday Operation activity.
- In the Condition property, enter the following responseStatus.Success.ToString()="True".
- In the Then statement box, add aWrite Line activity and enter the variable you created for the Get_Workers_ResponseRootType property and then append ".Response_Data.length" (e.g., getWorkersResponse.Response_Data.Length).
- In the Else statement box, add aWrite Line activity and enter the following Text: "Failed:\nErrorCode:"+responseStatus.ErrorCode+"\nError Message:"+responseStatus.Message.
-
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.