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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:019f6cbe-c3fd-7cc6-abb9-31eda6772b16,g:f5adef98-ae58-4bc2-8fc3-04ea6737ba33-->
<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-20260716.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_019f6cbe-c3fd-7b3c-bba3-5cd432d5d738" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityInformationLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntitiesTable_019f6cbe-c3fd-7788-947f-28063b25a3fc" 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_019f6cbe-c3fd-7b3c-bba3-5cd432d5d738" xlink:to="loc_dei_EntitiesTable_019f6cbe-c3fd-7788-947f-28063b25a3fc" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_019f6cbe-c3fd-78b9-b974-ed0db5004db6" 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_019f6cbe-c3fd-7788-947f-28063b25a3fc" xlink:to="loc_us-gaap_StatementClassOfStockAxis_019f6cbe-c3fd-78b9-b974-ed0db5004db6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_019f6cbe-c3fd-78b9-b974-ed0db5004db6_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_019f6cbe-c3fd-78b9-b974-ed0db5004db6" xlink:to="loc_us-gaap_ClassOfStockDomain_019f6cbe-c3fd-78b9-b974-ed0db5004db6_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_019f6cbe-c3fd-7b3c-8e7a-0101c37e41f8" 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_019f6cbe-c3fd-78b9-b974-ed0db5004db6" xlink:to="loc_us-gaap_ClassOfStockDomain_019f6cbe-c3fd-7b3c-8e7a-0101c37e41f8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentType_019f6cbe-c3fd-7e26-afce-a11fab03bba2" 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_019f6cbe-c3fd-7b3c-bba3-5cd432d5d738" xlink:to="loc_dei_DocumentType_019f6cbe-c3fd-7e26-afce-a11fab03bba2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentPeriodEndDate_019f6cbe-c3fd-7260-aa14-1e794d1fb6a4" 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_019f6cbe-c3fd-7b3c-bba3-5cd432d5d738" xlink:to="loc_dei_DocumentPeriodEndDate_019f6cbe-c3fd-7260-aa14-1e794d1fb6a4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityRegistrantName_019f6cbe-c3fd-7357-bc59-c20e402471e7" 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_019f6cbe-c3fd-7b3c-bba3-5cd432d5d738" xlink:to="loc_dei_EntityRegistrantName_019f6cbe-c3fd-7357-bc59-c20e402471e7" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityIncorporationStateCountryCode_019f6cbe-c3fd-7614-bf2c-37ab2cb09595" 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_019f6cbe-c3fd-7b3c-bba3-5cd432d5d738" xlink:to="loc_dei_EntityIncorporationStateCountryCode_019f6cbe-c3fd-7614-bf2c-37ab2cb09595" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityFileNumber_019f6cbe-c3fd-7143-9487-29de1e431cf5" 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_019f6cbe-c3fd-7b3c-bba3-5cd432d5d738" xlink:to="loc_dei_EntityFileNumber_019f6cbe-c3fd-7143-9487-29de1e431cf5" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityTaxIdentificationNumber_019f6cbe-c3fd-7d39-bf54-4a68b5ca18b1" 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_019f6cbe-c3fd-7b3c-bba3-5cd432d5d738" xlink:to="loc_dei_EntityTaxIdentificationNumber_019f6cbe-c3fd-7d39-bf54-4a68b5ca18b1" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressAddressLine1_019f6cbe-c3fd-79ae-9d6a-3c0ed44ce8fc" 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_019f6cbe-c3fd-7b3c-bba3-5cd432d5d738" xlink:to="loc_dei_EntityAddressAddressLine1_019f6cbe-c3fd-79ae-9d6a-3c0ed44ce8fc" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressAddressLine2_019f6cbe-c3fd-7600-8a94-9792d782dbc4" 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_019f6cbe-c3fd-7b3c-bba3-5cd432d5d738" xlink:to="loc_dei_EntityAddressAddressLine2_019f6cbe-c3fd-7600-8a94-9792d782dbc4" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressCityOrTown_019f6cbe-c3fd-766b-8f7b-152aae8cd8ea" 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_019f6cbe-c3fd-7b3c-bba3-5cd432d5d738" xlink:to="loc_dei_EntityAddressCityOrTown_019f6cbe-c3fd-766b-8f7b-152aae8cd8ea" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressStateOrProvince_019f6cbe-c3fd-7c07-a798-3f1b077f451b" 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_019f6cbe-c3fd-7b3c-bba3-5cd432d5d738" xlink:to="loc_dei_EntityAddressStateOrProvince_019f6cbe-c3fd-7c07-a798-3f1b077f451b" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressPostalZipCode_019f6cbe-c3fd-7d6b-874a-f51ea6266981" 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_019f6cbe-c3fd-7b3c-bba3-5cd432d5d738" xlink:to="loc_dei_EntityAddressPostalZipCode_019f6cbe-c3fd-7d6b-874a-f51ea6266981" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_CityAreaCode_019f6cbe-c3fd-7f3d-a48d-0bd9ab54e4e8" 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_019f6cbe-c3fd-7b3c-bba3-5cd432d5d738" xlink:to="loc_dei_CityAreaCode_019f6cbe-c3fd-7f3d-a48d-0bd9ab54e4e8" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LocalPhoneNumber_019f6cbe-c3fd-7bf7-98fe-849fa54bab26" 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_019f6cbe-c3fd-7b3c-bba3-5cd432d5d738" xlink:to="loc_dei_LocalPhoneNumber_019f6cbe-c3fd-7bf7-98fe-849fa54bab26" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_WrittenCommunications_019f6cbe-c3fd-7a42-96dc-1f335e7c0a74" 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_019f6cbe-c3fd-7b3c-bba3-5cd432d5d738" xlink:to="loc_dei_WrittenCommunications_019f6cbe-c3fd-7a42-96dc-1f335e7c0a74" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_SolicitingMaterial_019f6cbe-c3fd-7111-97cc-9ac665b34b07" 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_019f6cbe-c3fd-7b3c-bba3-5cd432d5d738" xlink:to="loc_dei_SolicitingMaterial_019f6cbe-c3fd-7111-97cc-9ac665b34b07" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_PreCommencementTenderOffer_019f6cbe-c3fd-7d81-b216-d55c75a26017" 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_019f6cbe-c3fd-7b3c-bba3-5cd432d5d738" xlink:to="loc_dei_PreCommencementTenderOffer_019f6cbe-c3fd-7d81-b216-d55c75a26017" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_PreCommencementIssuerTenderOffer_019f6cbe-c3fd-7d41-8b5e-26bf83759cbb" 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_019f6cbe-c3fd-7b3c-bba3-5cd432d5d738" xlink:to="loc_dei_PreCommencementIssuerTenderOffer_019f6cbe-c3fd-7d41-8b5e-26bf83759cbb" xlink:type="arc" order="16"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_Security12bTitle_019f6cbe-c3fd-701a-a635-5dd7cb00f9c2" 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_019f6cbe-c3fd-7b3c-bba3-5cd432d5d738" xlink:to="loc_dei_Security12bTitle_019f6cbe-c3fd-701a-a635-5dd7cb00f9c2" xlink:type="arc" order="17"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_TradingSymbol_019f6cbe-c3fd-7147-b498-2dca075c88d3" 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_019f6cbe-c3fd-7b3c-bba3-5cd432d5d738" xlink:to="loc_dei_TradingSymbol_019f6cbe-c3fd-7147-b498-2dca075c88d3" xlink:type="arc" order="18"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_SecurityExchangeName_019f6cbe-c3fd-783a-8b5d-b8ffdf7f64e4" 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_019f6cbe-c3fd-7b3c-bba3-5cd432d5d738" xlink:to="loc_dei_SecurityExchangeName_019f6cbe-c3fd-783a-8b5d-b8ffdf7f64e4" xlink:type="arc" order="19"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityEmergingGrowthCompany_019f6cbe-c3fd-71bd-a943-14404dcb4e74" 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_019f6cbe-c3fd-7b3c-bba3-5cd432d5d738" xlink:to="loc_dei_EntityEmergingGrowthCompany_019f6cbe-c3fd-71bd-a943-14404dcb4e74" xlink:type="arc" order="20"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityCentralIndexKey_019f6cbe-c3fd-7840-b517-3f2021399d2e" 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_019f6cbe-c3fd-7b3c-bba3-5cd432d5d738" xlink:to="loc_dei_EntityCentralIndexKey_019f6cbe-c3fd-7840-b517-3f2021399d2e" xlink:type="arc" order="21"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_AmendmentFlag_019f6cbe-c3fd-7324-b847-f71f9d706c23" 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_019f6cbe-c3fd-7b3c-bba3-5cd432d5d738" xlink:to="loc_dei_AmendmentFlag_019f6cbe-c3fd-7324-b847-f71f9d706c23" xlink:type="arc" order="22"/>
  </link:definitionLink>
</link:linkbase>
