---
category: [Homepages & Self-Service Sites, Platform and Product Extensions, Platform and Product Extensions/Home Experience, Administration & Integrations, Platform and Product Extensions/Integration, Administration & Integrations/Custom Integrations & Apps, Platform and Product Extensions/Workday Extend]
keyword: [Extend, Orchestration, Orchestration Builder]
nav: wcp_docs
parent_url: /wcp_docs/
title: >- 
  Example: Get And Create Workday Employee Data
layout: subsection
---

### Scenario

<a id="context_N10045_N10042_N10001"></a>
You want to retrieve and create values for these Workday employee data:

-   Whether the employee is a manager.
-   The employee's full name.
-   The employee's Workday ID.


### Steps

1.  <a id="step_N10098_N10050_N10042_N10001"></a>From the <b>Components</b> panel, drag <b>Send Workday API Request</b> and drop it between <b>WORKDAY HOME CARD REQUEST</b> and <b>CREATE WORKDAY HOME CARD</b>. Select the <b>Send Workday API Request</b> component you just dropped and:
    1.  Double-click <b>SendWorkdayAPIRequest</b> to rename the step to <i>Get Workday Employee Data</i>.
    2.  On the <b>Properties</b> panel, enter a <b>Reference Name</b> of <i>getWorkdayEmployeeData</i>.
    3.  Click <b>Edit Properties</b>.

2.  <a id="step_N100C6_N10050_N10042_N10001"></a>Enter these values.
    1.  On the `GET` request row, click the <b>+</b> icon and paste `/common/v1/workers/me`.

        This API request returns the worker who is viewing the card. You must return a specific worker or else the API request will fail.

    2.  On the <b>Settings</b> tab, select <i>Json</i> as the <b>Response Type</b>.
    3.  Click <b>Save Changes</b>, then click <b>Close</b>.

3.  <a id="step_N10105_N10050_N10042_N10001"></a>From the <b>Components</b> panel, drag <b>Create Values</b> and drop it between <b>SEND WORKDAY API REQUEST</b> and <b>CREATE WORKDAY HOME CARD</b>. Select the <b>Create Values</b> component you just dropped and:
    1.  Double-click <b>CreateValues</b> to rename the step to <i>Create Workday Employee Data</i>.
    2.  On the <b>Properties</b> panel, enter a <b>Reference Name</b> of <i>createWorkdayEmployeeData</i>.
    3.  Click <b>Edit Properties</b>

4.  <a id="step_N1016A_N1002C_N1001E_N10001"></a>Create these rows:

<table><thead><tr><th>Type</th><th>Key</th><th>Value</th></tr></thead><tbody><tr><td>Boolean</td><td><i>isManager</i></td><td><ul><li>    Click the <b>+</b> icon and select <b>Data from Orchestration Steps</b> &gt; <b>Send Workday API Request</b> &gt; <b>response</b>.
</li><li>    Hover over <b>getWorkdayEmployeeData.response</b>, click the <b>fx</b> icon, and select <b>booleanAtJsonPathWithDefault</b>.
</li><li>    Hover over <b>path</b>, click the <b>+</b> icon, and enter <code>$.isManager</code>.
</li><li>    Hover over <b>defaultValue</b>, click the <b>+</b> icon, enter <i>false</i>, and select <b>Add boolean false</b>
</li></ul></td></tr><tr><td>String</td><td><i>fullName</i></td><td><ul><li>    Click the <b>+</b> icon and select <b>Data from Orchestration Steps</b> &gt; <b>Send Workday API Request</b> &gt; <b>response</b>.
</li><li>    Hover over <b>getWorkdayEmployeeData.response</b>, click the <b>fx</b> icon, and select <b>stringAtJsonPath</b>.
</li><li>    Hover over <b>path</b>, click the <b>+</b> icon, and enter <code>$.descriptor</code>.
</li></ul></td></tr><tr><td>String</td><td><i>workerID</i></td><td><ul><li>    Click the <b>+</b> icon and select <b>Data from Orchestration Steps</b> &gt; <b>Send Workday API Request</b> &gt; <b>response</b>.
</li><li>    Hover over <b>getWorkdayEmployeeData.response</b>, click the <b>fx</b> icon, and select <b>stringAtJsonPath</b>.
</li><li>    Hover over <b>path</b>, click the <b>+</b> icon, and enter <code>$.id</code>.
</li></ul></td></tr></tbody></table><br/>

5.  <a id="step_N10248_N1005E_N10042_N10001"></a>Click <b>Save Changes</b>, then click <b>Close</b>.


### Result

<a id="result_N10263_N10042_N10001"></a>
You can now access Workday employee data in subsequent components in the orchestration.

### Next Steps

<a id="postreq_N1026A_N10042_N10001"></a>
See [Example: Branch On Manager Condition](/wcp_docs/ugp1630014423871.html).

