Tesorio signs in to Workday two ways: with an integration system user, and with an API client and its refresh token. You set up both in Workday, then enter their details in Tesorio.
For what Tesorio reads and writes back, see Workday overview.
Before you start
A Workday administrator with access to Integration security, for steps 1 to 6 in Workday.
A Workday user with the Security Administration domains, for registering the API client (step 7).
A Tesorio admin, for the steps in Tesorio: a user whose permission group includes the Administration module.
Your company's currency and time zone.
All Workday tasks below can be found with Workday's search.
In Workday
1. Create the integration system user
Open the Create Integration System User task and create a user with these values, then click OK and Done:
User Name: for example tesorio-integration
Generate Random Password: No
New Password and New Password Verify: a password you choose
Require New Password at Next Sign In: No
Session Timeout Minutes: 0
Do not allow UI Sessions: No
2. Create a security group for the user
Open the Create Security Group task and create a group with these values:
Type of Tenanted Security Group: Integration System Security Group (Unconstrained)
Name: for example Tesorio Integration Security Group
Then add the integration system user to the group (Integration System Users) and click OK. Don't click Done yet.
3. Give the group its domain permissions
From Actions > Security Group, choose Maintain Security Permissions and add these domains. Click OK, then Done.
View and Modify
Workday Query Language (Tesorio reads your data with it)
Reports: Customer Documents (to schedule invoice prints)
Private Calculated Field Management (to create calculated fields)
View Only
Custom Object Management
Process: Project Billing (for invoice PDFs)
Process: Customer Invoice (NEW) (for invoice PDFs)
Process: Banking
Process: Customer Invoice Payment
Reports: Customer Accounts
Get and Put
Manage: Customer Invoice (to send invoice notes to Workday)
Set Up: Bank Entity (to send contacts to Workday)
Process: Customer Payment, Process: Customer Invoice Payment and Process: Customer Invoice Payment/Settlement (to send payments to Workday)
Get Only
Person Data: Name
Process: Bank Statement
Process: Purchase Order - Reporting
Process: Project Billing
Reports: Currency Rates
Reports: Customer
Reports: Customer Accounts
Reports: Financial Accounting
Set Up: Company General
Set Up: Customer Accounts
Set Up: Fiscal Schedule
Integration Build
To check the security of any other item, use the View Security for Securable Item task.
4. Let the group send notes and contacts to Workday
Open the Edit Business Process Security Policy task.
Choose Customer Event as the business process type.
For the initiating action Submit Customer (Web Service), add the security group from step 2.
5. Activate the security changes
Open the Activate Pending Security Policy Changes task, add a comment and click OK. Select Confirm, click OK, then Done.
6. Keep the password from expiring
Open the Maintain Password Rules task, add the integration system user to System Users exempt from password expiration, and click OK, then Done. Otherwise the connection stops when the password expires.
7. Register an API client
Tesorio reads your data and invoice PDFs through Workday's REST API, which needs an API client. A user with the Security Administration domains does this step.
Open the Register API Client for Integrations task, create a client with these values and click OK:
Client Name: for example Tesorio API Client
Refresh Token Timeout (in days): 0
Non-Expiring Refresh Tokens: Yes
Disabled: No
Scope (Functional Areas): Customer Accounts, System
Include Workday Owned Scope: No
Copy the Client ID and Client Secret it shows. Don't click Done yet.
8. Create a refresh token
From Actions, choose Manage Refresh Tokens for Integrations.
Under Workday Account, select the integration system user and click OK.
Select Generate New Refresh Token and click OK.
Copy the refresh token it shows.
9. Find your domain and tenant
Open the View API Client task. The Workday REST API Endpoint holds both:
Domain: the start of the address only, up to .workday.com or .myworkday.com, for example https://wd5-impl-services1.workday.com. Leave out everything after it.
Tenant: the part after /ccx/api/v1/.
10. Set up invoice PDFs
Workday doesn't create invoice PDFs by itself. Tesorio shows the PDF from each invoice's most recent print, so set up scheduled prints for each company in your tenant (Workday shows how in this video).
The security group also needs to view customer invoices:
Search for Domain Security Policies for Functional Area and choose Customer Accounts.
Under Process: Customer Invoice (NEW), open the child domain Process: Customer Invoice - View.
If it inherits its parent's permissions, you're done. Otherwise click Edit Permissions and add the security group under Report/Task Permissions (View) and Integration Permissions (Get).
Activate the change with Activate Pending Security Policy Changes.
In Tesorio
Click Add app and choose Workday.
Enter the Workday domain and Tenant from step 9, the Integration user and Integration user password from step 1, the API client ID and API client secret from step 7, and the Refresh token from step 8. Pick your company's Currency and Time zone.
Click Connect. Tesorio checks the API client and refresh token with Workday before saving. It first uses the integration user's password in the first import, so double-check it. The Workday row now shows Ready to onboard.
Click Set up fields on the Workday row. Add the Workday fields you use day to day, click OK, then click Confirm fields. Only the fields you add are brought into Tesorio.
Click Start onboarding, choose how much history to import, and click Start onboarding. Tesorio first runs its permission checks. The import starts only when they all pass.
New customers also see a Connect Workday to Tesorio card on the It's Time to Connect page. It asks for the same details. Connecting there starts the first import right away, with 24 months of history.
Check the first import
The Workday row in Administration > Data Sources shows Onboarding while the import runs, and Connected when it's done.
Your companies, customers, contacts and open invoices come in first. Then Tesorio imports the history you chose.
If the row shows Onboarding failed, or onboarding doesn't start, open the row's Test connection tab and click Test connection. Each failed check names what the integration user can't read, for example Read invoices or Read exchange rates. Add the missing domain in Workday, activate the change, and test again.
If the row shows Onboarding failed but every check passes, the integration user's password is probably wrong: Test connection doesn't use it. Open the row's Credentials tab, click Edit credentials, enter the Integration user password again and click Save.
After Onboarding failed, fix the cause, then contact Tesorio support to restart the import.
The row's History tab lists each sync with its status.
If the connection stops working
Tesorio signs in to Workday with an integration user and an API client your team set up. When that sign-in stops working, Tesorio's Workday syncs stop until someone updates it. Your data in Tesorio stays, but it isn't updated.
How you'll know
When Workday rejects the integration user's password:
The people on your sync failure list get the email Tesorio Sync - No valid Credentials Alert. To choose who gets it, see Set a Sync Schedule.
Tesorio shows the banner Some integration credentials are invalid. Admins see an Update credentials link in it. Other users see Please contact your administrator.
On Administration > Integrations, the Sync card says Workday credentials are invalid, with an Update Credentials button.
On Administration > Data Sources, the Workday status is Credentials invalid.
When Workday rejects the refresh token or the API client instead, Tesorio doesn't mark the credentials invalid and shows no banner. The Workday status in Data Sources is Last sync failed, your sync failure list gets the email Tesorio Sync Failure Alert, and the syncs keep failing until you update the connection.
Who fixes it
You need two people, who can be the same person:
A Tesorio admin: a user whose permission group includes the Administration module.
Your Workday administrator, because most fixes start in Workday.
What usually causes it
The integration user's password was changed or has expired.
The integration user was turned off or removed from its security group.
The refresh token was revoked or has expired.
The API client was turned off or its secret was regenerated.
Reconnect
In Workday, check that the integration user is active and in its security group, and that the API client is active. Have ready whatever changed: the new password, a new refresh token, or a new client secret.
In Tesorio, open Administration > Data Sources.
If the Workday status is Credentials invalid, click Update on its row. Otherwise, open the Workday row, go to the Credentials tab and click Edit credentials.
Fill in only what changed: Integration user password, Refresh token or API client secret. Leave the others blank to keep the saved values. Click Save. Tesorio checks the API client and refresh token with Workday before saving. It checks the password only when the next sync runs, so double-check it.
You can also click Update Credentials on the Administration > Integrations page or in the banner. That form asks for every field again, so have all of them ready. If your Workday administrator does this part, you can send them the page it opens. Its link works for 14 days.
When it works
If the status was Credentials invalid, it goes back to connected, Tesorio emails your sync failure list that the credentials were updated, and a full sync starts right away. Otherwise, the next scheduled sync uses the new details. To sync sooner, open the Workday row's menu (...) and choose Sync now.
If you see an error
Invalid user credentials (Username, Password): check the integration user's name and password.
Invalid API credentials (Client ID, Client secret): check the API client's ID and secret.
Invalid Refresh token: create a new refresh token for the API client and enter it.
Invalid Workday domain or Could not reach Workday at that domain.: the domain must be your Workday services address, starting with https and ending in workday.com or myworkday.com. It can't change after the first import.
Data has already been imported from this account, so it can't be switched to another one.: the domain or tenant is different from the one Tesorio already imported. To move to another Workday tenant, contact Tesorio support.
If you still can't reconnect, contact Tesorio support and include the error message.



