You are on page 1of 5

Practice - Defining Messages

Distribution
Oracle Workflow

Job Title*

Ownership
The Job Title [list@YourCompany.com?Subject=584481449.doc] is responsible for ensuring
that this document is necessary and that it reflects actual practice.

Copyright © Oracle, 2007. All rights reserved.

Practice - Defining Messages 584481449.doc


Effective Paradigm_effective Page 1 of 5 Rev Paradigm_revision
Practice - Defining Messages
Overview
In this practice, you will define messages for the Vacation Proposal item type that you created in
the Creating a Workflow Process practice.

Note: Because many students access the system and create objects during this course, you need a
way to distinguish between the objects created by you and by your classmates. Therefore, you
will be assigned a terminal number by your instructor. Use this number as a prefix wherever you
see XX included in the name of something that you are defining. In this way, you can ensure that
the definitions you create are unique.

Tasks
Defining Messages

Define messages for your item type.

Copyright © Oracle, 2007. All rights reserved.

Practice - Defining Messages 584481449.doc


Effective Paradigm_effective Page 2 of 5 Rev Paradigm_revision
Solution – Defining Messages
Defining Messages

1. Start the Oracle Workflow Builder.

2. From the File menu, select Open to open the wfvacXX.wft data store that you defined in the
Creating a Workflow Process practice.

3. In the navigator tree, select your XX Vacation Proposal item type.

4. From the Edit menu, select New > Message.

5. Define a Vacation Proposal message that informs the approver of the vacation proposal.

 On the Message tab, set the message priority to Normal.

 On the Body tab, enter the following message text body including the message attribute
tokens for the requestor, approver, and the start and end dates of the proposed vacation:

The following vacation proposal requires your approval.

Requestor: &REQUESTOR

Approver: &APPROVER

From Date: &FROM_DATE

To Date: &TO_DATE

 On the Result tab, enter Approve as the display name, enter “Please approve or reject
this proposal” as the description, and select the Approval lookup type.

6. In the Navigator window, drag and drop the Requestor, Approver, From Date, To Date, and
Comments item attributes onto the message to create the corresponding message attributes
with those item attributes as their default values. If you created URL Example and Form
Example attributes, drag and drop those attributes onto the message as well. For the
Comments attribute, set the Source field to Respond. For the URL Example attribute, select
the Attach Content check box.

7. From the Edit menu, select New > Message.

8. Define a Vacation Rejected that informs the requestor that the vacation proposal was
rejected.

 On the Message tab, set the message priority to Low.

Copyright © Oracle, 2007. All rights reserved.

Practice - Defining Messages 584481449.doc


Effective Paradigm_effective Page 3 of 5 Rev Paradigm_revision
 On the Body tab, enter the following message text body including the message attribute
tokens for the requestor, approver, comments, and the start and end dates of the proposed
vacation:

The following vacation proposal was rejected.

Requestor: &REQUESTOR

Approver: &APPROVER

From Date: &FROM_DATE

To Date: &TO_DATE

Comments: &COMMENTS

 Drag and drop the appropriate item attributes onto the message to create the
corresponding message attributes with those item attributes as their default values.

9. From the Edit menu, select New > Message.

10. Define a Vacation Approved message that informs the requestor that the vacation proposal
was approved.

 On the Message tab, set the message priority to High.

 On the Body tab, enter the following message text body including the message attribute
tokens for the requestor, approver, comments, and the start and end dates of the proposed
vacation:

The following vacation proposal was approved.

Requestor: &REQUESTOR

Approver: &APPROVER

From Date: &FROM_DATE

To Date: &TO_DATE

Comments: &COMMENTS

 Drag and drop the appropriate item attributes onto the message to create the
corresponding message attributes with those item attributes as their default values.

11. From the File menu, select Save. The Oracle Workflow Builder will verify your workflow.
Click Save in the Workflow Error window to finish saving the workflow definition.

Copyright © Oracle, 2007. All rights reserved.

Practice - Defining Messages 584481449.doc


Effective Paradigm_effective Page 4 of 5 Rev Paradigm_revision
Copyright © Oracle, 2007. All rights reserved.

Practice - Defining Messages 584481449.doc


Effective Paradigm_effective Page 5 of 5 Rev Paradigm_revision

You might also like