Hiring tutorial > Create the user interface >

In this lesson, you create the user interface that the hiring manager uses to create a position request. In the Standard HR Open New Position process, the hiring manager completes the submit position request activity. To enable the hiring manager to complete the activity, you create the user interface in IBM® Business Process Manager by using a number of coach views and the variables of the client-side human service.

This lesson uses the following concept:

Concept Description
coaches The user interfaces for human services.

Procedure

  1. In the Create Position Request CSHS client-side human service:
    1. Select the Coaches tab and then select the Create position request coach. The coach opens to display the canvas. Because this coach was created as a default, it already contains a number of controls that are based on the variables of the human service and an OK button.
    2. Delete all of the controls except for the OK button.
    3. Drop a panel onto the layout area above the OK button.
    4. Rename the panel to Position Request. In the Configuration properties, change the color to Primary.

    The Create position request coach containing the Position Request section above the OK button.

  2. Create the form part of the coach:
    1. In the panel, add a Horizontal Layout control.
    2. From the palette, add the Requisition CV coach view to the horizontal layout. When you create a coach view, it is added to the palette so that you can add it to other coach views.
      The Position Request panel containing a horizontal layout that in turn contains the Requisition CV coach view
    3. Add the Position CV coach view beside the Requisition CV in the horizontal layout.
    4. The Position Request panel containing the Requisition CV and Position CV coach views

    5. Bind the Requisition CV to Requisition and bind the Position CV to Position.
    6. Select the Requisition CV and open its Positioning properties. Set the Width to 49%. Repeat for the Position CV.
    7. Set the Requisition configuration option for Position CV
      1. Select Position CV
      2. Click Properties > Configuration.
      3. Click the purple icon beside Requisition
        The selection icon
      4. Click the Select button and select the requisition business object.
        The requisition configuration option
    8. Select the OK button. Relabel the button to Next.
  3. Save your work.
  4. Build the Confirm position details coach. This coach is where the hiring manager reviews the position request.
    1. In this coach, you want to view the details in the Requisition CV and Position CV as read-only. However, the coach views have fields that have a visibility of required. If you don’t want the fields to be marked required, create duplicate coaches.
      1. In the library, right click User Interfaces to view the coach views.
      2. Right click Requisition CV and click Duplicate. A duplicate coach, Requisition CV 2, is created.
        The Duplicate option
      3. Similarly, create a duplicate coach Position CV 2.
      4. Edit Requisition CV 2 and Position CV 2 and change the visibility of the following fields from required to Same as parent:
        Position CV 2 > Position
        Position CV 2 > Starting date
        Requisition CV 2 > Employment type
        Requisition CV 2 > Department type
    2. Select the Confirm position details coach. In the Select a Template window, start with the default coach and click OK.
    3. Drop a panel onto the canvas. Relabel it to Confirm Position Request and change the color style to Primary.
    4. Add an Output Text control to the Confirm Position Request panel. Change the label to Requisition number and bind it to requisition.reqNum.
    5. Drop a Horizontal Layout into the Confirm Position Request panel. In its Visibility properties, change its visibility to Read only.
    6. Add the Requisition CV 2 and Position CV 2 to the horizontal layout. Set their width to 49% each.
    7. Bind Requisition CV 2 to Requisition and bind Position CV 2 to Position.
    8. Set the Requisition configuration option for Position CV 2.
    9. Drop a Horizontal Layout below the Confirm Position Request panel. Change its horizontal alignment to right.
    10. Drag the existing OK button into this section and then add another button. Rename the left button to Back and the right button to Submit.

    The layout of the Confirm Position Request coach

  5. Save your work.
  6. Build the Specify Existing Position coach. This coach is where the hiring manager enters information about an existing position and the person currently filling that position.
    1. Select the Specify Existing Position coach. In the Select a Template window, start with the default coach and click OK.
    2. Drop a Panel onto the canvas. Relabel it to Existing Position and change the color style to Primary.
    3. Drop a Horizontal Layout into the panel.
    4. Drop the Person CV into the horizontal layout and bind it to currentPosition.replacement.
    5. Add another panel beside the Person CV coach view and relabel it to Position. In its Visibility properties, change its visibility to Read only.
    6. Add a Text control to the section and relabel it to Position type. Bind it to currentPosition.positionType.
    7. Add another Text control to the section and relabel it to Title. Bind it to currentPosition.jobTitle.
    8. Drop a horizontal layout below the Existing Position section. Change its horizontal alignment to left.
    9. Drag the existing OK button into this section and then add another button. Rename the left button to Back and the right button to Next. Change the color style of the buttons to Primary
    10. The image shows the completed Specify existing position coach. The names of the controls are in the table below.

  7. Save your work.

Summary

You created the user interface that the hiring manager uses to create a position request.

In the next lesson, you will create the complete the flow for the Create Position Request CSHS client-side human service.

<Previous | Next >