Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
cover
Front cover
Student Exercises
ERC 1.0
WebSphere Education
Student Exercises
Trademarks
IBM, the IBM logo, and ibm.com are trademarks or registered trademarks of International
Business Machines Corp., registered in many jurisdictions worldwide.
The following are trademarks of International Business Machines Corporation, registered in
many jurisdictions worldwide:
DB2
System p
HACMP
System x
System i
System z
V8.1
Student Exercises
TOC
Contents
Trademarks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . v
Exercises description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii
Exercise 1. Creating a process application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
Part 1: Start IBM Business Process Manager and IBM Process Designer . . . . . . 1-3
Part 2: Create a process application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-7
Exercise 2. Creating a business process definition . . . . . . . . . . . . . . . . . . . . . . . . . 2-1
Part 1: Create a business process definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2
Part 2: The default business process definition (BPD) . . . . . . . . . . . . . . . . . . . . . . 2-3
Exercise 3. Modeling teams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1
Exercise 4. Modeling task-type activities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1
Part 1: Add phases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-2
Part 2: Add the activities to the team lanes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-6
Exercise 5. Creating nested processes and decomposing the business process
workflow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-1
Part 1: Create a nested process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-2
Part 2: Attach the linked process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-7
Exercise 6. Modeling gateways in a BPD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-1
Part 1: Create gateways for parent process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-2
Part 2: Create another gateway that is called Is Request Approved? . . . . . . . . . . 6-8
Part 3: Create gateways for the nested process . . . . . . . . . . . . . . . . . . . . . . . . . 6-12
Part 4: Create another gateway that is called Is Salary Acceptable? . . . . . . . . . . 6-16
Part 5: Create another gateway that is called Resubmit Salary? . . . . . . . . . . . . . 6-18
Part 6: Add End Cancel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-20
Exercise 7. Modeling timer intermediate events . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-1
Exercise 8. Validating the process model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-1
Part 1: Verify the process model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-2
Part 2: Add new process requirements to the BPD . . . . . . . . . . . . . . . . . . . . . . . . 8-3
Exercise 9. Creating a toolkit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-1
Exercise 10. Creating playback 1 assets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-1
Part 1: Create process variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-3
Part 2: Implement intermediate timer events . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-8
Part 3: Implement gateways . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-9
Part 4: Implement routing for an activity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-11
Contents
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
iii
Student Exercises
B-1
B-2
B-2
B-2
B-4
B-4
B-4
iv
V8.1
Student Exercises
TMK
Trademarks
The reader should recognize that the following terms, which appear in the content of this
training document, are official trademarks of IBM or other companies:
IBM, the IBM logo, and ibm.com are trademarks or registered trademarks of International
Business Machines Corp., registered in many jurisdictions worldwide.
The following are trademarks of International Business Machines Corporation, registered in
many jurisdictions worldwide:
DB2
System p
HACMP
System x
System i
System z
Trademarks
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Exercises
vi
V8.1
Student Exercises
pref
Exercises description
This course includes the following exercises:
Exercise 1: Creating a process application
Exercise 2: Creating a business process definition
Exercise 3: Modeling teams
Exercise 4: Modeling task-type activities
Exercise 5: Creating nested processes and decomposing the
business process workflow
Exercise 6: Modeling gateways in a BPD
Exercise 7: Modeling timer intermediate events
Exercise 8: Validating the process model
Exercise 9: Creating a toolkit
Exercise 10: Creating playback 1 assets
Exercise 11: Conducting playback 1
Exercise 12: Creating and implementing a coach service
Exercise 13: Creating a snapshot
Exercise 14: Creating playback 3 assets
Exercise 15: Enhancing a coach
Exercise 16: Creating error handling for a service
In the exercise instructions, a line prefixes each step. You can check
off each step as you complete it to track your progress.
Most exercises include required sections, which must always be
completed. These sections might be required before starting later
exercises. Some exercises also include optional sections that you can
choose to do if you have sufficient time and want an extra challenge.
The standard Exercise instructions section provides high-level
instructions for the tasks that you do. You apply the knowledge that
you gained in the unit presentation to do the exercise.
Exercises description
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
vii
Student Exercises
viii
V7.0
Student Exercises
EXempty
Introduction
To accomplish the task of creating a process model (BPD) in the IBM
Process Designer, there must be a process application to contain the
model. Using the Process Center, an author first creates a process
application with all the appropriate information to enable creation of a
process model or BPD.
Requirements
None
1-1
Student Exercises
Exercise instructions
Hiring Requisition process
A company is experiencing rapid growth and must hire many people in a short amount
of time. The process that you are going to examine and model is called the Hiring
Requisition process. This process covers a new job position through submission,
approval, and completion so applicants can apply for the job position.
Core requirements
1.1 A Hiring Manager submits a hiring requisition to the HR Department. The request
contains the following information:
Customer details:
Requisition number
Date of request
Requester
Date position available
Job title
Job description
Job level
Number of direct reports
Division
Department
Salary to offer
Bonus amount
Hiring manager comments
New position
2.1 If the answer to New position is Yes, the request is forwarded to a General Manager.
After the General Manager receives the request, the General Manager indicates approval
or disapproval.
2.2 If the request is not approved, the General Manager specifies a reason and the request
is closed. If the request is approved, a salary compliance check is conducted.
2.3 The Hiring Manager is notified of the General Managers decision immediately after the
General Manager approval step.
1-2
V7.0
Student Exercises
EXempty
2.4 After the requisition is submitted, an automated system checks for salary compliance. If
the request meets salary compliance, the hiring request is automatically posted to the HR
Positions database and made available for dissemination.
2.5 When a request violates the established salary guidelines of the company, the HR
Administrator can approve or reject the requested salary override.
2.6 If the salary override is approved, the request is posted to the HR Positions database
and made available for dissemination.
2.7 If the HR Administrator rejects the requested salary, the HR Administrator must provide
comments for the violation, add a proposed salary, and send the request back to the Hiring
Manager who originated the request.
2.8 When the Hiring Manager gets the request back because of a rejection, the Hiring
Manager can negotiate an adjusted salary or can cancel the request. If the negotiation is
successful, the request is resubmitted back to the same HR Administrator.
2.9 All hiring requests must be added to the HR Positions database regardless of the
disposition at the end of the process during a finalization activity.
2.10 The HR Administrator has 4 hours to complete the review. If the review is not
completed within 4 hours, an email is sent to the HR Administrator. The email notifies the
HR Administrator of the missed deadline.
Part 1: Start IBM Business Process Manager and IBM Process Designer
Before you can start IBM Business Process Manager, three server configurations must be
started. After logging on to the lab environment, start the Deployment Manager profile, the
Node Agent profile, and the Deployment Environment.
Important
All three server configurations must be started in order, starting with the Deployment
Manager profile; then the Node Agent profile, followed last by the Deployment
Environment. To accomplish it quickly, IBM Business Process Manager provides a quick
start routine to run the server start in order.
1-3
Student Exercises
__ d. Click the DmgrProfile folder and then click the ProcessCenter Quick Start
option.
__ e. In the IBM Business Process Manager Standard Quick Start browser window,
click the Start the Process Center Deployment Environment link.
1-4
V7.0
Student Exercises
EXempty
__ f.
In the cell credentials prompt, enter admin for the Username and Password.
Important
A command prompt window runs through a start of the Deployment Manager profile,
Node Agent profile, and Deployment Environment. Allow the entire start to complete. It
can take a few minutes, so make sure that you provide ample time for this initial start.
__ g. When the start routine is done, do as the command window prompts, and Press
any key to continue...
__ h. The quick start browser window populates. It might take up to 30 minutes for the
servers to fully engage. When the four sections are populated on the IBM
Business Process Manager Standard Quick Start browser window
(Deployment environment administration, Administration consoles & tools,
Process application consoles & tools, and Documentation), the server is started.
__ i.
Minimize the IBM Business Process Manager Standard Quick Start browser
window so that you can use the page to access the Process Portal later in the
exercises.
1-5
Student Exercises
1-6
V7.0
Student Exercises
EXempty
When the Process Designer opens, close the Getting Started window (this window is
provided in the first time start) to go to the Process Center window, which displays the list
of process applications that are available.
Now that everything is started and you are in the Process Center, you are ready to start
your exercises. Each exercise shows step-by-step instructions that you can follow to
complete the tasks. In IBM Process Designer, there are many different ways to complete
modeling tasks. The step-by-step instructions show one way to accomplish these tasks in
the exercises, and there are variable ways to accomplish the same thing.
1-7
Student Exercises
To accomplish the task of creating a process model (BPD) in the IBM Process Designer,
there must be a process application to contain the model. Using the Process Center, an
author first creates a process application with all the appropriate information to enable
creation of a process model or BPD.
__ 1. Create a process application.
__ a. Click the Create New Process App link on right panel of IBM Process Designer.
__ c. Click Create.
1-8
V7.0
Student Exercises
EXempty
The process application is created and is now in your list of process apps.
After opening the process application, the initial view of the Designer is as follows:
1-9
Student Exercises
The highlighted area shows the process application that you are editing. Notice that the
initial screen is also an opportunity to edit the process application settings such as name,
acronym, description, and authorization. For this course, leave the settings as is and
continue with your process modeling tasks.
End of exercise
V7.0
Student Exercises
EXempty
1-11
Student Exercises
V7.0
Student Exercises
EXempty
Introduction
The Hiring Requisition process owner provided detailed information
about the process and its current state to the BPM analyst. The BPM
analyst documented the information and analyzed the process for
improvement. This step completed the process discovery and initial
analysis, and now the process model can be created.
To accomplish the task of creating the initial process model, you define
a pool, lanes, phases, and flow objects such as activities, events, and
nested processes. Based on the information that is provided, a BPD
based on process discovery and analysis is created. Your first task is
to create a business process definition and name it appropriately.
Requirements
Successful completion of the previous exercise is required.
2-1
Student Exercises
Exercise instructions
The process owner provided detailed information about the process and its current state to
the BPM analyst, who in turn documented the information and analyzed the process for
improvement. This action completed the process discovery and initial analysis, and now
the process model can be created.
To begin the task of creating the initial process model, create a business process definition
(BPD) in IBM BPM Process Designer.
2-2
V7.0
Student Exercises
EXempty
__ d. Click Finish.
End of exercise
2-3
Student Exercises
2-4
V7.0
Student Exercises
EXempty
Introduction
Based on the information that is provided, model the teams.
Requirements
Successful completion of the previous exercise is required.
3-1
Student Exercises
Exercise instructions
Add the necessary team lanes to the two lanes (team and system) provided and rename
the lanes appropriately.
__ 1. Model the process teams.
__ a. Read the main process requirements in exercise 1, pages 1-2 and 1-3, and
identify the teams. In the process requirements, there are two human teams in
the main process: Hiring Manager and General Manager. There is also one
System team for a total of three lanes.
__ b. Click the Lane icon and drag one lane from the palette to the BPD.
3-2
V7.0
Student Exercises
EXempty
Your process displays as follows. If your lanes are not in the order that is shown, drag the
lane to the correct location.
3-3
Student Exercises
__ b. In the Properties tab, change the name of the top lane from the current name to:
Hiring Manager
3-4
V7.0
Student Exercises
EXempty
__ c. Repeat the previous steps and change the name of the second lane from team
to: General Manager
This step leaves the bottom lane as the System lane.
End of exercise
3-5
Student Exercises
3-6
V7.0
Student Exercises
EXempty
Introduction
In this exercise, you add phases and activities to the appropriate lanes
and use sequence flow to connect the activities. As mentioned in the
unit, you model the happy path first. Gateways and various flows are
presented in the next unit.
Requirements
Successful completion of the previous exercise is required.
4-1
Student Exercises
Exercise instructions
To accomplish the task of adding activities and more events to the process model, use the
process requirements that are provided at the beginning of exercise 1. Read the main
process requirements and determine the activities from the requirements. Because the
requirements were written down, it might be easier to write down the activities on paper
before proceeding. Remember, activities use a verb-noun naming convention. If you read
the requirements carefully, notice that the main process is described from item 2.1 through
item 2.4. In the process requirements, there are four activities in the main process: Submit
Hiring Request, Approve New Hire Request, Approve Hire Request, and Complete Hire
Request.
Determine which teams conduct each of the four activities. From the process requirements,
determine the following assignments:
Hiring Manager (team): Submit Hiring Request
General Manager (team): Approve New Hire Request
System (team): Approve Hire Request and Complete Hire Request
4-2
V7.0
Student Exercises
EXempty
__ 1. Add the Submission, Approval, and Completion phases.
__ a. Click the Phase icon and drag one phase from the palette to any lane in the
BPD.
4-3
Student Exercises
__ 2. Repeat the previous step to create two more phases in the diagram.
__ 3. You can resize phases by dragging the border. Use the mouse to click a black
square and drag it to the preferred size. Release the mouse when finished.
4-4
V7.0
Student Exercises
EXempty
__ c. Repeat the previous steps, but change the name of the second phase to
Approval and the last phase to Completion
4-5
Student Exercises
4-6
V7.0
Student Exercises
EXempty
Note
You are prompted to immediately name your activity. In the previous exercise, you named
components in the Properties tab. Now name the activities another way, by typing in the
name right after dropping the component on the BPD. Either method can be used to name
modeling components.
__ b. Immediately after you drag the activity, start typing to change the name of the
activity to: Submit Hiring Request
4-7
Student Exercises
Note
You can also click the center of the activity to rename it at any time.
__ c. Repeat dragging three more activities to their corresponding lanes and changing
the names until your BPD is complete and the locations of each activity match
the Diagram table:
Table 1: Diagram
Submission
Approval
Completion
Submit Hiring
Hiring Manager
Request
Approve New Hire
General Manager
Start event
End event
Request
Complete Hire
System
Approve Hire Request
Request
Note
The two activities in the System lane have a different icon from the others. The type of
activity is System Task by default, because they are placed in the System lane.
4-8
V7.0
Student Exercises
EXempty
__ d. As a final step, move your start event before the first activity, Submit Hiring
Request, and the end event after the last activity, Complete Hire Request.
4-9
Student Exercises
Note
The closest blue dot to your click is used; you do not have to click directly on the blue dot.
__ c. Move your mouse over to the Submit Hiring Request activity and click one
time. Do not double-click to release the line because it draws another line.
__ d. Repeat the steps to draw lines and sequence flow between the Submit Hiring
Request activity and the Approve New Hire Request activity.
V7.0
Student Exercises
EXempty
__ e. Repeat the steps again to sequence the rest of the activities on the diagram to
the next component on the BPD. Each activity or event is connected to one other
activity or event in your initial diagram.
__ 3. If the lines are not straight, straighten the lines on the Start and End events by using
the Ctrl key and the arrow keys.
__ a. Click the selection icon on the element palette and then click the Submit Hiring
Request activity.
4-11
Student Exercises
__ b. While holding down the Ctrl key, press the Up arrow key to move the Submit
Hiring Request activity up until it aligns with the Start event.
__ c. Repeat the previous step to align and straighten the flow between Complete
Hire Request activity and the End event.
__ 4. Save your BPD.
__ a. Click Save to save your BPD. The first BPD is complete for this exercise. Next,
you create another BPD, a nested process.
End of exercise
V7.0
Student Exercises
EXempty
4-13
Student Exercises
V7.0
Student Exercises
EXempty
Introduction
In this exercise, you complete decomposition on your process and
create subprocesses or linked processes where you see opportunities
for them.
Remember that some processes might not need decomposition.
Requirements
Successful completion of the previous exercise is required.
5-1
Student Exercises
Exercise instructions
To accomplish the task of adding activities and more events to the process model, take the
process requirements that are provided and translate the business workflow steps into
process tasks.
5-2
V7.0
Student Exercises
EXempty
__ d. Repeat the previous steps and change the name of the second lane to: HR
Administrator
This action leaves the bottom lane as the System lane.
__ 3. Create activities.
Activities include Check Hire Request, Override Hire Request, and Negotiate Hire Request.
__ a. Click the Activity icon and drag the first activity from the palette to the Hiring
Manager lane.
5-3
Student Exercises
__ b. Immediately after you drag the activity, start typing to change the name of the
activity to: Negotiate Hire Request
__ c. Repeat dragging two more activities to their corresponding lanes and changing
the names until your BPD is complete and the locations of your activities match
the Nested diagram table:
Table 2: Nested diagram
No phases
Hiring Manager
Negotiate Hiring Request
Start event, Override Hire Request, End
HR Administrator
event
System
Check Hire Request
5-4
V7.0
Student Exercises
EXempty
5-5
Student Exercises
__ d. Move your start event before the first activity, Check Hire Request, and the end
event after the Negotiate Hire Request activity; and arrange the activities in an
upward diagonal line.
5-6
V7.0
Student Exercises
EXempty
__ e. Click the Sequence Flow icon on the palette, and connect the activities from left
to right.
__ f.
5-7
Student Exercises
5-8
V7.0
Student Exercises
EXempty
5-9
Student Exercises
__ c. Drag the existing Approve Hire Request activity into the Approvers lane.
V7.0
Student Exercises
EXempty
__ f.
Click the drop-down menu and from the Implementation menu, select Linked
Process.
__ g. Click Select.
5-11
Student Exercises
__ i.
__ j.
V7.0
Student Exercises
EXempty
End of exercise
5-13
Student Exercises
V7.0
Student Exercises
EXempty
Introduction
The purpose of this exercise is to add all the gateways necessary to
model the flow control for the business process definitions.
Requirements
Successful completion of the previous exercise is required.
6-1
Student Exercises
Exercise instructions
Part 1: Create gateways for parent process
Process flow controls are known as gateways. A gateway is represented as a diamond,
and can be thought of as a question at a point in the process flow.
Gateways are added to the parent process, the Hiring Request Process. In this part of the
exercise, create a gateway that is called Is Position New?
In the Hiring Request Process, you need a gateway to direct the process for the General
Manager to review the salary after the Submit Hiring Request activity.
Important
If your sequence flow lines do not exactly match the exercise diagrams in this lab, that is
okay, and sequence flow lines change after implementation of the gateways. The flow lines
become default or conditional (are plain or have a diagonal hash marker) according to the
order you draw them in, so your lines vary a bit from the diagrams in the labs.
__ 1. Drag a Gateway from the palette onto the canvas to the right of the Submit Hiring
Request activity.
6-2
V7.0
Student Exercises
EXempty
__ b. In Common, enter Is Position New? as Name and make sure that the Name
Visible box is checked.
__ c. In Behavior, verify that Exclusive Gateway is the Gateway Type.
6-3
Student Exercises
__ b. While selected, right-click the sequence flow and select Edit > Delete.
Note
While selected, you can also delete the sequence flow by pressing the Delete key.
__ e. Click the selection icon in the element palette and then select the line between
Approve New Hire Request and Approve Hire Request. Delete the line after
you select it.
6-4
V7.0
Student Exercises
EXempty
__ f.
Click the Sequence Flow icon and connect the Is Position New? gateway to
the top of Approve New Hire Request and the top of Approve Hire Request.
Important
If your sequence flow lines do not exactly match the exercise diagrams in this lab, that is
okay, and sequence flow lines change after implementation of the gateways. The flow lines
become default or conditional (are plain or have a diagonal hash marker) according to the
order you draw them in, so your lines vary a bit from the diagrams in the labs.
6-5
Student Exercises
__ b. In the Properties tab, in Common, enter Review Needed as Name and check
the Name Visible box.
__ c. Select the line between the Is Position New? gateway and Approve Hire
Request.
__ d. In the Properties tab, in Common, enter Review Not Needed as Name and
check the Name Visible box.
__ e. Use the Ctrl key and the arrow keys to align the gateway and the activities.
6-6
V7.0
Student Exercises
EXempty
6-7
Student Exercises
6-8
V7.0
Student Exercises
EXempty
__ b. Connect the Approve New Hire Request to the top of the Is Request
Approved? gateway.
6-9
Student Exercises
V7.0
Student Exercises
EXempty
__ f.
6-11
Student Exercises
__ 2. Drag a Gateway from the palette onto the canvas to the right of the Check Hire
Request activity.
__ b. In Common, enter Is Salary Compliant? as Name and make sure that the
Name Visible box is checked.
V7.0
Student Exercises
EXempty
6-13
Student Exercises
V7.0
Student Exercises
EXempty
__ c. Select the line between the Is Salary Compliant? gateway and the Untitled end
event.
__ d. In the Properties tab, in Common, enter Compliant as Name and make sure
that the Name Visible box is checked.
__ e. Use the Ctrl key and the arrow keys to align the gateway and the activities.
6-15
Student Exercises
V7.0
Student Exercises
EXempty
6-17
Student Exercises
__ f.
V7.0
Student Exercises
EXempty
Important
Make sure that you connect these elements in the correct directions.
6-19
Student Exercises
V7.0
Student Exercises
EXempty
__ c. Use the Ctrl key and the arrow keys to align the gateway and the activities.
End of exercise
6-21
Student Exercises
V7.0
Student Exercises
EXempty
Introduction
In this exercise, add a timer intermediate event that helps satisfy newly
identified requirements for the Hiring Requisition BPD. This action
encompasses process flow control and more activities that are based
on conditions by non-human interactions.
Requirements
Successful completion of the previous exercise is required.
7-1
Student Exercises
Exercise instructions
Examine the process requirements and select the one that models an escalation.
The requirement for an escalation is 2.10. The HR Administrator has 4 hours to complete
the review. If the review is not completed within 4 hours, an email is sent to the HR
Administrator notifying the HR Administrator of the missed deadline.
Use the timer implementation option to model escalation paths or delays in your BPDs.
Using a timer intermediate event, you can specify a time interval after or before which
some activity is conducted. The timer implementation option is available for events that are
included in the process flow and events that are attached to an activity.
__ 1. Open the Approve Hire Request BPD.
__ 2. Drag an Intermediate event from the palette onto the lower left of the Override Hire
Request activity.
Important
For this exercise, make sure that you drag the intermediate event onto the activity instead
of to the left of the activity. In this case, you want a boundary or attached intermediate
event instead of a sequence flow intermediate event.
7-2
V7.0
Student Exercises
EXempty
7-3
Student Exercises
End of exercise
7-4
V7.0
Student Exercises
EXempty
7-5
Student Exercises
7-6
V7.0
Student Exercises
EXempty
Introduction
Before moving on to implementation, it is a good idea to verify your
process in a final playback meeting.
This action can build consensus among the different stakeholders as
the model does not change much visually after playback 0. Sometimes
there is oscillation a few times between playback 1 and playback 0
until a team is firmly in the implementation phase of the playbacks.
Requirements
Successful completion of the previous exercise is required.
8-1
Student Exercises
Exercise instructions
Part 1: Verify the process model
If you have a colleague or others nearby, see whether you can explain your newly created
model to them to simulate a playback. If not, examine your BPD in IBM Process Designer
and compare it to the diagrams.
Hint
Double-click the Diagram tab to maximize your diagram. When you are done, double-click
Diagram again to return the diagram to its normal size.
s
Ensure that the Hiring Request Process and Approve Hire Request BPDs look similar to
the diagrams before moving on:
__ 1. Hiring Request Process:
8-2
V7.0
Student Exercises
EXempty
8-3
Student Exercises
__ b. In the Properties tab, change the name of the top lane from the current name to:
Legal
__ c. Move the Legal lane between the Approvers and System lanes.
8-4
V7.0
Student Exercises
EXempty
__ b. Immediately after you drag the activity, start typing to change the name of the
activity to Review Posting.
8-5
Student Exercises
__ d. Click the Sequence Flow icon to connect Review Posting and Complete Hire
Request as follows:
8-6
V7.0
Student Exercises
EXempty
__ e. Label the sequence flow between Is Request Compliant? and Complete Hire
Request: Request Canceled
__ f.
8-7
Student Exercises
__ 7. After adding an element to your process, it is a good practice to reverify the process
in another playback meeting. Oscillation between playback 0 and playback 1 is
common until the requirements are stable.
End of exercise
8-8
V7.0
Student Exercises
EXempty
8-9
Student Exercises
V7.0
Student Exercises
EXempty
Introduction
A toolkit is a collection of assets that are shared between process
apps or other toolkits during development. Attentive application of
toolkits is an efficient method for managing the reusability and
compartmentalization of project assets.
Requirements
Completing the exercises for this course requires a VMware image lab
environment that includes the exercise support files, IBM Process
Designer V8.5, and the IBM Process Center V8.5 test environment.
This exercise relies upon a process app named HR Recruitment
Processes.
9-1
Student Exercises
Exercise instructions
__ 1. Start IBM Process Designer from the Windows Desktop if it is not already started.
__ a. Log on to IBM Process Designer with the user name we_author1 and password
we_author01
__ b. Click Process Center at the upper-right corner of the Designer view. (If you just
logged in, then you are already at the process center).
9-2
V7.0
Student Exercises
EXempty
__ 3. Create a toolkit.
__ a. Click Create New Toolkit on the right side of the Process Center.
9-3
Student Exercises
__ e. Click Create, and the toolkit shows up under the Toolkits tab.
__ c. Name the snapshot Baseline, add a description, and then click Create.
__ 5. Import a toolkit
__ a. Click Toolkits to return to the toolkits tab.
9-4
V7.0
Student Exercises
EXempty
9-5
Student Exercises
__ b. In the Designer library, click the plus sign next to TOOLKITS, and add a
dependency on the Hiring Requisition Toolkit by clicking the Baseline
snapshot.
__ c. Click the plus sign next to TOOLKITS and add a dependency on the WE Coach
Bonus Toolkit by clicking the WE Coach Bonus 1.0 snapshot.
9-6
V7.0
Student Exercises
EXempty
End of exercise
9-7
Student Exercises
9-8
V7.0
Student Exercises
EXempty
Introduction
In playback 1, the process data model is implemented along with the
appropriate process flow for the data. Flow data is different from
business data in that flow data moves the process along from flow
object to flow object. The most obvious examples of flow data are the
data elements that decision points use in the process or service
diagrams. When a token is at a decision point, the values of data
elements are used to determine the next paths to take. Flow data also
includes the following circumstances:
Data that is used to determine which activities to run
Data that is used to determine who starts each activity
Data that is used to determine when an activity is due or when an
activity must be escalated
The process flow data ensures that the business process gets the right
activities to the right people at the right time.
Requirements
Completing the exercises for this course requires a VMware image lab
environment that includes the exercise support files, IBM Process
Designer V8.5, and the IBM Process Center V8.5 test environment.
Copyright IBM Corp. 2013
10-1
Student Exercises
V7.0
Student Exercises
EXempty
Exercise instructions
Part 1: Create process variables
The process model for the Hiring Request Process is in place. Now you must start to
implement the process, first by creating simple variables to implement the logic behind the
decision gateways on the current BPD.
__ 1. If you are in the Process Center, open the HR Recruitment Processes process
app.
__ a. From the Process Center, click the Process Apps tab. Find the HR
Recruitment Processes (HRR) process app, and click the link Open in
Designer.
Note
If you are already in Designer, then skip this step and start with step 2.
10-3
Student Exercises
V7.0
Student Exercises
EXempty
__ d. In the Documentation field, click Edit and type the following values:
0= existing position
1= new position, requires approval
__ e. Click OK.
__ f.
10-5
Student Exercises
__ 4. Go back to the Hiring Request Process diagram by clicking the Diagram tab.
__ 5. Open the Approve Hire Request linked process by double-clicking the linked
process activity in the diagram.
Reminder
There is a difference between the Approve New Hire Request activity and the Approve
Hire Request process. Be sure that you select the Approve Hire Request linked process,
not the Approve New Hire Request activity.
V7.0
Student Exercises
EXempty
__ 6. Create a variable for the Is Salary Compliant? exclusive gateway in the Approve
Hire Request process.
__ a. Click the Variables tab in the menu bar for the Approve Hire Request process.
__ b. Click Add Private.
__ c. Name the private variable: isSalaryCompliant
__ d. Verify that the Variable Type is String.
__ e. Click Edit and type in the documentation dialog the following values:
0 = Salary is compliant
1 = Salary is not compliant
__ f.
__ i.
10-7
Student Exercises
V7.0
Student Exercises
EXempty
__ f.
In the Decisions section, after the first box to the right of Review Needed, type
in:
tw.local.isNewPosition
10-9
Student Exercises
Important
You must include the value in double quotation marks because isNewPosition is a String
type of variable.
Now the condition is set for the Is Position New? gateway, and the default
condition is Review Not Needed if the first condition is not met.
__ i.
Save your work by clicking the Save icon at the top menu bar.
Implement the exclusive gateway in the Approve Hire Request linked process.
__ 2. Select the Approve Hire Request activity and double-click it to open the linked
process.
__ 3. Implement the Is Salary Compliant? exclusive gateway.
__ a. Select the Is Salary Compliant? gateway.
Reminder
Select the Is Salary Compliant? gateway, not the Is Salary Acceptable? gateway.
V7.0
Student Exercises
EXempty
__ c. Make sure the order of sequence flow in the Implementation section expresses
that the Compliant option is first and that the Not Compliant option is second.
If it is not in this order, then click the Up arrow on Compliant to make it the first
implementation. This arrangement makes Not Compliant the default sequence
flow. Implement the conditions for the sequence flow.
__ d. In the first box to the right of Compliant, type in:
tw.local.isSalaryCompliant
__ e. Change the drop-down value to: ==
__ f.
Reminder
You must include quotation marks because the isSalaryCompliant variable is a string.
10-11
Student Exercises
implement the teams for the lanes and implement assignment routing for all activities in the
BPD.
__ 1. Route the Submit Hiring Request activity in the Hiring Request Process to
Lane and distribution to Last User.
__ a. Open the Hiring Request Process if it is not already open.
__ b. Switch to the Diagram tab.
__ c. Click the Submit Hiring Request activity on the Hiring Request Process.
__ d. Click the Assignments option in the Properties tab.
__ e. Click the Assign To: drop-down menu and make sure that the default
assignment is: Lane
__ f.
V7.0
Student Exercises
EXempty
__ b. Click Team.
__ d. Click Finish to create your team. After it is created, the settings page for the
team is displayed.
__ e. Click Add user in the far right side of the Members section. Make sure that you
are adding a user to the Standard Members selection.
10-13
Student Exercises
__ f.
Add we_user1 to the team by typing the first characters until you see the
we_user1 user highlighted.
You now have a populated list in the Standards Members with we_user1 for
the team, General Managers.
__ h. Save your work.
__ 3. Implement the routing for Approve New Hire Request.
__ a. Select Hiring Request Process from the drop-down list.
V7.0
Student Exercises
EXempty
__ c. Click the Approve New Hire Request activity in the Hiring Request Process.
__ f.
Click the General Manager label on the lane of the same name.
10-15
Student Exercises
__ g. In the Properties tab, click Select... next to Default Lane Team in the Behavior
section.
__ h. Click the General Managers team to select it.
The General Managers team is assigned as the default team for the General
Managers lane.
__ 4. Go back and assign the General Managers team as the Experts Group for the
Approve New Hire Request activity.
__ a. Click the Approve New Hire Request activity.
__ b. Select the Assignments menu under Properties.
V7.0
Student Exercises
EXempty
__ c. Click Select... next to the Experts Team and then click General Managers.
End of exercise
10-17
Student Exercises
V7.0
Student Exercises
EXempty
Introduction
A quick view of what to accomplish in this exercise:
1. Log on to the Process Portal. Maximize the IBM Business Process
Manager Quick Start browser window. Click the Process Portal link
on the page.
2. Create a process instance.
- Click the name of the process to create an instance of the BPD.
3. Log on to the Process Portal as a team:
- Log out of the Process Portal and log in as a different team in
the process to show tasks that are being assigned to the correct
process team.
4. Complete the default human activities.
- Click Done when the coach is presented.
5. Demonstrate that the correct path is followed:
11-1
Student Exercises
- In the Process Portal, click the instance name of the task. When
the instance details page is shown, click Show Process
Instance Diagram to visualize what step of the process is
being worked on. Predict which path is followed and run
through the process to determine whether you are correct.
6. Demonstrate a different path that is followed:
- Change the Has Default variable value and demonstrate a
different path that is followed.
Requirements
Completing the exercises for this course requires a VMware image lab
environment that includes the exercise support files, IBM Process
Designer V8.5, and the IBM Process Center V8.5 test environment.
This exercise relies upon a process app named HR Recruitment
Processes.
V7.0
Student Exercises
EXempty
Exercise instructions
__ 1. Show the Hiring Request Process to All Users.
__ a. Click the Overview tab for the Hiring Request Process.
__ b. Next to Expose to start: click Select...
11-3
Student Exercises
__ 3. Complete the first activity, Submit Hiring Request, in the Process Portal.
__ a. In the right frame, click Hiring Request Process to start an instance of the
process.
V7.0
Student Exercises
EXempty
Troubleshooting
If you are prompted, choose an option that displays data that is delivered over both a
secure and a non-secure connection.
__ c. If the task starts automatically (it should if the task is assigned to Lane and Last
User), then skip to the next step. If the task does not start automatically, select
the Work tab in the Process Portal. The process instance is displayed, and it is
paused on the Submit Hiring Request activity. Click the task to work on it.
__ d. A window is displayed with some information contained on the default human
service coach.
11-5
Student Exercises
__ 4. Show the task that is assigned to the next activity, Approve New Hire Request, in
the BPD.
__ a. Although your inbox is now empty, you can follow the process instances with
which you interacted. Click the Completed Tasks link under My Tasks to see a
list of completed tasks (to include the one you just completed).
__ b. Click the menu next to the activity you just completed labeled Step: Submit
Hiring Request, and then click View Instance.
__ c. The process instance is shown in the Process Performance tab of the Process
Portal. Move the slider in the Zoom to increase the Gantt chart view.
V7.0
Student Exercises
EXempty
__ d. You can now see that the next task is at the input status for General Managers.
This result is because you set the default value of the first gateway to "1"
(Review Needed). This change in value takes the runtime token to the input of
the Approve New Hire Request task.
__ e. Roll the cursor over the Today icon to enable the addition of an attachment or
link to a URL for the next task user to view.
__ f.
Click the Diagram tab for a model view of the same process instance.
11-7
Student Exercises
__ g. Now you see the BPD with the Approve New Hire Request task highlighted.
The same process performance information is given to the user as before, only
this time in a process model (or diagram) view.
__ h. Click the user name (WebSphere Education Author 1) drop-down menu list and
click Logout to log out of Process Portal.
__ i.
__ j.
You now see a task in the inbox for the Hiring Request Process BPD. The task
stopped at the Approve New Hire Request activity. Notice that the task is
assigned to the General Managers team, of which we_user1 is a member.
V7.0
Student Exercises
EXempty
Troubleshooting
The icon for the task can be different depending upon the state of the task. If the task is
overdue, for example, a red exclamation mark is displayed. If the task state is at risk, a
yellow cautionary icon is displayed.
__ k. Click the Step: Approve New Hire Request task. A dialog reminds you that the
unclaimed task is automatically assigned. Click Claim Task.
Reminder
If a browser warning is displayed, select the option that allows you to display both secure
and non-secure content.
__ l.
A default coach is displayed for the Review Posting activity. Complete this task
by clicking Done in the human task service.
11-9
Student Exercises
__ 5. The task is removed from the we_user1 Work inbox. To view information about a
process in which a user participated, click the Completed Tasks option in the Work
inbox.
__ a. Click the menu next to the activity you just completed labeled Step: Approve
New Hire Request, and then click View Process Diagram.
__ b. Examine the tasks that are associated with the process. The tasks lack highlights
signifying that the process instance is complete. Click the team icon on a task to
view information on the team that completed the task.
V7.0
Student Exercises
EXempty
Hint
Select the isNewPosition variable and change the default value. Remember you must
enclose the value in quotation marks because the variable is a string.
__ d. Click Save.
__ 7. Create an instance to test the existing position scenario.
__ a. Maximize the Process Portal browser window and log back in to the Process
Portal as user name: we_author1 and password: we_author01
Hint
If you already closed the window, use the IBM Business Process Manager Quick Start
browser window to start the Process Portal.
__ b. Create an instance of the Hiring Request Process by clicking the link in the
Launch section.
__ c. You immediately see in a dialog that you received a new task. The task occupies
your Work inbox.
11-11
Student Exercises
__ g. Click the instance of the process that you completed. The task is displayed at the
top of the list of completed tasks. Click OK on the information dialog box. In the
Process Performance tab, click the Diagram tab.
This time, the process follows the Review Not Needed path. Instead of passing
to Approve Hire Request, the process stepped through the Approve Hire
Request linked process and then to the Review Posting task. The process
followed the other path, which demonstrates that both gateways are working
properly.
__ 8. Log out of the Process Portal.
__ 9. Playback 1 is complete.
Important
After completing the playback, remember to change the default value of the
isNewPosition variable back to "1".
V7.0
Student Exercises
EXempty
Information
Remember, when you show your playback, you are simulating what a user sees when
interacting with the system. The urge to use the IBM Process Designer to assist with your
playback is present, but not all users can view IBM Process Designer. If you correctly
modeled your process, there is no reason to go back into IBM Process Designer to
demonstrate expected functions.
End of exercise
11-13
Student Exercises
V7.0
Student Exercises
EXempty
Introduction
In playback 2, the human services are added with the service model
canvas. Human services allow the users to access task assignments
in an activity-centered web form. At this stage of development, it is
important that the functions of the human service, which is known as a
coach, are implemented. Enhancements can be added later. This
exercise is about making sure that users have what they need in terms
of business data and task assignment information to complete the
process activity.
The default human services that were used in playback 1 are replaced
with human services that allow for entry and capture of business data.
Copyright IBM Corp. 2013
12-1
Student Exercises
Requirements
Completing the exercises for this course requires a VMware image lab
environment that includes the exercise support files, IBM Process
Designer V8.5, and the IBM Process Center V8.5 test environment.
This exercise relies upon a process app named HR Recruitment
Processes.
V7.0
Student Exercises
EXempty
Exercise instructions
Part 1: Build variables and business objects
__ 1. Create a complex variable to hold the position.
__ a. In IBM Process Designer, open the Hiring Request Process.
__ b. In the Designer library, click the plus sign next to the Data option, and select
Business Object.
12-3
Student Exercises
__ d. You now see the settings page for the business object. Add an attribute to the
business object by clicking Add.
V7.0
Student Exercises
EXempty
__ f.
12-5
Student Exercises
__ j.
__ 2. Move the Position business object to the Hiring Requisition Toolkit for reuse by
any process application that requires a position object.
__ a. In the library, click Data and then right-click the Position business object.
__ b. Select Move item to > Hiring Requisition Toolkit. When you are asked to
verify the move, click Move to accept.
__ c. The Hiring Requisition Toolkit in the process application immediately raises a
caution indicator because the toolkit changed. To update the toolkit, right-click it
and select Upgrade dependency to Move 1.
V7.0
Student Exercises
EXempty
12-7
Student Exercises
V7.0
Student Exercises
Requisition Toolkit. Notice that the variable type is capitalized but the attribute
name is lowercase.
EXempty
__ f.
__ 7. To pass data from the parent process (Hiring Request Process) to your nested
process (Approve Hire Request), you must map variables. Because the nested
process is a linked process, you must pass the data object to the nested process by
way of the input and output variable settings in the nested linked process.
__ a. Open the Approve Hire Request process.
__ b. Click the Variables tab.
Copyright IBM Corp. 2013
12-9
Student Exercises
__ f.
__ i.
V7.0
Student Exercises
EXempty
__ 8. Map the variables from the higher level process to the nested process.
__ a. Open the Hiring Request Process and click the Approve Hire Request linked
process.
__ b. Click the Data Mapping menu in the Properties tab. Because the BPD already
has a private variable named requisitionDetails, click auto-map at the top of
the Input Mapping and Output Mapping sections.
__ c. In the Create variables for auto-mapping dialog, select requisitionDetails and
click OK.
__ d. Verify that your variable mapping looks similar to the following image:
12-11
Student Exercises
you create a coach to collect information from process teams. The service must be able to
pass the collected information in the coach to the BPD.
__ 1. Create a human service.
__ a. In the Designer library, click the plus sign next to User Interface, and select
Human Service.
__ b. Name the human service Hiring Form CS and click Finish. The CS (coach
service) suffix indicates that the service contains a coach. Later on, you create a
task service (a TS) to house the CS.
V7.0
Student Exercises
EXempty
12-13
Student Exercises
Information
Because you need all of the subobjects of the parent HiringRequisiton object, you use the
full object in the coach. If you need only part of the parent object, include that subobject
and map the subobject from the parent object when mapping inputs and outputs.
__ 3. Because you reuse this coach for multiple activities, add matching input variables to
the human service. If any existing data must be shown, you can present it on the
coach.
__ a. Click the output variable requisitionDetails, highlight the Name, and copy it.
__ b. Click Add Input and paste requisitionDetails into the Name field.
__ c. Click Select... to the right of the Variable Type option.
__ d. Change the type to HiringRequisition.
V7.0
Student Exercises
EXempty
Information
As you type the name of the input variables, you might see an error icon. This error occurs
because the variables are not unique: two variables of different types have the same name.
This error disappears after you set the types of the variables to be equal; IBM Process
Designer assumes that they are the same variable if the name and type match.
__ 4. With the variables ready to go, add a coach to the Hiring Form human service.
__ a. For the Hiring Form CS service, click the Diagram tab.
__ b. Drag a Coach from the palette to the canvas.
__ c. Change the name of the coach to: Hiring Form
__ d. Save the service. When you create the coach, you connect the flows to the
Hiring Form. Right now the coach is blank and does not have a control to attach
a flow to the End, so the shell of the CS is sufficient.
12-15
Student Exercises
__ b. Name the new service Submit Hiring Form TS and click Finish.
__ c. You now see the Submit Hiring Form TS service. In the Designer library, click
the User Interface, and drag the Hiring Form CS onto the canvas of the
service.
V7.0
Student Exercises
EXempty
__ d. This task service (TS) creates the request form for the user to complete, and
does not receive data from another activity. Output variables are created for this
TS, and you initialize the variables inside of this TS. You create a different TS
later to show the data that was created. The other TS must have both input and
output variables. Because of the way you created the coach service (CS), you
can reuse the CS for both of the task services: one that creates the form and one
that accepts an existing form.
Drag a Server Script to the left of the Hiring Form CS in the diagram.
12-17
Student Exercises
__ f.
__ g. It is easy to straighten out the lines when building a service. If you select
something on the canvas, you must click anywhere on the canvas to clear the
object selection. Next, right-click the palette, and click Tidy Layout.
__ h. Your object snaps into alignment (even though it sometimes does not get it
exactly). If you must adjust the objects even more, click one of them, hold down
Ctrl key, and then press the keyboard arrows to move your objects.
__ 6. Create output variables for the task service (TS) and map them to the coach service
(CS) inputs and outputs.
__ a. In the Submit Hiring Form TS service canvas, click the Hiring Form CS
service and then click the Variables tab.
__ b. In the settings for the variables, click Add Output.
V7.0
Student Exercises
EXempty
__ e. Click the Diagram tab and then click the Hiring Form CS coach service.
__ f.
In the Properties tab for the Hiring Form CS coach service, select the Data
Mapping option.
__ g. In the Input Mapping section, click the variable selection button to the left of the
requisitionDetails(HiringRequisition) variable. After you see the variable
selection window, double-click requisitionDetails to map it in the first block of
the section.
The field populates with the tw.local.requisitionDetails variable.
__ h. Auto-map the variables in the Output Mapping section. Click Auto-map to the
right of the requisitionDetails(HiringRequisition) variable. If a variable
12-19
Student Exercises
matches the input or output variable name exactly, it automatically inserts the
variable into the box. If it does not find one, it does not add anything.
__ i.
__ j.
The next step is to initialize the variables for the service. Click the Initialize
Variables service script and type the following into the Implementation script
box to initialize the complex variables:
tw.local.requisitionDetails = new tw.object.HiringRequisition();
tw.local.requisitionDetails.position = new tw.object.Position();
tw.local.requisitionDetails.compensationDetails = new
tw.object.CompensationDetails();
tw.local.requisitionDetails.departmentDetails = new
tw.object.DepartmentDetails();
tw.local.requisitionDetails.recruitingDetails = new
tw.object.RecruitingDetails();
V7.0
Student Exercises
EXempty
When laying out a coach, consider how items are laid out. This consideration
determines whether the coach is laid out vertically or horizontally. This coach
lays out items vertically except for the position field.
__ d. Click the OK control button type on the coach canvas.
12-21
Student Exercises
__ e. In the Properties tab, General section, change the label of the control button
type to: Submit
__ f.
V7.0
Student Exercises
EXempty
__ h. The date fields occupy a great deal of space. It is more efficient to arrange them
horizontally instead of stacking them vertically. To position them side-by-side,
add a horizontal section from the Section controls.
Expand the Views tray palette and then click the down icon to the Section area
in the palette. Drag a Horizontal Section divider onto the canvas beneath the
Requestor field.
__ i.
Click the Variables tray palette and drag the date fields (requisitionDetails >
dateOfRequest and requisitionDetails > datePositionAvailable) into the
horizontal section.
12-23
Student Exercises
__ j.
Add the Hiring manager comments field beneath the horizontal section.
__ k. Create another horizontal section below the Hiring manager comments input
control.
__ l.
In the Properties view of the new section, set the Label value to: Position
Details
V7.0
Student Exercises
EXempty
__ m. In the Variables tray palette, expand the position variable and drag the fields
into the new horizontal section.
__ n. Group the recruitingDetails variables together, setting them apart from the
other data on the screen in a vertical section. Drag a vertical section onto the
canvas above the Hiring manager comments input control and label it:
Recruiting Details
12-25
Student Exercises
__ o. Add the fields from the recruitingDetails variable to the new vertical section.
__ p. Drag a vertical section onto the canvas below Recruiting Details, and label the
new section: Compensation Details
__ q. Add the fields from the compensationDetails variable to the new vertical
section.
The intent of this playback is to have data flow on the coach. The labels do not
look exactly like the end product, and the color scheme does not look like the
V7.0
Student Exercises
corporate color scheme. Leave this coach and return to it in a later playback; you
concentrate on visual layout in playback 4.
EXempty
__ r.
For the final section, drag a vertical section onto the canvas below the
Compensation Details, and label the new section Department Details.
__ s. Add the fields from the departmentDetails variable to the new vertical section.
12-27
Student Exercises
__ c. Draw the sequence flow lines from left to right, connecting the Start event to the
Hiring Form coach, and from the coach to the End event. The Submit control in
the coach, when pressed, exits the coach and flows down the sequence flow line
that is labeled Submit.
__ d. Straighten out the lines by right-clicking the canvas and click Tidy Layout.
V7.0
Student Exercises
EXempty
__ b. The default browser opens and displays the coach. This coach is not meant to be
an attractive, fully functioning front end; you add more functional and visual
features in playback 4. The intent of this playback is to start data flow. Next,
verify that the data is flowing. When you are ready, click Submit to close out the
task.
12-29
Student Exercises
__ d. The process designer (in the background) displays another window that asks if
you want to switch the Process Designer to the Inspector. Click Yes, and if you
V7.0
Student Exercises
want, check the check box to remember your decision. The process designer
switches to the Inspector mode.
EXempty
Reminder
You can move the browser window aside if you cannot see the prompt in IBM Process
Designer.
__ e. Switch back to the browser, and the debugger is waiting to complete the
Initialize Variables step in the service. Click Step.
__ f.
The server script runs, and the values of the requisitionDetails variable are
initialized.
12-31
Student Exercises
__ g. You see that the variable is initialized but has no values that are assigned to the
variables. Switch back to the process designer, and the Hiring Form CS service
now has the token on it.
__ h. Click Step Over and the browser displays the coach, but the debug window does
not return until all of the steps in the service are complete.
V7.0
Student Exercises
EXempty
__ i.
Complete the data on the coach and click Submit. Any values are sufficient.
__ j.
12-33
Student Exercises
__ k. Click Run to complete the service. The service is complete, so you can close the
browser. To return the Process Designer back to Designer mode, click Designer
at the top of the window.
Part 4: Create a human service for the Approve New Hire Request
activity
Because the Approve New Hire Request activity in the Hiring Request Process reviews
the same data that is entered in the last human service, you can reuse the coach service
(CS). However, you must create a task service (TS) to accept input from the first activity,
Submit Hiring Form TS.
In this section, do the same basic tasks as in the previous section, but this time for the
Approve New Hire Request activity in the BPD.
__ 1. Duplicate the Submit Hiring Form TS.
__ a. From the Designer library, click the User Interface option.
__ b. Right-click Submit Hiring Form TS and select Duplicate.
V7.0
Student Exercises
EXempty
__ d. In the New name option, rename the service to Approve New Hire TS and click
OK.
__ e. From the Designer library, click the User Interface option and then double-click
Approve New Hire TS.
__ f.
Click Initialize Variables and press the delete key on your keyboard. You do not
need to initialize because all the variables from the Submit Hiring Form activity
are used in this activity. By deleting the Initialize Variables script object, you
avoid overwriting the variables.
12-35
Student Exercises
__ g. Use the sequence flow tool to reconnect the flow from the Start event to the
Hiring Form CS:
Connect the Start event to the Hiring Form CS.
Connect the Hiring Form CS to the End event.
__ 2. It is important to modify the Approve New Hire TS to reflect both input and output
data. Select the Variables tab to begin.
__ a. Click the output variable requisitionDetails, highlight the Name, and copy it.
__ b. Click Add Input and paste requisitionDetails into the Name field.
__ c. Click Select... to the right of the Variable Type option.
__ d. Type hir to filter the business objects to only those artifacts that contain those
letters, and then select HiringRequisition.
V7.0
Student Exercises
EXempty
12-37
Student Exercises
V7.0
Student Exercises
EXempty
__ 3. Map the Submit Hiring Request outputs (the first activity does not need input
mapping).
__ a. In the Properties tab for the Submit Hiring Request activity, click the Data
Mapping menu option.
Information
Sometimes, the variables must be created for auto-mapping. IBM Process Designer
creates these variables automatically. Select the variable and click OK. Whichever ones
you select create a private variable in the BPD and automatically map the variable to the
output.
12-39
Student Exercises
The output mapping is now complete and looks like the diagram.
__ 6. To change the BPD flow, you can assign business data object data to a process flow
object. Assign the NewPosition variable to the IsNewPosition variable.
__ a. Click the User Interface library option and then double-click the Submit Hiring
Form TS.
V7.0
Student Exercises
EXempty
__ i.
12-41
Student Exercises
__ j.
if (tw.local.requisitionDetails.recruitingDetails.newPosition == true)
tw.local.isNewPosition = "1";
else
tw.local.isNewPosition = "0";
V7.0
Student Exercises
EXempty
__ b. Click the Data Mapping menu under Properties and click the auto-map button.
It maps the new variable.
Important
Playback 2 is complete.
As part of the development process, you now review the playback and examine its
functions in the Process Portal.
Test the following functions:
When you create an instance of the Hiring Request Process, does it display your
coach?
Are all the fields on the coach?
If you need more information about conducting the playback, consult the appendix.
End of exercise
12-43
Student Exercises
V7.0
Student Exercises
EXempty
Introduction
Create a snapshot from inside IBM Process Designer:
1. Inside of IBM Process Designer, click Snapshot.
2. Give the snapshot a descriptive name.
Requirements
Completing the exercises for this course requires a VMware image lab
environment that includes the exercise support files, IBM Process
Designer V8.5, and the IBM Process Center V8.5 test environment.
13-1
Student Exercises
Exercise instructions
__ 1. Create a snapshot of the Hiring Request Process in IBM Process Designer.
__ a. In IBM Process Designer, return to the Process Center perspective if you are not
already there.
__ b. From the Process Apps list, hover over the HR Recruitment Processes
process application and then click the Open in Designer option.
__ c. Click Snapshot at the upper right corner.
__ d. Give your snapshot a name and description, and click OK when you are done.
__ e. Your snapshot is displayed in the Revision History at the lower left corner of the
Designer.
V7.0
Student Exercises
EXempty
End of exercise
13-3
Student Exercises
V7.0
Student Exercises
EXempty
Introduction
In playback 3, the process interactions and integrations are
implemented so the process can have all the functions that are
needed to complete any process activity. Not all the functions are
developed within the process application when it comes to user
interactions. Some of the business data can be found, for instance, in
systems within an organization. So it is important to tap into the data,
and that is why integrations play a vital role in having a full and robust
process application. Other process interactions involve events within
the process model. These Intermediate events or even start events
can have a need for unique event handlers, such as listeners for
messages that trigger an event. It would be the appropriate time to
implement, test, and finalize all remaining process application
interactions.
Requirements
Completing the exercises for this course requires a VMware image lab
environment that includes the exercise support files, IBM Process
Designer V8.5, and the IBM Process Center V8.5 test environment.
14-1
Student Exercises
Exercise instructions
Part 1: Create a decision service
The business process is a candidate to include a decision service in the process flow.
Decision services allow the business process to make routine decisions that are based on
real business rules to speed up the process and eliminate user error.
The process owner and the project manager decided that decision services are a critical
addition to this project. Although they understand that adding requirements in this late
stage of the project (past playback 1) affects project timelines, they are willing to take this
risk to realize cost savings overall for the project. They decided this addition is within the
scope of the projects current release cycle.
The criteria that they must use is to route hiring requisitions for administrator override if the
salary is not compliant. The salary is considered to be compliant depending upon the job
level. Different job levels have different compliance ceilings.
Your task is to implement that decision service on a BPD.
__ 1. Create a decision service.
__ a. In the Designer library, click the plus icon next to Decisions.
__ b. Click Decision Service to create a service.
V7.0
Student Exercises
EXempty
__ b. Click the BAL Rule object and rename it to: Check Compliance
14-3
Student Exercises
__ c. Use the sequence flow tool to connect the sequence flow from left to right,
beginning at the Start event, to Check Compliance, and finally to the End
event.
V7.0
Student Exercises
EXempty
__ f.
14-5
Student Exercises
A default rule is added to the BAL rule editor. The condition and action options are editable.
If you click either, an editor is displayed to assist you with writing the rule. As is the case
with a Java or JavaScript editor, you can also use content assist (Ctrl + space) to assist.
The BAL rule is a simple set of if-then statements. In this example, if the salary is over or
under a threshold, it is not compliant. Otherwise, it is compliant. The threshold levels are:
Associate. Minimum salary: 40,000, maximum: 60,000
Manager. Minimum salary: 50,000, maximum: 75,000
Director. Minimum salary: 70,000, maximum: 95,000
President. Minimum salary: 100,000, maximum: 150,000.
Troubleshooting
The virtual machine settings occasionally cause unexpected behavior when using content
assist. Press the delete key and then press the spacebar to see the content assist window
display again. Use content assist as much as possible when building rules.
__ c. For the first rule, select the <condition> statement for your rule, and select the
following rule pieces:
the salary to offer of <a compensation details>
compensation
is between <min>
<number>
40000
and <max>
V7.0
Student Exercises
EXempty
60000
and
the job level of <a position>
position
contains ...
<string>
"Associate"
__ d. Select the <action> statement of your rule, and select the following rule pieces:
set <variable> to <variable value>
isCompliant
to "1"
else
set <variable> to <variable value>
isCompliant
to "0"
After the BAL rule is built, it reads much like a natural sentence. You assign a
value in the first rule, and as the other rules below it evaluate, if one of them
evaluates to true, then it overwrites the variable.
__ e. Click the plus symbol to create a second rule.
14-7
Student Exercises
__ f.
Build the next rule by using the previous method to flag the salary as
non-compliant if it does not fall within the same range. Build the rule to read:
if the job level of position contains "Manager" and all of the
following conditions are true:
- the salary to offer of compensation is more than 50000
- the salary to offer of compensation is less than 75000
then set isCompliant to "1";
__ g. Continue on with the third BAL rule. Copy and paste the prior rule and change
the variables as required.
__ h. Add the final rule. Copy and paste the prior rule and change the variables as
required.
V7.0
Student Exercises
EXempty
14-9
Student Exercises
Information
Notice that you do not need to send the full requisitionDetails object into every activity. If
a subprocess or an activity needs only a small amount of data from the larger object, send
in what is necessary. This approach helps the performance of your processes at run time.
It also helps to name variables the same across your processes if you know that they hold
the same data because it helps with maintenance, troubleshooting, and auto-mapping. If
you named the variable in the rule isSalaryCompliant rather than isCompliant, then you
can auto-map the variable.
V7.0
Student Exercises
EXempty
__ d. Click Finish.
__ e. Click the Variables tab for the general service.
14-11
Student Exercises
__ f.
__ g. Initialize the variable, but it does not need to be completed, so create a server
script to initialize the variable and pass it out of the service.
Click the Diagram tab and then drag a server script onto the diagram.
__ h. Name the server script: Create Vars
__ i.
__ j.
V7.0
Student Exercises
EXempty
__ k. Use the sequence tool to connect the flow and save the service.
__ f.
Click the Enabled check box for the new Undercover Agent.
14-13
Student Exercises
V7.0
Student Exercises
EXempty
__ c. Set the name of the start message event to: Systematic Request Start
__ d. Connect Systematic Request Start to the Complete Hire Request activity.
__ e. Click the Implementation option in the Properties tab, and click Select... next
to Attached UCA:
14-15
Student Exercises
__ f.
__ 5. Map the Systematic Request Start event UCA outputs to the BPD variables.
Select the Data Mapping option in the Properties tab.
__ a. In the Output section, click the variable selection icon for the
requisitionDetails (HiringRequisition) variable.
__ b. Double-click the requisitionDetails variable. The output maps to the
variable.
V7.0
Student Exercises
EXempty
__ b. A dialog displays which indicates that the message is scheduled for immediate
execution. Click OK.
__ c. Open the Hiring Request Process and then click Inspector in the upper left
corner.
__ d. Click the Process Instances tab if it is not already selected. Click the refresh
button to see the instances that were created in the Process Center.
__ e. If everything was successful, you have a Hiring Request Process instance (the
highest numbered instance) present in the left frame. This window shows all the
instances that ran in the Process Designer and their status. The latest instance is
now in Completed status. If you click the instance, the tasks show up in the right
window, and you see only one task that is already closed. All system tasks are
assigned to the admin user. Use the inspector tool in the future to troubleshoot
your instances.
14-17
Student Exercises
__ e. Go back to the Designer library and click the Implementation menu option.
__ f.
V7.0
Student Exercises
EXempty
__ 2. Sort by tag.
__ a. In the Designer library, click the All menu option.
__ b. Click the arrow to the right of Type.
__ c. Select Tag from the options.
14-19
Student Exercises
__ d. You see all the artifacts with the tag UCA grouped.
__ 3. Create a favorite.
__ a. Click the Processes library item and change the list view select menu to Type.
__ b. Hover to the left of the Hiring Request Process. You notice the outline of a star.
__ c. Click the star next to the Hiring Request Process.
V7.0
Student Exercises
EXempty
__ d. Click the Smart Folder in the library and then the Favorites category to verify
that the BPD favorite is now part of the Favorites smart folder.
14-21
Student Exercises
V7.0
Student Exercises
EXempty
__ d. Expand the System Data toolkit in the Designer library and then select the
Implementation option.
__ e. Click the SQL Execute Statement and drag it onto the canvas to the right of the
Set SQL server scriptlet.
__ f.
Connect the objects on the canvas from left to right: from the Start event to the
Set SQL server scriptlet, to the SQL Execute Statement, and finally to the End
event.
14-23
Student Exercises
__ d. Type the following SQL query in the script box. The intent is to map the results
directly into a NameValuePair type object, so you must rename the results to
enable that direct mapping.
SELECT DEPARTMENTNAME as name, DEPARTMENTCODE as value
FROM TWKS.DEPARTMENTS
__ 5. Map the inputs and outputs of the SQL Execute Statement service.
__ a. Click the SQL Execute Statement service.
__ b. In the Properties tab, click the Data Mapping menu option.
__ c. In the Input Mapping, click the map icon for the sql (String) variable and
variable type. Click the sql variable from the list.
__ d. In the Output Mapping, click the map icon for the results (ANY) variable and
variable type. Double-click the departmentCategoriesList variable.
V7.0
Student Exercises
EXempty
__ f.
__ g. A JDBC data source was already created for you. In the dataSourceName, type
"jdbc/TrainingDB" (include the quotation marks).
__ 6. Create an exposed process variable (EPV) to manage the data source name.
__ a. Click the plus sign icon in the Data menu option in the Designer library.
__ b. Select Exposed Process Value.
__ c. Name your EPV DataSource and click Finish.
__ d. In the Exposed Process Value settings, click Add in the Exposed Process
Value Variables section.
__ e. Set the following values in the Variable Details section:
External Name: TrainingDatabase
Variable Name: trainingDB
External Description: This is the name of the JDBC data source
for the training database.
Default Value: jdbc/TrainingDB
14-25
Student Exercises
__ f.
__ 7. Select Retrieve Department Categories from the menu to return to the service.
__ a. Click the Variables tab, click the Link EPV, and then select the DataSource
EPV.
__ b. Click the Diagram tab to return to the service objects. Click one time on the SQL
Execute Statement object.
__ c. In the Properties tab, click the Data Mapping menu option.
__ d. Remove the current Use default value and add the trainingDB EPV as the
dataSourceName; and do not forget to cast your EPV to a String. The entry is:
String(tw.epv.DataSource.trainingDB)
V7.0
Student Exercises
EXempty
__ d. Expand the System Data Toolkit in the Designer library and then select the
Implementation option.
__ e. Click the SQL Execute Statement and drag it into the canvas next to the Set
SQL server scriptlet.
14-27
Student Exercises
__ f.
Connect the objects on the canvas from the Start event to the Set SQL server
scriptlet, to SQL Execute Statement, and finally to the End event.
__ b. Select the Environment tab and then click Add on the right side of the
Environment Variables section.
V7.0
Student Exercises
EXempty
Key: TrainingDB
Default: jdbc/TrainingDB
14-29
Student Exercises
__ f.
V7.0
Student Exercises
EXempty
__ 13. Map the inputs and outputs of the SQL Execute Statement service.
__ a. Click the SQL Execute Statement service.
__ b. In the Properties tab, click the Data Mapping menu option.
__ c. In the Input Mapping, click the map icon for the sql (String) variable. Click
the sql variable from the list.
__ d. In the Output Mapping, click the map icon for the results (ANY) variable or
variable type. Double-click the jobLevels variable.
Your data mapping resembles the following diagram:
__ f.
14-31
Student Exercises
Important
Playback 3 is complete.
As part of the development process, you now review the playback and examine its
functions in the Process Portal.
Does the decision service route the request correctly according to job type and salary?
You cannot test the Undercover Agent in the Process Portal.
You test the database query in a later exercise.
If you need more information about conducting the playback, consult the appendix.
End of exercise
V7.0
Student Exercises
EXempty
14-33
Student Exercises
V7.0
Student Exercises
EXempty
Introduction
In playback 4, the enhancements that the business wants for process
application user interfaces happen at this stage. Often, the initial
development efforts are marred with requests to begin with full fidelity
user interfaces. It is not uncommon to have this request as it is driven
with a desire to impress executive level stakeholders with prototypical
user interfaces that can be manipulated. It is better to reserve this type
of development for this playback stage. You ensure that the data
model is in place, the functions of the user interface were approved,
and all the remaining process application interactions and integrations
are complete. Now the enhancements can be done without fear that
rework would be needed later because of a change in requirements to
the items in the prior playbacks. Changes can happen, but the
likelihood is that those functional requirement changes are handled in
Optimization and not within the development cycle because
consensus is reached to move to this stage of development.
Requirements
Completing the exercises for this course requires a VMware image lab
environment that includes the exercise support files, IBM Process
Designer V8.5, and the IBM Process Center V8.5 test environment.
Copyright IBM Corp. 2013
15-1
Student Exercises
V7.0
Student Exercises
EXempty
Exercise instructions
Part 1: Group controls into tabs on a coach
You completed three playbacks in the development cycle. In one of the previous playbacks,
you provided a functional look at the coaches in the Hiring Request Process. Enhance
the coaches with more features and functions. Start with creating a polished look to the
coach by grouping similar data into tabs.
__ 1. Create the tabs.
__ a. Click the User Interface option in the Designer library.
__ b. Double-click Hiring Form CS.
__ c. Click the Coaches tab and click the Hiring Form coach.
__ d. Click the View tray palette and scroll down to the Section.
__ e. Drag the Tabs section onto the palette at the top of the coach.
__ f.
In the Section palette, drag a Vertical section and drop it onto the first tab.
15-3
Student Exercises
Drag the Horizontal Section onto the editable area of the vertical section.
__ j.
__ k. Click the plus (+) icon on the tab next to the Requisition Details tab.
__ l.
Move the Position Details horizontal section onto the tab. This one is much
easier since all the controls are already in a horizontal section.
V7.0
Student Exercises
EXempty
15-5
Student Exercises
__ b. The coach now has multiple tabs. Click the tabs to see what is contained in each
tab.
Optional
Label the input fields and sections to give the coach a more refined appearance.
V7.0
Student Exercises
EXempty
For this application, you always need the department data to map the value of the variable
to its display name. Therefore, you add the integration service to the CS.
__ 1. Add the Retrieve Department Categories service to the Hiring Form CS service.
__ a. In IBM Process Designer, open the Hiring Form CS service. Select User
Interface and double-click Hiring Form CS.
__ b. Select the Diagram tab.
__ c. Click Implementation in the Designer library.
__ d. Drag Retrieve Department Categories onto the Hiring Form CS diagram.
__ e. Reconnect the Hiring Form CS diagram so that the Start event connects to
Retrieve Department Categories, which connects to the Hiring Form coach,
and then to the End event.
__ 2. Auto-map the output variable of the integration service and allow the system to
create the private variable.
__ a. Select the Retrieve Department Categories activity from the Hiring Form CS
diagram.
__ b. In the Properties tab, click Data Mapping.
__ c. In the Output Mapping section, click the auto-map button. A dialog prompts you
to create the list variable.
15-7
Student Exercises
__ d. Select the private variable and click OK. The mapping is automatically
completed.
__ c. Change the view that the control is bound to. Right now, all the input boxes on
the coach are text views. These controls are all variables that are bound to string
data types.
In the Behavior section, click Select... next to View. Select the Single Select
chosen (Bonus, Control) which is contained in the WE Coach Bonus Toolkit.
V7.0
Student Exercises
EXempty
__ d. After you change the view binding, the control on the palette has a different look.
It is now a Single Select type of view control.
__ 4. Because the control returns an element of the list, you must create a simple variable
of the list type.
__ a. Select the Variables tab on Hiring Form CS.
__ b. Click Add Private.
__ c. Create a private variable that is named department of type NameValuePair.
Remember, it is not a list, but a simple variable.
15-9
Student Exercises
__ 6. Assign the list values to enable the selections that populate the single select menu.
__ a. Click the Configuration menu under Properties.
__ b. Click Select... next to the Select List.
__ c. Double-click the departmentCategoriesList variable.
__ d. Because the control uses the .name variable for the Display Name Property
and the .value of the Value property settings by default, you do not have to set
those settings. If you are using a variable other than a NameValuePair, you must
assign the values that populate the name and value of the control. Your settings
now resemble the following diagram:
V7.0
Student Exercises
EXempty
Another approach that you can take without creating a private variable is to bind to the
.listSelected property of the variable in the select list binding.
tw.local.requisitionDetails.departmentDetails.department =
tw.local.departmentCategoriesList.listSelected.value;
15-11
Student Exercises
__ c. In the debugger, click Step Over. The Inspector progresses to the Hiring Form
step.
__ d. Click Step. The coach is displayed.
__ e. Select the Department Details tab. In the Department field, make a selection
and click Submit.
Important
Make sure that your browser is Internet Explorer 9 or above or Mozilla Firefox. Internet
Explorer 8 causes rendering problems with IBM BPM v8.5.
V7.0
Student Exercises
EXempty
__ f.
Verify that the data is bound to the variable inside the debugger.
__ g. Click Run.
15-13
Student Exercises
__ d. In this interface, you set the rule values to control the visibility of the input control.
Select Same as parent in the Set to: option.
__ e. Click Select to choose the variable to control the controls visibility. Choose the
multipleEmployeesNeeded variable from the Input > recruitingDetails list.
__ f.
__ g. Next, make sure the Value: option is set to true because the variable is a
boolean type. With this rule, the control is visible if the check box is selected (or
set to true) by the user.
__ h. Now set the Otherwise: option to Hidden so the control is not visible other than
when the multipleEmployeesNeeded variable is true.
__ i.
V7.0
Student Exercises
EXempty
15-15
Student Exercises
__ b. Select the Coaches tab and click the Hiring Form coach.
__ c. Select the Requisition Details tab and click the hiringManagerComments
control.
__ d. Click the HTML Attributes option under the Properties tab.
__ e. Click Add Class and change the class name to: largeInput
__ 2. Add a Custom HTML control and add CSS to control the size of the input box.
__ a. Click the Advanced tray palette and select Custom HTML.
V7.0
Student Exercises
EXempty
15-17
Student Exercises
__ b. Name the coach view HR Recruitment Process CSS and click Finish.
V7.0
Student Exercises
EXempty
__ d. Copy and paste the CSS from the Custom HTML control on the Hiring Form
CS service into the Inline CSS box. You do not need the <style> tags because
the coach view inline CSS block adds it automatically.
15-19
Student Exercises
__ 6. Run the coach to verify that the coach view added the correct class. If the CSS
becomes adopted across all the process apps, consider moving the common CSS
into a CSS file and use it as a managed file.
Important
Playback 4 is complete.
As part of the development process, you now review the playback and examine its
functions in the Process Portal.
Test the following functions:
Does the coach display all the tabs?
Are all the fields on the correct tabs of the coach?
Does the single select field query the department table on the database?
Is the number of employees field hidden if multiple employees are unnecessary?
Is the number of employees field required if multiple employees are necessary?
Does the single select field display the contents correctly?
Is the hiringManagerComments field long enough to support more text?
If you need more information about conducting the playback, consult the appendix.
End of exercise
V7.0
Student Exercises
EXempty
15-21
Student Exercises
V7.0
Student Exercises
EXempty
Introduction
1. Inside the IBM Process Designer service diagram, drag a Catch
Exception and attach it to a generic service or a human service.
2. Create a flow from the Catch Exception.
Requirements
Completing the exercises for this course requires a VMware image lab
environment that includes the exercise support files, IBM Process
Designer V8.5, and the IBM Process Center V8.5 test environment.
16-1
Student Exercises
Exercise instructions
__ 1. Add a Catch Exception event to the Hiring Form CS service.
__ a. In the Designer library, select the User Interface option.
__ b. Double-click the Hiring Form CS human service.
__ c. Select the Diagram tab.
__ d. Drag an Error Intermediate Event from the service palette to the canvas.
V7.0
Student Exercises
EXempty
16-3
Student Exercises
__ f.
Change the display label on the internal section to: Error information
__ g. Drag a Custom HTML control from the Advanced tray palette into the Error
Information section.
__ h. Add error information to the HTML text block that is provided to the user:
<p>An error has occurred. You can either re-try what you were doing,
or you can postpone this activity until a later date.</p>
<p>If you need further assistance, please call our customer service
hotline: (555)555-5555.</p>
V7.0
Student Exercises
EXempty
__ i.
Drag another horizontal section below the previous section and delete the label.
This section is a button group.
__ j.
Click the OK button and drag it into the new horizontal section.
__ k. Click the View tray palette and in the Control section, click a button and drag it
next to the OK button.
16-5
Student Exercises
__ l.
Change the label of the first button control to Retry and change the second
button label to Postpone
V7.0
Student Exercises
EXempty
Hint
After you connect the Show Error Message coach to other activities, the flow editor
automatically uses the button controls from the coach. If the controls do not match the flow,
you can either reroute the connection arrows or change the end state binding.
To change the end state binding, select the connection arrow.
Select the Properties tab.
In the Behavior section, click Select...
From the coach dialog, select the button control to which you want to bind the
flow.
End of exercise
16-7
Student Exercises
V7.0
Student Exercises
EXempty
Introduction
A playback between business and IT is a focused demonstration of a
partially implemented process model at the designated development
phase. The goal of a playback is to encourage discussion, build
consensus, improve collaboration, and ultimately approve the process
model. Playbacks thus enable the iterative agile development of the
process application.
Playbacks provide early visibility and input from the business group on
the process application functions. Often times, the perspective of the
business group benefits development because they quickly identify
adjustments to requirements well before the final product is
implemented.
1. Log on to the Process Portal. The URL is:
http://<server URL:port>/portal
2. Demonstrate process flow. Complete a coach and submit the data.
3. Show the effects of business data as it changes the process flow.
Requirements
Completing the exercises for this course requires a VMware image lab
environment that includes the exercise support files, IBM Process
Designer V8, and the IBM Process Center V8 test environment.
Copyright IBM Corp. 2013
A-1
Student Exercises
A-2
V7.0
Student Exercises
EXempty
Exercise instructions
The ability to shift direction during each playback phase is key to reaching the ultimate
BPM project target. The appreciably faster time to value that the BPM team and business
realize with this approach sets the direction for future BPM project development.
Themed playbacks
Often playbacks are conducted as themed phases of development. The number of
playbacks depends on the number of themes that the organization wants to use and the
complexity of the business process needs. This reference guide for playbacks focuses on
the use of six playback themes: playback 0 through playback 5. This guide can be used as
a primer for just about any BPM project development effort.
A-3
Student Exercises
1. Design goals:
- Capture executive vision
- Process nomination
- Process prioritization
- Process discovery
- Process analysis
A-4
V7.0
Student Exercises
EXempty
2. Modeling goals:
- Create a process model
- Process adjustments
- Process simulation
3. Execution goals:
- Implement the process model as a process application
- Adjust business process requirements as needed
- Deploy and monitor the process application
4. Optimization goals:
- Analyze and evaluate process performance data
- Evaluate the business process ability to meet new business
goals
A-5
Student Exercises
A-6
V7.0
Student Exercises
EXempty
A-7
Student Exercises
The default human services that were used in playback 1 are replaced with human services
that allow for entry and capture of business data. The human services with coaches are
implemented on two activities in the Hiring Request Process BPD. This session validates
the playback 2 process application.
__ 1. Log on to the Process Portal as User Name: we_author1 and Password:
we_author01
__ a. Maximize the IBM Business Process Manager Quick Start browser window.
__ b. Click the Process Portal link to start the Process Portal.
A-8
V7.0
Student Exercises
EXempty
A-9
Student Exercises
__ c. Select the Work tab in the Process Portal. The process instance is displayed,
and it is paused on the Submit Hiring Request activity.
__ 3. The custom coach is displayed. Complete the coach with any data and click
Submit.
__ 4. Log out of the Process Portal and log back in as User Name: we_user1 and
Password: we_user01
__ 5. Run the Approve New Hire Request task.
__ a. Select the Approve New Hire Request step. A dialog reminds you that the
unclaimed task is automatically assigned. Click Claim Task.
V7.0
Student Exercises
EXempty
__ b. The data from the last coach is displayed in the new coach. Click Submit to
complete the validation of data flow.
A-11
Student Exercises
Validate that the decision service and business rules produce the expected results, which
depend on the business data input into a coach.
__ 1. Log on to the Process Portal as User Name: admin and Password: admin
__ a. Maximize the IBM Business Process Manager Quick Start browser window.
__ b. Click the Process Portal link to start the Process Portal.
V7.0
Student Exercises
EXempty
A-13
Student Exercises
__ 7. The diagram displays how the rule controlled the flow of the process. The instance
advanced all the way to Review Posting because a review is not needed. The
Check Hire Request BAL rule evaluated that the salary was compliant, so the
Approve Hire Request subprocess was completed as well.
V7.0
Student Exercises
EXempty
__ 9. Show the different path taken based on how the rule is assessed as a complex
claim.
__ a. Click the Completed Tasks and find the latest instance. Click the chevron arrow
and then select the View Process Diagram.
A-15
Student Exercises
__ b. Notice the different path that was taken, and how the flow went to the Approve
New Hire Request because you set the new position to true.
__ c. Click the blue X icon and then complete the task for the next activity and follow
the process flow.
__ d. Try the same data without the isNewPosition checked. View the different flow
results from the rule and the decision gateway Is salary compliant.
__ e. When the tasks are completed, log out of the Process Portal and minimize the
browser window.
V7.0
Student Exercises
EXempty
With the new integrations and added features and functions in the hiring requisition BPD
coaches, it is now necessary to get sign-off for the process application. Conduct a playback
of your process to review the added enhancements.
__ 1. Show the coach enhancements.
__ a. Maximize the Process Portal browser window.
__ b. Log in as User Name: we_author1 and Password: we_author01
__ c. Create an instance of the Hiring Request Process.
__ d. On the hiring form, demonstrate the tabs and how they are intended to move the
user along in a wizard-like experience.
A-17
Student Exercises
__ f.
V7.0
Student Exercises
EXempty
Information
This playback represents some of the items you show during playback 4. Most likely, you
would continue to refine your UI so you show the polished appearance, and make the
coaches production-ready.
A-19
Student Exercises
The last playback consists of validation of the error handling that you implemented in the
process application.
__ 1. Change the Retrieve Incident Categories service to throw an error.
__ a. For this demonstration, you want to show what would happen if a database is
unreachable, so you remove the connection information to cause this error.
__ b. In the Designer library, click the Implementation option and open the Retrieve
Department Categories service.
__ c. Click the SQL Execute Statement service. In the Properties tab, erase the
value of the returnType(String) option.
V7.0
Student Exercises
EXempty
Information
You can correct the problem and show how a user would recover by going back into the
Portal and running the task again. This time the coach displays as expected.
End of exercise
A-21
Student Exercises
V7.0
Student Exercises
EXempty
B-1
Student Exercises
Part 1: Departments
Structure
Column
departmentCode
divisionCode
departmentName
Type
varchar(5)
varchar(5)
varchar(50)
Null allowed
No
No
Yes
divisionCode
201
201
202
202
203
departmentName
Marketing
Finance
Engineering
Professional Services
HR
Type
varchar(5)
varchar(50)
Null allowed
No
Yes
Data
departmentCode
101
102
103
104
105
Part 2: Divisions
Structure
Column
divisionCode
divisionName
Data
divisionCode
201
202
203
divisionName
APAC
US
EMEA
Part 3: JobLevels
Structure
Column
jobLevelCode
jobLevelName
Type
varchar(5)
varchar(50)
Null allowed
No
Yes
Data
jobLevelCode
B-2
jobLevelName
V7.0
Student Exercises
EXempty
5001
5002
5003
5004
5005
5006
5007
Jr Associate
Associate
Manager
Sr Manager
Director
Vice President
President
B-3
Student Exercises
Part 4: Positions
Structure
Column
id
positionStatus
jobTitle
jobDescription
jobLevel
numberOfDirectReports
salaryToOffer
bonus
department
departmentManager
comments
Type
integer
integer
varchar(50)
varchar(4000)
char(10)
integer
double
double
varchar(50)
varchar(50)
varchar(4000)
Null allowed
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Part 5: IncidentCategory
Structure
Column
categoryID
categoryName
Type
varchar(5)
varchar(50)
Null allowed
No
Yes
Data
categoryID
1001
1002
1003
1004
categoryName
Collision
Theft
Natural Event or Disaster
Other
Part 6: IncidentType
Structure
Column
typeID
categoryID
typeName
B-4
Type
varchar(5)
varchar(5)
varchar(100)
Null allowed
No
No
Yes
V7.0
Student Exercises
EXempty
Data
typeID
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
categoryID
1001
1001
1001
1001
1001
1002
1002
1002
1002
1003
1003
1003
1003
1004
1004
1004
1004
typeName
Collision with another vehicle
Collision with a stationary object
Collision with a cyclist
Collision with a pedestrian
Collision with an animal
Theft of entire vehicle
Theft of stereo
Theft of items in vehicle
Theft of part of vehicle, not listed above
Fire
Flood
Hail damage
Other storm damage
Glass damage
Pothole damage
Parking lot damage by shopping cart
Other
B-5
Student Exercises
B-6
V7.0
Student Exercises
EXempty
Consolidation exercise
The Post Position activity in the sample process is not implemented. This exercise allows
you to use your existing knowledge to provide a service for this activity.
The business determined that on completion of the hiring request, the details of the new job
should be posted in the Positions table. The details of this table are contained in Appendix
B: Data dictionary.
To assist you in your testing of the insertion of details into the Positions table, you create a
separate service to read the rows that are contained in that table.
To accomplish this task, you use the Records control type. Details of how to use this control
can be found in the Help file. In IBM Process Designer, click Help > Help to activate the
IBM Business Process Manager Information Center.
Key steps
1. Insert a new record into the Positions table by using the details
that are captured in the BPD.
2. Ensure that the id field of the Positions table contains a unique
value that is related to the instance ID of the BPD.
3. Set the Status field of the Positions table to 1 signifying that the
new position is active.
C-1
Student Exercises
C-2
V7.0
Student Exercises
EXempty
Ajax service
Decision service
Integration service
Advanced integration
service
IBM Case Manager
integration service
Copyright IBM Corp. 2013
Description
Use a human service when you want to create an interactive
service. A human service is the only type of service that can
contain coaches and postpones. Human services generate
tasks in IBM Process Portal. Note: A human service is the only
type of service that can call other nested human services.
Use a general system service when it is necessary to
coordinate other nested services or to manipulate variable
data. For example, if you want to implement data
transformations or generate HTML for a coach, you can use a
general system service. General system services cannot
include Java or web service integrations directly. You can call a
general system service from any other type of service and a
general system service can call other nested services.
Use an Ajax service when you want to include a control in a
coach to implement dynamic data selection such as
automatically populating lists and automatically completing edit
boxes. An Ajax service can pull data dynamically from a
connected data source, such as a database. You cannot call an
Ajax service from other types of services, but an Ajax service
can call other nested services.
Use a decision service when you want a condition to determine
the implementation that is started. For example, when a certain
condition evaluates to true, IBM Business Process Manager
implements the JavaScript expression that you provide.
Decision services cannot include Java or web service
integrations directly. You can call a decision service from any
other type of service, and a decision service can call other
nested services.
Use an integration service when you want to integrate with an
external system. An integration service is the only type of
service that can contain a Java or web service integration. You
can call an integration service from any other type of service,
and an integration service can call other nested services.
Use an advanced integration service when you want to
integrate with a service created in IBM Business Process
Manager Advanced.
Use an IBM Case Manager integration service when you want
to integrate with an IBM Case Manager server.
Appendix D. Service types
D-1
Student Exercises
Component Icon
Available with...
All service types
Description
Enables you to select and move
components on the diagram.
Integration service
only
D-2
V7.0
Student Exercises
EXempty
D-3
Student Exercises
D-4
V8.1
backpg
Back page