Skip to navigation

Workday Access Requirements (Knowledge)

View as Markdown

Moveworks supports built-in connectors for authenticating to Workday. For Moveworks to ingest and index published Workday Help Articles through the Workday Help Article REST API, and make them searchable in the Moveworks AI Assistant, you must configure Knowledge Ingestion (which this article will show you how to do for Workday) by allowing Workday permissions and setting up mappings in Moveworks Setup. Moveworks polls the articles every four hours. This page covers the Workday access a Workday admin grants and the Classic Ingestion setup a Moveworks implementer completes with Generic Config. How the integration works is described in Workday content integration.

Permissions aren't mirrored

This integration doesn’t mirror Workday permissions. Every indexed article is visible to every employee who uses the AI Assistant. Ingest only articles meant for all employees, or apply the audience filter in 6. Create the knowledge ingestion, step 11.

Who does what

SectionOwnerWhat happens
1. Grant ISU domain security permissionsCustomer Workday adminCreate the ISU and security group, and grant domain permissions
2. Create API client for integrationsCustomer Workday adminRegister the API client, generate a refresh token and enable OAuth 2.0 clients
3. Send the details to MoveworksCustomer Workday adminShare credentials and endpoints with the Moveworks implementation team
4. Verify API accessMoveworks implementerConfirm the token and article calls work and get the Published status ID
5. Create the Workday connector in Moveworks SetupMoveworks implementerAdd the Workday connector in Moveworks Setup
6. Create the knowledge ingestionMoveworks implementerConfigure Internal Knowledge ingestion with Generic Config
7. Validate the ingestionMoveworks implementer and customerConfirm articles are indexed and answer questions correctly

Prerequisites

You will need to provide the following to Moveworks.

  • Integration System User (ISU) Credentials
    • Username
    • Password
  • API Client for Integrations Credentials
    • Client ID
    • Client Secret
    • API Client Refresh Token
  • Enable OAuth 2.0 Clients Enabled
    • Edit Tenant Setup
  • URLs
    • Token Endpoint
    • Workday REST API Endpoint

The API client’s Client ID and Client Secret and the ISU’s Refresh Token go on the Workday connector in Moveworks Setup (Authentication Type: OAuth2 Refresh Token Grant), as described in 5. Create the Workday connector in Moveworks Setup. The connector signs in as the ISU through that refresh token and has no field for the ISU password.

1. Grant ISU domain security permissions

Create an Integration System User (ISU) and an Integration System Security Group (ISSG), then grant the ISSG the Help Article REST API domain permissions.

1.1 Create the ISU

  1. Use the universal search to find the Create Integration System User (ISU) Workday Task.

  2. Use the Create Integration System User (ISU) Workday Task to create a user following these settings. Write down the username and password that you use.

  3. Validate that the ISU has these default permissions after creation.

1.2 Create an ISSG and add the ISU to it

  1. Find the Create Security Group task.

  2. Create an Integration System Security Group (Unconstrained) (ISSG). Title it “ISSG_Moveworks” for best practices.

  3. Use the All Workday Accounts report to find the account again.

  4. Use the action menu to select Assign Integration System Security Groups.

  5. Add the ISU to the ISSG.

1.3 Add domain security policies to the ISSG

  1. Navigate to the ISSG using the View Security Group Report.

  2. Use the menu item for Maintain Domain Permissions for Security Group.

  3. Add the permissions listed in 1.4 Permissions.

  4. Run the Activate Pending Security Policy Changes task. The permissions don’t apply until you activate them.

1.4 Permissions

Permission TypePermissionBusiness Justification
View OnlyHelp Article REST APITo read Article content present in Workday
Get OnlyHelp Article REST APITo fetch Article data from Workday ReST API

2. Create API client for integrations

Create an API client for integrations with the scopes in 2.4 Scopes, then create a refresh token for the ISU from 1.1 Create the ISU.

2.1 Create API client

  1. Search for Register API Client for Integrations.

  2. Set the name to Moveworks and add the scopes listed in 2.4 Scopes.

  3. Write down your Client ID and Client Secret.

  4. Navigate to View API Clients. Write down the Token Endpoint and Workday REST API Endpoint.

2.2 Provision a refresh token for the ISU

  1. From the View API Clients view, click on the API Clients for Integrations tab. Click on the API Client you just created.

  2. From the related actions menu, select Manage Refresh Tokens for Integrations.

  3. Add the ISU Account you created earlier to the API Client.

  4. Select Generate Refresh Token.

  5. Write down your new refresh token.

2.3 Enable OAuth 2.0 clients

Open the Edit Tenant Setup – Security task and select the OAuth 2.0 Clients Enabled checkbox.

2.4 Scopes

Functional Area (Scope)Business Justification
HelpNeeded to fetch knowledge articles

3. Send the details to Moveworks

Send the following to your Moveworks implementation team by encrypted email. Never send them in chat or a ticket.

  • ISU username and password
  • Client ID, Client Secret and refresh token
  • Token Endpoint and Workday REST API Endpoint

Also tell the team which articles to ingest: all Published articles, or only Published articles with the audience “Public”.

4. Verify API access

Run the following three calls in Postman or curl before you configure anything in Moveworks Setup.

Take the host and tenant from the Token Endpoint. For example, the Token Endpoint https://wd2-impl-services1.workday.com/ccx/oauth2/mpc7/token gives:

  • Host: wd2-impl-services1.workday.com
  • Tenant ID: mpc7

4.1 Get an access token

curl -X POST "https://<host>/ccx/oauth2/<tenant>/token" \
-u "<client_id>:<client_secret>" \
-H "Content-Type: application/x-www-form-urlencoded" \
-d "grant_type=refresh_token&refresh_token=<refresh_token>"

Expect HTTP 200 with an access_token. Use it as a Bearer token in the next two calls.

4.2 Get the Published status ID

curl "https://<host>/ccx/api/helpArticle/v1/<tenant>/articleStatuses" \
-H "Authorization: Bearer <access_token>"

Record the id of the entry whose descriptor is Published. Example response:

{
"total": 3,
"data": [
{
"id": "d462089deafa10000e95bc590a7e0098",
"descriptor": "Published"
},
{
"id": "d462089deafa10000e88e4d7fcff0096",
"descriptor": "Draft"
},
{
"id": "99482e3e161b1000106a3bb34ef600f1",
"descriptor": "Archived"
}
]
}

4.3 List published articles

curl "https://<host>/ccx/api/helpArticle/v1/<tenant>/articleVersions?status=<published_id>&limit=100&offset=0" \
-H "Authorization: Bearer <access_token>"

Expect HTTP 200 with total and a data array. For each article, check the following:

  • id, title, content, viewLink and createdDate are present.
  • The audience descriptors (for example Public) match what the customer expects to filter on.
  • Record total to compare with the indexed count in 7. Validate the ingestion.

This URL, exactly as written, is the Start URL for 6. Create the knowledge ingestion. Keep limit=100 (the API maximum) and offset=0.

If a call fails, a 401 means the refresh token or client credentials are wrong. A 403 or empty data means the domain permissions weren’t activated (1.3, step 4) or the Help scope is missing (2.1).

5. Create the Workday connector in Moveworks Setup

  1. In Moveworks Setup, go to Core Platform > Manage Connectors > System Connectors.
  2. Click Create New, select Workday, then click Add Creds.
  3. Name: for example workday_knowledge. The name becomes the integration ID and can’t be changed. Connectors can’t be deleted.
  4. Custom Base URL: <host>/ccx, for example wd2-impl-services1.workday.com/ccx. The https:// prefix is fixed; don’t type it.
  5. Tenant Id: <tenant>, for example mpc7.
  6. Authentication Type: OAuth2 Refresh Token Grant. Enter the Client ID, Client Secret and Refresh Token.
  7. Click Save.

You can reuse an existing Workday connector (for example one used for identity or approvals) only if its API client has the Help scope and its security group has the Help Article REST API permissions. Otherwise, create a separate connector. More about connectors is in System connectors.

6. Create the knowledge ingestion

  1. In Moveworks Setup, go to Search > Configure Search > Classic Ingestion > Internal Knowledge and start a new ingestion.
  2. Connector: select the connector from 5. Create the Workday connector in Moveworks Setup.
  3. Ingestion Name: for example workday_HR.
  4. Domain: usually HR. You can’t change the domain after you submit.
  5. Advanced Mode: on the Setup Knowledge Bases step, turn on the toggle in the top-right corner. Switching modes discards unsaved progress, so do this first.
  6. Select Ingestion System: Generic Config.
  7. Start URL: paste the URL from 4.3 List published articles with the real host, tenant and Published status ID.
  8. Type of content: Article List (KNOWLEDGE_URL_TYPE_ARTICLE_LIST).
  9. Response Mappers: add one mapper, set its type to KNOWLEDGE_URL_TYPE_ARTICLE_LIST, and paste the mapper from 6.1 Response mapper.
  10. Article Mapper: paste the mapper from 6.2 Article mapper.
  11. Knowledge Article Filter Rule (optional): to ingest only articles with the audience “Public”, enter the rule from 6.3 Filter rule for the Public audience. Leave it empty to ingest every Published article.
  12. Click Submit.

6.1 Response mapper

The response mapper returns each article in data and requests the next page (offset + limit) until a page comes back empty.

{
"knowledge_articles": "response.data OR []",
"knowledge_urls": {
"CONDITIONAL()": {
"condition": "$LENGTH(response.data) > 0",
"on_pass": [
{
"type": "source_url.type",
"headers": "source_url.headers",
"parsed_url": {
"base_url": "source_url.parsed_url.base_url",
"query_params": {
"limit": "source_url.parsed_url.query_params.limit",
"offset": "source_url.parsed_url.query_params.offset + source_url.parsed_url.query_params.limit",
"status": "source_url.parsed_url.query_params.status"
}
}
}
],
"on_fail": []
}
}
}

6.2 Article mapper

{
"article_id": "id",
"display_id": "id",
"title": "title",
"body": "content",
"article_url": "viewLink",
"created_at": "createdDate",
"updated_at": "lastUpdatedDate",
"author_ids": "$MAP(createdByWorker OR [], x => x.id)",
"tags": "$MAP(tags OR [], x => x.descriptor)",
"access_control": {
"filter_list": "$MAP(audience OR [], x => x.descriptor)"
},
"article_hierarchies": [
{
"tier_label": "'CATEGORY'",
"tier_values": "[category.descriptor OR 'Workday']"
}
],
"article_class": "'KNOWLEDGE_PAGE'",
"article_state": "'PUBLISHED'",
"article_visibility": "'VISIBLE'"
}
Moveworks fieldWorkday field
article_id, display_idid
titletitle
bodycontent
article_urlviewLink
created_at / updated_atcreatedDate / lastUpdatedDate
author_idscreatedByWorker[].id
tagstags[].descriptor
access_control.filter_listaudience[].descriptor (used by the filter rule)
article_hierarchies (CATEGORY)category.descriptor; Workday if missing

Moveworks rejects an article that lacks an id, title, viewLink or at least one hierarchy value. The mapper sets the hierarchy to Workday when the article has no category.

6.3 Filter rule for the Public audience

'Public' IN article.access_control.filter_list

Use the audience descriptor exactly as the API returns it in 4.3 List published articles. This rule also matches audience names that contain “Public” (for example “Non-Public”), so check the tenant’s audience names first. The filter only limits which articles are ingested. It doesn’t add per-user permission checks.

7. Validate the ingestion

  1. Wait for the first crawl to finish after around 4 hours or sooner. It runs in the background after you submit.
  2. In Moveworks Setup, go to Search > Indexed Content > Internal Knowledge and filter by the Workday connector. Details are in Monitor indexed content.
  3. Compare the Indexed count with total from 4.3 List published articles, minus any articles the filter rule excludes. If only about 100 appear, pagination isn’t working: check the response mapper and that the Start URL has limit and offset.
  4. Open a few records and check that the Record Activity Logs show that Validation and Snippetization succeeded.
  5. Ask the AI Assistant questions that known articles answer. Confirm the right article comes back and that its link opens in Workday for a typical employee.
  6. If you used the filter rule, confirm that a known non-Public article doesn’t appear.

Troubleshooting

SymptomLikely causeFix
Connector authentication failsWrong or revoked refresh token; OAuth 2.0 clients not enabledRegenerate the token (2.2); check 2.3
403 or no articlesDomain permissions not activated; Help scope missingRepeat 1.3, step 4; check the scope in 2.1
0 articles indexedWrong status ID in the Start URL; filter rule excludes everythingRe-run 4.2; check audience descriptors against the rule
Only the first 100 articlesStart URL missing limit or offset; response mapper editedUse the 4.3 URL and the 6.1 mapper as written
Articles rejected in activity logsMissing id, title or viewLinkInspect the raw article from 4.3; adjust the article mapper
Link doesn’t openEmployee has no Workday access to the articleIndexing doesn’t grant Workday access; fix it in Workday