Example: Create a Report Design for a Letter
This example illustrates how to create a report design for a new hire letter.
Your talent acquisition team often needs to send new hire letters to successful applicants. They ask you to create a report design for this purpose using a placeholder text. You'll use a custom report definition and Workday Report Designer to create the new hire letter design.
- Sign in to your Workday GMS tenant.If you don't have a Workday GMS tenant, you can use any QA tenant in your Sandbox with the correct security access.
- Access theCreate Custom Reporttask.
- Configure these values:OptionValueReport NameMy New Hire Letter ReportReport TypeAdvancedEnable As Web ServiceSelect this check box.Optimized for PerformanceClear this check box.Data SourceAll Active Employees
- OnColumns, configure these values:Business ObjectFieldColumn Heading OverrideColumn Heading Override XML AliasEmployeeCompanyCompanyCompanyEmployeeLegal Name in General Display FormatEmployee NameEmployee_NameEmployeeLegal Name - First NameEmployee First NameEmployee_First_NameEmployeeHire DateDate of HireDate_of_HireEmployeeBusiness TitleBusiness TitleBusiness_TitleEmployeeManager Preferred Name in General Display FormatManagerManagerEmployeeSupervisory OrganizationOrganizationOrganizationEmployeeLocation - NameLocationLocationEmployeeTotal Base Pay Annualized - AmountAmountAmountEmployeeTotal Base Pay Annualized - CurrencyCurrencyCurrencyEmployeeWork Address - FullWork AddressWork_AddressEmployeePrimary Address - FullPrimary AddressPrimary_AddressEmployeeCurrent WorkerSignatorySignatoryEmployeeFrom the prompt, selectCreate Calculated Field for Reportand configure these values:
- Field Name:Current Worker Business Title
- Business Object:Employee
- Function:Lookup Related Value
- Lookup Field:Current Worker
- Return Value:Business Title
Signatory Business TitleSignatory_Business_Title - On theFiltertab, add a filter condition with these values:OptionValueAnd/OrAndFieldWorkerOperatorin the selection listComparison TypePrompt the user for the valueComparison ValueDefault Prompt
- On thePromptstab, add aPrompt Defaultsrow with these values:OptionValueFieldWorkerPrompt QualifierDefault PromptLabel for PromptWorkerDefault TypeNo default value
- On theSharetab, select theShare with all authorized userscheck box.
- Open Report Designer in Workday Studio.
- Create a report project namedNew Hire Letter. In that project, create a report file namedNew Hire Letter.rptdesign.
- Create a Workday data source and download some sample data:
- Create a newWorkday Report Data SourcenamedNew Hire Letter Data Source.
- Download the report description for theMy New Hire Letter Reportcustom report from Workday.
- Download sample report data from Workday and name the fileNew Hire Letter.xml.
- Select and search worker instances to include in the report.
You can select multiple worker instances for the report. Report Designer displays a check mark when you select a worker and shows how many items you've selected. You can click the items link to view the selected worker instances or remove them from your selection. - Create a new data set with these values:OptionValueData Source SelectionNew Hire Letter Data SourceData Set TypeWorkday Primary Report Data SetData Set NameEmployees
- Add a local image file of the company logo to the layout:
- In thePaletteview, drag anImagereport item to theLayouttab of the new hire letter design file.
- Select theEmbedded imageoption, then clickAdd Image...to browse to an appropriate image file.
- Insert the image in the report design.
- Add theCompanyfield to the layout:
- In theData Explorerview, expand theEmployeesdata set node.
- Drag aCompanydata set item to the layout and position it below the image.
- Drag aWork Addressdata set item to the layout and position it below the previous item.
- Add theEmployee Namefield to the layout:
- Drag aEmployee Namedata set item to the layout and position it below the previous item.
- On thePaddingtab of the field'sProperty Editorview, configure theToppadding to12points.
- Drag aPrimary Addressdata set item to the layout and position it below the previous item.
- Add a salutation to the layout:
- In thePaletteview, drag theLabelreport item to the layout and position it below the previous item.
- EnterDearin the label field. Add a space after the text.
- On theGeneraltab of the field'sProperty Editorview, configureDisplaytoInline.
- Configure the top padding of this field to12points.
- Drag aEmployee First Namedata set item to the layout and position it below the previous item.
- Configure the display of this field toInline.
- Add the introductory text to the layout:
- Drag aLabelreport item to the layout and position it below the previous item.
- Enter this text in the field:Congratulations on joining our team. We are excited to have you!
- Configure the top padding of this field to12points.
- Add a statement for the terms of employment to the layout:
- Drag aLabelreport item to the layout and position it below the previous item.
- Enter this text in the field:Your employment with our company includes the following agreed upon terms:
- Configure the top padding to12points and bottom padding to6points for this field.
- Add details for the terms of employment to the layout:
- In thePaletteview, drag theGridreport item to the position below the previous item.
- Configure these values:OptionValueNumber of columns2Number of rows6
- Drag aLabelreport item to each of the 6 rows of of the first column of the grid.
- In each of the label fields, enter these values:
- Date of Hire:
- Business Title:
- Manager Name:
- Organization:
- Location:
- Base Pay Amount:
- Select the cell above the labels, then apply bold formatting.
- Drag these data set items to the second column of the grid:LabelData Set ItemDate of Hire:Date of HireBusiness Title:Business TitleManager Name:ManagerOrganization:OrganizationLocation:LocationBase Pay Amount:Amount
- Configure the display of theAmountfield toInline.
- Drag aCurrencydata set item to the amount field besideAmount, then configure its display toInline.
- Define custom background colors for each column of the grid:
- Select 1 column.
- On theGeneraltab of theProperty Editorview, click theBackground colorbutton.
- Select a basic color.
- Click theDefine Custom Colors >>button, then select a variation on the color based on Lum or Hue values.
- Click theAdd to Custom Colorsbutton to save your color choice.
- Add more text to the layout:
- In thePaletteview, drag the label report item, and position it below the grid.
- Enter this text in the label field:Please be advised that your employment with the Company will be "at-will", which means that either you or the Company may terminate your employment at any time, for any reason or no reason, with or without notice. There is no promise by the Company that your employment will continue for a set period of time or that your employment will be terminated only under peculiar circumstances.
- Configure the top padding of the field to12points.
- Add a sign-off to the layout:
- Drag aLabelreport item and position it below the previous item.
- Add this text to the label:Sincerely,
- Configure the top padding of the field to12points.
- Add a signatory to the layout:
- Drag aSignatorydata set item and position it below the previous item.
- Drag aSignatory Business Titledata set item and position it below theSignatoryitem.
- Configure the top padding to6points for each of these items.
- On theMaster Pagetab, delete the date expression from the footer.
- Save and preview your design.
Deploy your design to Workday for use as a business form layout.