IBM BPM, V8.0.1, All platforms > Get started with IBM BPM > Samples and tutorials > Instructions for running the Advanced Hiring sample

Running the sample process in the IBM BPM Inspector

Run the Advanced HR Open New Position process in the Inspector view in IBM Process Designer to see a process model run step by step.

This process uses an automated SCA service developed in IBM Integration Designer to return a list of candidates whose profile fits the criteria established by the hiring manager.


Procedure

  1. On the right side of Process Designer, click the run button (

    ).

  2. Click Yes to leave the Designer perspective and to switch to the Inspector perspective.

    The Inspector perspective is where you can run business process definitions in playback mode.

    • 1. The upper left pane shows all the process instances you are running at the moment.
    • 2. The Diagram pane shows the business process definition currently running. It will change to provide relevant information about the progress of the running process.
    • 3. The upper right pane shows the list of tasks that were already run or shows the next task that is ready for execution.
    • 4. In the execution state pane, you can follow the execution tree, and you can specify breakpoints to debug the process.
    • 5. In the Variables pane, you can look into the process variables and follow how the process date is set throughout process execution.

  3. To launch the first task of the process, select the task listed in the upper right pane, and click the Run button. The first task, Submit job requisition, starts. The task's coach (user interface) is presented to the hiring manager. For the sake of this exercise, you are the hiring manager, using the userid tw_admin.

  4. When the Inspector prompts for a user ID with a list of available IDs, select tw_admin or tw_user, depending on how you are logged on. The coach opens in a browser. All data fields in the coach are prefilled for this sample. You can enter your own values, but do not change mandatory fields (the fields marked with an asterisk).

  5. If you are asked to pick a user from a role, select tw_admin and click OK.

  6. Click Next. The next coach, Confirm job requisition, opens. Again, fields are prefilled but changeable.

  7. Click Next. The last coach for this task, Submit job requisition, summarizes the data needed to proceed with the job requisition.

  8. Click Submit if the data is correct. The first task completes and the process engine displays the next task, Find Candidates. If the task is not shown immediately, refresh the task list by clicking the Refresh button in the tool bar. Based on the data that was presented, there is no need for general manager approval.

  9. Select Find Candidates and click Run.

    This time you will not see much, because the Find Candidates task is fully automated and is deleted when the process completes.

    You can access the SystemOut.log to see some statements indicating the progress and completion. The task triggers a service integrated via SCA (Service Component Architecture), which is implemented calling a number of (simulated) backend systems orchestrated in a BPEL process. This service was developed in IBM Integration Designer and associated with the process application so it could be used by the process. When the service completes, the process engine moves on and presents the next task.

  10. When the next task becomes available, select the task and click the Run button. Again, the task's coach is presented for the hiring manager. This time the coach provides a candidate who was identified and retrieved from a number of (simulated) backend systems.

  11. As Hiring Manager, you can choose one of two actions available to you:

    1. Select a candidate and invite this candidate to an interview (which completes the process).
    2. Request a new list of candidates (which runs the Find Candidates service again and possibly identifies one or more additional candidates).


Results

All the tasks in the process are done now, and the process instance completes. You can see that all tasks are now closed.

Instructions for running the Advanced Hiring sample


Related concepts:
Overview of the Advanced Hiring tutorial
Examine the Advanced HR Open New Position sample process


Related tasks:
Manage access to the Advanced Hiring process application
Verifying access to the Advanced Hiring process application
Activating the Advanced Hiring process application
Opening the Advanced Hiring process application