WorkDay Tutorial-ACTIVITY — XML for Simple Types vs. Related Business Objects

 Scenario: You are asked to change the custom report so it uses the Position RBO field instead of the Position ID field, and to get the Descriptor for the Position in the resulting output file (you can choose either comma or pipe separated output format.) For example, instead of Position ID “P-00230” the desired value in the output file is Position Descriptor “Web Content Manager”. This will be accomplished during two activities (modify the report in this activity, and modify the XSLT code in the next activity.) 

·       Modify WDINST EIB IntNewHire custom report 

·       Review the output XML 

·       Modify the XSLT code (in the next activity) 

·       Review the result

Steps: 

1.       Modify WDINST EIB IntNewHire custom report so that the following RBOs are included 

·       Cost Center (with the Column Heading Override value of TheCC) 

·       Position (with the Column Heading Override value of ThePos) 

·       Manager – Level 01 (with the Column Heading Override value of TheManager)


Add the Cost Center field below the Cost Center Name field (shown above.) 

Same with Position below the Position ID (also shown above.) 

Place the Manager Level 01 field anywhere you like.

2.    Run the updated custom report.  Note that the three added RBOs appear as actionable blue text.

3.    View the XML for the RBO fields by using the Web Service > View URLs related action:


4.       When prompted, enter a start date of Jan 1, 2013 and end date of today’s date in order to get several workers in the output. 

5.       On the View URLs Web Service page, click “Workday XML” (blue text, to the right of REST)


      6.       If you are clicking on Workday XML for the first time for this report, you will be prompted to enter username (lmcneil) and password. The resulting XML appears in the browser.

      7.       Note the RBO fields have more data than the Simple Type fields (compare CC with TheCC):