Version 2024.1
For details and updates associated with this version of the app, see the App Catalog Changelog.
Introduction
View See the app forum post for more information on setting this app up. for more details.
To use the Extend-AWS native integration, an Innovation Service Agreement opt-in is required.
To deploy an app to your Workday-managed AWS account, a Company Administrator must provide you AWS account access.
Overview
This app showcases using the AWS Lambda connectors to utilitize all of the advanced capabilities supported by Workday
Deploy Instructions
Create Copy (Recommended)
- Click the “Create Copy” button above.
- To modify app source code:
- Open the app in the Console.
- Click Open in App Builder.
- After making any changes, Save and Deploy.
Configuration Instructions
To fully deploy and configure this app, you will need access to the AWS account for your organization to create and deploy the AWS Lambda function, and you must install the AWS SAM CLI.
For this application, ensure that your AWS configuration is set to the US West Oregon us-west-2 region.
This app does not require any additional Workday configuration.
Create an AWS SAM Application
To host the AWS Lambda code that the Extend app leverages, you will need to use the AWS SAM CLI to:
AWS Lambda Instructions
See the How to use AWS Lambda capabilities documentation page for instructions on creating a new Lambda function.
You can also review the Back to Basics video on how to get started with the Extend-AWS integration using the AWS Toolkit for VS Code and the AWS SAM CLI.
See the app forum page for the Lambda code with .yaml file to get the lambda code zip and a sample template.yaml for the app.
-
Unzip the lambda code into your local workspace for your AWS SAM Application.
-
In the AWS SAM CLI, either from the command line or from a tool such as VS Code’s AWS Toolkit, edit the
template.yamlfile for the project:- Make sure the
CodeUripoints to the location in the project directory where thelambda_function.pycode is located - Make sure the
Handlerpoints tolambda_function.lambda_handler - Make sure the
Runtimeis set topython3.9
- Make sure the
-
Sync the SAM Application to upload and deploy your changes.
-
Once complete, the new code should now be deployed to your Lambda Function and ready to use.
Note: You may need to add an entry to the requirements.txt file in the folder containing your lambda python code with:
urllib3<2
If you run the app and receive an error regarding urllib, you can fix it by adding the above line to that file.
Orchestration Code Changes
When making a copy of this app, the Amazon S3 bucket name is specified in the detectDocumentText orchestration
on the CreateValues component. Before deploying to your tenant, you will need to update the bucket
value to use your Workday-provided S3 bucket name.
You can find this bucket name using the AWS SAM CLI.
Example: workday-wcp-wcpexttest-us-west-2
See How to use Amazon S3 capabilities for more info.
Once updated, save and deploy the application to your tenant.
Usage Instructions
- Login as Logan McNeil or another user, then open the app home page (i.e. from App Manager)
- Drag and drop (or select) a photo of any text to upload
- Note that this app works best when it’s a clear photo of a US driver’s license.
- Other types of documents are supported by Amazon Textract.
- Submit the page
- The following page should show the text extracted from the photo.
Note that uploaded photos are stored in Amazon S3 in a private bucket specific to your AWS account and encrypted using an account-specific AWS KMS encryption key. This app does not automatically delete the uploaded photos, but the Workday-provided S3 bucket has a lifecycle policy to delete files once they reach 30 days of age.