07/19/04 NorCal OAUG Training Day, Paper 2.4 John Peters, JRPJR, Inc.1 Oracle Workflow Notifications John Peters JRPJR, Inc.

Slides:



Advertisements
Similar presentations
To print your results, click on the printer icon. Choose from the printing options suggested. You can choose to remove items from folder after printing.
Advertisements

NCOAUG Training Day Summer 2008 Presentation Approve and Send Your Purchase Order via Possible Configuration Options (11i) Presented by Al Kannan,
Accepting & Distributing Material Covered by the SMTA.
With Folder HelpDesk for Outlook, support centres and other helpdesks can work efficiently with support cases inside Microsoft Outlook. The support tickets.
Program Management Portal: Overview for the Client
Outlook 2010 Quick Guide Table of Contents: Overview of client, Sending/Receiving , Using the address book………..……… Sent Items……………………………………………………………………………………………..…..8.
0 UMN 2011 ERP Terapan SAP BASIS General Concept Session # 3.
Student Manager Catalog Builder An ACEware Webinar.
Calendar Browser is a groupware used for booking all kinds of resources within an organization. Calendar Browser is installed on a file server and in a.
1 Classification: Genpact Internal.  Tool From Oracle  Works with Oracle Database  PL/SQL Based  Widely Used with Oracle Applications  Can be Used.
Preforming Mail Merges Lesson 11 © 2014, John Wiley & Sons, Inc. Microsoft Official Academic Course, Microsoft Word Microsoft Word 2013.
1 of 5 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2006 Microsoft Corporation.
8/9/2015 1:47 AM SurveyCentralOverview.ppt CSC ©Copyright 2012 Online Survey Application: CSC Survey Central System Overview November 26, 2012 Supported.
How to Get The Most Out of Outlook 2003 Michele Schwartzman Division of Customer Support Summer 2006.
Using Microsoft Outlook: Basics. Objectives Guided Tour of Outlook –Identification –Views Basics –Contacts –Folders –Web Access Q&A.
Document Processing Ways to centralize and streamline your Endangered Species Act document processing procedures.
Microsoft Office Word 2013 Expert Microsoft Office Word 2013 Expert Courseware # 3251 Lesson 4: Working with Forms.
Tutorial Introduction Fidelity NTSConnect is an innovative Web-based software solution designed for use by customers of Fidelity National Title Insurance.
© 2003 Solution Beacon, LLC. All Rights Reserved. Common Pitfalls with Setting Up and Administering Workflow Workflow SIG September 14, 2003 Connection.
Electronically approve and create Suppliers in Oracle Financials using a combination of APEX and Oracle Workflow. NZOUG Conference 2010 Brad Sayer Team.
Custom Web ADI Integrators
Running Argos Reports from Banner Job Submission San Mateo County Community College District Ted Nguyen – Database Administrator Edgar Coronel – Associate.
REFACTORING Lecture 4. Definition Refactoring is a process of changing the internal structure of the program, not affecting its external behavior and.
Classroom User Training June 29, 2005 Presented by:
01/17/07 NorCal OAUG Training Day, Paper 3.9 John Peters, JRPJR, Inc.1 Getting Started With Approvals Management Engine John Peters JRPJR, Inc.
1 PHP and MySQL. 2 Topics  Querying Data with PHP  User-Driven Querying  Writing Data with PHP and MySQL PHP and MySQL.
Microsoft Outlook 2010 New Features. Improved Interface “The Ribbon”
3.01 – Understand Business Documents Mail Merge. Administration Congratulations in order! Objective 3.01 Business Documents Test –Test Wednesday –Review.
LiveCycle Data Services Introduction Part 2. Part 2? This is the second in our series on LiveCycle Data Services. If you missed our first presentation,
System Initialization 1)User starts application. 2)Client loads settings. 3)Client loads contact address book. 4)Client displays contact list. 5)Client.
Training Guide for Inzalo SOP Users. This guide has been prepared to demonstrate the use of the Inzalo Intranet based SOP applications. The scope of this.
Setting Up Alerts and Dashboard Links. When you first start using the Active Orders system, you will need to establish the settings for two types.
Oracle Data Integrator Procedures, Advanced Workflows.
R12 MOAC (Multi-Org Access Control) Uncovered John Peters JRPJR, Inc.
Forms and Server Side Includes. What are Forms? Forms are used to get user input We’ve all used them before. For example, ever had to sign up for courses.
0 eCPIC Admin Training: OMB Submission Packages and Annual Submissions These training materials are owned by the Federal Government. They can be used or.
Microsoft FrontPage 2003 Illustrated Complete Creating a Form.
Module 7 Planning and Deploying Messaging Compliance.
1 / 61 Using the Customer Support Web Site © 2006, Universal Tax Systems, Inc. All Rights Reserved. Customer Support Site Objectives –In this chapter you.
Web Center Training ©2003 Optimum Technology, Inc.
Enterprise Service Desk (ESD) Enterprise Service Desk for Notification / Knowledge Article Authors.
We now will look at options for saving searches in CINAHL. We have accessed the Results for Chloroquine AND Pyrimethamine AND Sulfadoxine search. We now.
8 Chapter Eight Server-side Scripts. 8 Chapter Objectives Create dynamic Web pages that retrieve and display database data using Active Server Pages Process.
XP Exploring Outlook  Outlook is a powerful information manager  You can use Outlook to perform a wide range of communication and organizational tasks,
Interstage BPM v11.2 1Copyright © 2010 FUJITSU LIMITED CREATING A SIMPLE PROCESS.
SAP R/3 User Administration1. 2 User administration in a productive environment is an ongoing process of creating, deleting, changing, and monitoring.
Outlook / Exchange Training. Outlook / Exchange: Agenda What Can Microsoft Exchange Do / How works at UST? and Inbox Mailbox Quota Archiving.
CHAPTER 7 LESSON B Creating Database Reports. Lesson B Objectives  Describe the components of a report  Modify report components  Modify the format.
Customizing Your Messages with Velocity Templates
Project Management: Messages
Preforming Mail Merges
Essentials of UrbanCode Deploy v6.1 QQ147
How to Setup and Utilize Functionality
Working in the Forms Developer Environment
Administrator Training
Workflows in Dynamics GP
We now will look at options for saving searches in CINAHL
Preforming Mail Merges
Smart Net Total Care (SNTC) Deployment
Active Orders Supplier Administrator Training Getting Started Activities This training presentation describes the Getting Started activities that will.
(Includes setup) FAQ ON DOCUMENTS (Includes setup)
Introduction to Oracle Application Express
Cyber Recruiter: Sneak Peak
Access Tutorial 8 Sharing, Integrating, and Analyzing Data
IBM SCPM Basic Navigation
Shelly Cashman: Microsoft Word 2016
(Includes setup) FAQ ON DOCUMENTS (Includes setup)
Using Microsoft Outlook: Outlook Support Number
Navigating SSMS Primer for Beginners
Presentation transcript:

07/19/04 NorCal OAUG Training Day, Paper 2.4 John Peters, JRPJR, Inc.1 Oracle Workflow Notifications John Peters JRPJR, Inc.

07/19/04 NorCal OAUG Training Day, Paper 2.4 John Peters, JRPJR, Inc.2 How many of you have worked with Oracle Workflow? How many of you have modified Workflow Notifications? How many of you have a minimal understanding of PL/SQL

07/19/04 NorCal OAUG Training Day, Paper 2.4 John Peters, JRPJR, Inc.3 How does Oracle Workflow build a Notification Some tips for setting up the Workflow Notification mailer Some simple customizations you can perform on Workflow Notifications What you should learn from this presentation:

07/19/04 NorCal OAUG Training Day, Paper 2.4 John Peters, JRPJR, Inc.4 All of my examples are Workflow This is the version shipped with Versions Being Shown

07/19/04 NorCal OAUG Training Day, Paper 2.3 John Peters, JRPJR, Inc.5 Primary emphasis of this presentation will be the changes to workflow notifications that are necessary for them to be sent outside of a company. The topics covered will be applicable even within a company if you want to personalize the notification messaging Presentation Emphasis

07/19/04 NorCal OAUG Training Day, Paper 2.3 John Peters, JRPJR, Inc.6 Notifications are comprised of: -A Notification Activity -A Message -A Message Template -Optional Message Item Attribute(s) Notification Components

07/19/04 NorCal OAUG Training Day, Paper 2.3 John Peters, JRPJR, Inc.7 Notification Activity Think of this as a container to hold and call the message from. This is what you will place on your workflow diagram. When inserting a Notification Activity on a workflow diagram remember to provide a value for the Performer. If you don’t you will get a workflow runtime error about a NULL Performer.

07/19/04 NorCal OAUG Training Day, Paper 2.3 John Peters, JRPJR, Inc.8 Notification Expand Roles If you are sending the Notification to a Role (everyone with the System Administrator Responsibility) the Expand Roles is very important Checked, this will create a separate Notification to each person in the Role. If an action is expected every person has an opportunity to act on the Notification Unchecked, this will create a single Notification which is led to each person in the Role. The first person to act on the notification completes (or closes) it.

07/19/04 NorCal OAUG Training Day, Paper 2.3 John Peters, JRPJR, Inc.9 Message This is what contains the text you are going to send. You can format messages at Text or HTML Message Bodies can include Attributes (variables)

07/19/04 NorCal OAUG Training Day, Paper 2.3 John Peters, JRPJR, Inc.10 Resulting Message This is the result of the HTML message body Notice the extra line ‘Oracle Workflow Notification (FYI)’. This came from the message template.

07/19/04 NorCal OAUG Training Day, Paper 2.3 John Peters, JRPJR, Inc.11 Message Templates Oracle comes seeded with Message Templates in the System: Mailer Item Type. In the PC Client Workflow Builder –Open the System: Mailer Item Type from the database –The Internal Name is WFMAIL

07/19/04 NorCal OAUG Training Day, Paper 2.3 John Peters, JRPJR, Inc.12 Open FYI Mail Template Here is where that extra text comes from.

07/19/04 NorCal OAUG Training Day, Paper 2.3 John Peters, JRPJR, Inc.13 You Can Customize Templates Do not modify the Oracle Supplied Message Templates You can create custom Message Templates in the System: Mailer Item Type You can also create custom Message Templates in any Item Type, including the one you are customizing. Details are in: Oracle Workflow Administrator’s Guide, RELEASE 2.6.3, Part No. B10283–01

07/19/04 NorCal OAUG Training Day, Paper 2.3 John Peters, JRPJR, Inc.14 My Customized Template

07/19/04 NorCal OAUG Training Day, Paper 2.3 John Peters, JRPJR, Inc.15 How to Reference Customized Templates Workflow Mailer Configuration using OAM

07/19/04 NorCal OAUG Training Day, Paper 2.3 John Peters, JRPJR, Inc.16 How to Reference Customized Templates Workflow Message Attributes Right mouse button on the Message Name Select New Attribute … This Attribute must have an internal name of #WFM_OPEN_MAIL_FYI

07/19/04 NorCal OAUG Training Day, Paper 2.3 John Peters, JRPJR, Inc.17 How to Reference Customized Templates The value must be of the format: :

07/19/04 NorCal OAUG Training Day, Paper 2.3 John Peters, JRPJR, Inc.18 Here is the result Notice other possibly objectionable message components if the message is going external

07/19/04 NorCal OAUG Training Day, Paper 2.3 John Peters, JRPJR, Inc.19 Message Attachments Message Attachments are controlled by the User Preferences To suppress the Attachments choose ‘HTML mail’ This can be done at the User level

07/19/04 NorCal OAUG Training Day, Paper 2.3 John Peters, JRPJR, Inc.20 Message Attributes Message Attributes allow you to modify features of a Workflow Notification, without having to create separate Workflow Mailers. There are dozens of Special Message Attributes. I am only showing two here. #WFM_FROM – Changes the From address #WFM_REPLYTO – Changes the Reply To See the following document for more information on Message Attributes: Oracle Workflow Developer’s Guide, Release Part No. B10284–01

07/19/04 NorCal OAUG Training Day, Paper 2.3 John Peters, JRPJR, Inc.21 Using #WFM_FROM This message attribute will change the From Address in the Notification.

07/19/04 NorCal OAUG Training Day, Paper 2.3 John Peters, JRPJR, Inc.22 Document Message Attributes Document Attributes allow you to build a Message Body From a Query Document Type Attributes reference PL/SQL procedures to build a text stream Datatypes supported are: VARCHAR2 – 32KB Size Limitation CLOB – 4GB (possible limitations due to workflow engine limitation) BLOB – 4GB (possible limitations due to workflow engine limitation)

07/19/04 NorCal OAUG Training Day, Paper 2.3 John Peters, JRPJR, Inc.23 Create a Document Attribute This will be a holder for a reference to the PL/SQL procedure and any required parameters Right mouse on Attributes Select New Attribute …

07/19/04 NorCal OAUG Training Day, Paper 2.3 John Peters, JRPJR, Inc.24 Create a Function This Workflow function will set the Document Attribute values when the Workflow is run. Right mouse on Function Select New Function …

07/19/04 NorCal OAUG Training Day, Paper 2.3 John Peters, JRPJR, Inc.25 Create Workflow Process I am going to build a new demo Workflow Process Right mouse on Process Select New Process …

07/19/04 NorCal OAUG Training Day, Paper 2.3 John Peters, JRPJR, Inc.26 Build the Workflow Process Drag Functions in to Process Set Document Attribute, then Send Notification

07/19/04 NorCal OAUG Training Day, Paper 2.3 John Peters, JRPJR, Inc.27 PL/SQL Code I have removed exception handling and other constructs to make the code easy to read. The first procedure sets the Document Attribute The second procedure builds the Document text stream.

07/19/04 NorCal OAUG Training Day, Paper 2.3 John Peters, JRPJR, Inc.28 Procedure to Set the Document Attribute Document Attributes Values plsql: / procedure = PL/SQL Procedure document_identifier = usually a concatenation of ITEM_TYPE:ITEM_KEY This is the only way to pass parameters specific to the Workflow Instance.

07/19/04 NorCal OAUG Training Day, Paper 2.3 John Peters, JRPJR, Inc.29 PL/SQL Code – Set Attribute -- Portion of the Package ZZZZ_DEMO_WF_NOTIFICATIONS PROCEDURE SET_NOTIF_ATTRIBUTES (p_itemtype in varchar2, p_itemkey in varchar2, p_actid in number, p_funcmode in varchar2, p_resultout out varchar2) IS BEGIN wf_engine.SetItemAttrText(p_itemtype, p_itemkey, 'EMP_TABLE', PLSQL:ZZZZ_DEMO_WF_NOTIFICATIONS.EMP_TABLE/‘ || p_itemtype || '|‘ || p_itemkey); END SET_NOTIF_ATTRIBUTES;

07/19/04 NorCal OAUG Training Day, Paper 2.3 John Peters, JRPJR, Inc.30 PL/SQL Code – Build Document (1) -- Portion of the Package ZZZZ_DEMO_WF_NOTIFICATIONS -- Procedure Call and Misc. Setup PROCEDURE EMP_TABLE (p_document_id invarchar2, p_display_type invarchar2, p_document in outvarchar2, p_document_typein outvarchar2) IS v_itemtype varchar2(200); v_itemkey varchar2(200); NL VARCHAR2(1) := fnd_global.newline; BEGIN v_itemtype := substr(p_document_id, 1, instr(p_document_id, '|') - 1); v_itemkey := substr(p_document_id, instr(p_document_id, '|') + 1, length(p_document_id) - 2);

07/19/04 NorCal OAUG Training Day, Paper 2.3 John Peters, JRPJR, Inc.31 PL/SQL Code – Build Document (2) -- Portion of the Package ZZZZ_DEMO_WF_NOTIFICATIONS -- Procedure Create HTML Table Header if (p_display_type = 'text/html') then p_document := NL || ' '; p_document := p_document || 'Employee Table'; p_document := p_document || ' '; p_document := p_document || ' ' || NL; p_document := p_document || ' ' || 'EMPNO' || ' '; p_document := p_document || ' ' || 'ENAME' || ' '; p_document := p_document || ' ' || 'JOB' || ' '; p_document := p_document || ' ' || NL;

07/19/04 NorCal OAUG Training Day, Paper 2.3 John Peters, JRPJR, Inc.32 PL/SQL Code – Build Document (3) -- Portion of the Package ZZZZ_DEMO_WF_NOTIFICATIONS -- Procedure Create HTML Table Rows, Handle Text Document for arec in (select EMPNO, ENAME, JOB from scott.emp order by 2) loop p_document := p_document || ' ' || ' ' || nvl(to_char(arec.EMPNO), '&nbsp') || ' '; p_document := p_document || ' ' || nvl(arec.ENAME, '&nbsp') || ' '; p_document := p_document || ' ' || nvl(arec.JOB, '&nbsp') || ' || ' ' || NL; end loop; p_document := p_document || ' '; else p_document := 'Text Document Not Implemented'; end if; END EMP_TABLE;

07/19/04 NorCal OAUG Training Day, Paper 2.3 John Peters, JRPJR, Inc.33 Resulting Message This is the same with the message body showing the contents of the table scott.emp.

07/19/04 NorCal OAUG Training Day, Paper 2.3 John Peters, JRPJR, Inc.34 Warnings about Message Modification Workflow Messages are not versioned Notifications are versioned Adding new Attributes to a Message will affect all Workflows currently running immediately. If those Attributes are not derived you will get an error. You should make a copy of a Workflow Message if you will be adding Attributes to it.

07/19/04 NorCal OAUG Training Day, Paper 2.3 John Peters, JRPJR, Inc.35 Workflow Versioning Workflow 1 starts with Version 1 Workflow 2 starts with Version 1 If a message change is made in Version 2 it will affect both Workflows 1 & 2

07/19/04 NorCal OAUG Training Day, Paper 2.3 John Peters, JRPJR, Inc.36 Workflow Notification Testing Modify the Workflow Mailer Configuration using OAM Enter an address for the Test Address This should be a common mail account or box that required users can view. User can then view this “test” box to find notifications from the test instance. Don’t create an distribution list and assign the required users to it. This causes confusion since s show up in your box and you have to read them carefully to know if they are from PROD or not.

07/19/04 NorCal OAUG Training Day, Paper 2.3 John Peters, JRPJR, Inc.37 Additional Reference Material Here are other papers I have written on Oracle Workflow. They are available for download from my web site: –Customizing Workflow: A technical perspective –Oracle Alert and Workflow Comparison –Oracle Workflow Tips and Tricks –Requisition Approval Workflow Customizations

07/19/04 NorCal OAUG Training Day, Paper 2.3 John Peters, JRPJR, Inc.38 My contact information: John Peters Additional reference papers can be found at: