<?xml version="1.0" encoding="UTF-8"?>

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:01a0d986-6bbb-7a70-a3f5-d4570c2bf367,g:0594a543-b1f7-4561-a846-6ce688ba6e8d-->
<link:linkbase xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/all" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#all"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#hypercube-dimension"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-default"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-domain"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/domain-member" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#domain-member"/>
  <link:roleRef roleURI="http://wfx.webfilings.com/role/Cover" xlink:type="simple" xlink:href="wk-20260924.xsd#Cover"/>
  <link:definitionLink xlink:role="http://wfx.webfilings.com/role/Cover" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityInformationLineItems_01a0d986-6bbb-7647-b5de-9999d65e0056" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityInformationLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntitiesTable_01a0d986-6bbb-7715-a5fa-4eadf479679f" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntitiesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_dei_EntityInformationLineItems_01a0d986-6bbb-7647-b5de-9999d65e0056" xlink:to="loc_dei_EntitiesTable_01a0d986-6bbb-7715-a5fa-4eadf479679f" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_01a0d986-6bbb-7f1e-8cdc-d66cb86044ef" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_dei_EntitiesTable_01a0d986-6bbb-7715-a5fa-4eadf479679f" xlink:to="loc_us-gaap_StatementClassOfStockAxis_01a0d986-6bbb-7f1e-8cdc-d66cb86044ef" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_01a0d986-6bbb-7f1e-8cdc-d66cb86044ef_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_01a0d986-6bbb-7f1e-8cdc-d66cb86044ef" xlink:to="loc_us-gaap_ClassOfStockDomain_01a0d986-6bbb-7f1e-8cdc-d66cb86044ef_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_01a0d986-6bbb-7353-9e0f-ad4e815c7aa2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_01a0d986-6bbb-7f1e-8cdc-d66cb86044ef" xlink:to="loc_us-gaap_ClassOfStockDomain_01a0d986-6bbb-7353-9e0f-ad4e815c7aa2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentType_01a0d986-6bbb-7a5a-a063-10a88a02ad31" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_DocumentType"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_01a0d986-6bbb-7647-b5de-9999d65e0056" xlink:to="loc_dei_DocumentType_01a0d986-6bbb-7a5a-a063-10a88a02ad31" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentPeriodEndDate_01a0d986-6bbb-77de-bbe6-0042034f0b46" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_DocumentPeriodEndDate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_01a0d986-6bbb-7647-b5de-9999d65e0056" xlink:to="loc_dei_DocumentPeriodEndDate_01a0d986-6bbb-77de-bbe6-0042034f0b46" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityRegistrantName_01a0d986-6bbb-76d6-ad1a-5310451bd0e4" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityRegistrantName"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_01a0d986-6bbb-7647-b5de-9999d65e0056" xlink:to="loc_dei_EntityRegistrantName_01a0d986-6bbb-76d6-ad1a-5310451bd0e4" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityIncorporationStateCountryCode_01a0d986-6bbb-75bb-96a9-4b0e531c538c" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityIncorporationStateCountryCode"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_01a0d986-6bbb-7647-b5de-9999d65e0056" xlink:to="loc_dei_EntityIncorporationStateCountryCode_01a0d986-6bbb-75bb-96a9-4b0e531c538c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityFileNumber_01a0d986-6bbb-740f-8b61-cb6cbf5ebba0" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityFileNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_01a0d986-6bbb-7647-b5de-9999d65e0056" xlink:to="loc_dei_EntityFileNumber_01a0d986-6bbb-740f-8b61-cb6cbf5ebba0" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityTaxIdentificationNumber_01a0d986-6bbb-782e-a059-06187b56d23a" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityTaxIdentificationNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_01a0d986-6bbb-7647-b5de-9999d65e0056" xlink:to="loc_dei_EntityTaxIdentificationNumber_01a0d986-6bbb-782e-a059-06187b56d23a" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressAddressLine1_01a0d986-6bbb-752a-8eb9-fbcbb0f069d4" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityAddressAddressLine1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_01a0d986-6bbb-7647-b5de-9999d65e0056" xlink:to="loc_dei_EntityAddressAddressLine1_01a0d986-6bbb-752a-8eb9-fbcbb0f069d4" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressAddressLine2_01a0d986-6bbb-71f3-9e78-587fc4fc714f" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityAddressAddressLine2"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_01a0d986-6bbb-7647-b5de-9999d65e0056" xlink:to="loc_dei_EntityAddressAddressLine2_01a0d986-6bbb-71f3-9e78-587fc4fc714f" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressCityOrTown_01a0d986-6bbb-73d2-bba2-672d63d47b2d" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityAddressCityOrTown"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_01a0d986-6bbb-7647-b5de-9999d65e0056" xlink:to="loc_dei_EntityAddressCityOrTown_01a0d986-6bbb-73d2-bba2-672d63d47b2d" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressStateOrProvince_01a0d986-6bbb-7551-8e91-8b1307484670" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityAddressStateOrProvince"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_01a0d986-6bbb-7647-b5de-9999d65e0056" xlink:to="loc_dei_EntityAddressStateOrProvince_01a0d986-6bbb-7551-8e91-8b1307484670" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressPostalZipCode_01a0d986-6bbb-792f-8a99-2815bef3c6a1" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityAddressPostalZipCode"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_01a0d986-6bbb-7647-b5de-9999d65e0056" xlink:to="loc_dei_EntityAddressPostalZipCode_01a0d986-6bbb-792f-8a99-2815bef3c6a1" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_CityAreaCode_01a0d986-6bbb-7145-a83c-4c64232a61c7" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_CityAreaCode"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_01a0d986-6bbb-7647-b5de-9999d65e0056" xlink:to="loc_dei_CityAreaCode_01a0d986-6bbb-7145-a83c-4c64232a61c7" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LocalPhoneNumber_01a0d986-6bbb-73fa-802d-53cd62fc9f83" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_LocalPhoneNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_01a0d986-6bbb-7647-b5de-9999d65e0056" xlink:to="loc_dei_LocalPhoneNumber_01a0d986-6bbb-73fa-802d-53cd62fc9f83" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_WrittenCommunications_01a0d986-6bbb-75c1-94cd-350de7b64977" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_WrittenCommunications"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_01a0d986-6bbb-7647-b5de-9999d65e0056" xlink:to="loc_dei_WrittenCommunications_01a0d986-6bbb-75c1-94cd-350de7b64977" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_SolicitingMaterial_01a0d986-6bbb-723b-9800-5e18c563c88f" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_SolicitingMaterial"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_01a0d986-6bbb-7647-b5de-9999d65e0056" xlink:to="loc_dei_SolicitingMaterial_01a0d986-6bbb-723b-9800-5e18c563c88f" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_PreCommencementTenderOffer_01a0d986-6bbb-7ef7-87d0-5e9cf0f1dff6" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_PreCommencementTenderOffer"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_01a0d986-6bbb-7647-b5de-9999d65e0056" xlink:to="loc_dei_PreCommencementTenderOffer_01a0d986-6bbb-7ef7-87d0-5e9cf0f1dff6" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_PreCommencementIssuerTenderOffer_01a0d986-6bbb-7769-a8c7-71b8bf64e54c" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_PreCommencementIssuerTenderOffer"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_01a0d986-6bbb-7647-b5de-9999d65e0056" xlink:to="loc_dei_PreCommencementIssuerTenderOffer_01a0d986-6bbb-7769-a8c7-71b8bf64e54c" xlink:type="arc" order="16"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_Security12bTitle_01a0d986-6bbb-73ab-a146-71397bdda355" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_Security12bTitle"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_01a0d986-6bbb-7647-b5de-9999d65e0056" xlink:to="loc_dei_Security12bTitle_01a0d986-6bbb-73ab-a146-71397bdda355" xlink:type="arc" order="17"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_TradingSymbol_01a0d986-6bbb-73ac-bf08-25becb423fec" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_TradingSymbol"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_01a0d986-6bbb-7647-b5de-9999d65e0056" xlink:to="loc_dei_TradingSymbol_01a0d986-6bbb-73ac-bf08-25becb423fec" xlink:type="arc" order="18"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_SecurityExchangeName_01a0d986-6bbb-7cd7-a02b-cf1843b3578a" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_SecurityExchangeName"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_01a0d986-6bbb-7647-b5de-9999d65e0056" xlink:to="loc_dei_SecurityExchangeName_01a0d986-6bbb-7cd7-a02b-cf1843b3578a" xlink:type="arc" order="19"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityEmergingGrowthCompany_01a0d986-6bbb-790d-8f25-3cfede82096d" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityEmergingGrowthCompany"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_01a0d986-6bbb-7647-b5de-9999d65e0056" xlink:to="loc_dei_EntityEmergingGrowthCompany_01a0d986-6bbb-790d-8f25-3cfede82096d" xlink:type="arc" order="20"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityCentralIndexKey_01a0d986-6bbb-777f-a57d-f5732218584f" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityCentralIndexKey"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_01a0d986-6bbb-7647-b5de-9999d65e0056" xlink:to="loc_dei_EntityCentralIndexKey_01a0d986-6bbb-777f-a57d-f5732218584f" xlink:type="arc" order="21"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_AmendmentFlag_01a0d986-6bbb-7511-9eca-ef6d8b984078" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_AmendmentFlag"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_01a0d986-6bbb-7647-b5de-9999d65e0056" xlink:to="loc_dei_AmendmentFlag_01a0d986-6bbb-7511-9eca-ef6d8b984078" xlink:type="arc" order="22"/>
  </link:definitionLink>
</link:linkbase>
