You are on page 1of 14

How to Send Reminder Notification to Approver Oracle Workflow provide us several standrad functions which helps us to implement our

business req
Here we will discuss about two such standard functions to implement our requirement.
Basic Requirement

Our old requirement looks like "when a person applies for a leave it should go his/her supervisor for approval.Approver m
Apart from the above requirement# We will introduce an additional requirement that "A reminder notification)email* must go )Approve or +eject* on the leave notification." Solution Approach ,irst we will design discuss about the seeded function that we are going to use.

he comments must be entered b! the approver while rejecting the leave requisition."f he/she rejects the leave requisition w application error."f he/she approves the requisition it should be optional.Approver must also be able to select theOrgani$atio rejected# don&t store an! information in database. he approver should able to view/edit the person "'pecial "nformation !p sick leave request the approver must able to see the submitted medical document."

-* Compare Text his function is use to compare the value of two Activit! attribute. Test Value./ A value which will be compared with the referenced value. his can be a constant value or can reference a item Reference Value./ a te0t value which will be used as a reference value to compare. his can also be a constant value or ca

he comparison activities use the Comparison lookup type (Internal Name:- W,' 123O45A+"'O6* for a result code or "6ull#". 9ou can guide !our workflow process based on how the value of an item t!pe attribute compares to a given value -* Wait his function pauses the process for the time that we specified in the activit! attribute during the design of the workflow. he

a* A specific date b* A given da! of 4onth c* A given da! of the week d* +elative time) A period of time after this activit! is encountered*.

Note:-1 W!en t!e process !it t!e Wait function" it #oes to $eferre% status& We must run 'ack#r 1 *ll t!e stan%ar% functions are a)aila'le un%er itemtype +tan%ar%(Internal Name W,+T$ &
6ow %ets design/enhance the e0isting workflow model for the same.

(!en t!e (ait time !as passe%& T!e 'ack#roun% en#ine t!en completes t!e Wait acti)ity so t!at t!e process can c

-* 3reate a item attribute of t!pe e0t "nternal 6ame./ +84"618+26O ",2:A%2A + 1ispla! 6ame./ +eminder 6otification Attribute :al !pe./ e0t

his attribute will be set when approver acts on his/her notification. "ntiall! the value of the attribute will notification# it will remain null and follow the path as shown above in the flowchart#i.e# will send notificat

;* %oad the itme t!pe "standard" )"nternal 6ame./ W,' 1* workflow defintion in a separate workflow b please follow the following sequence. a* 3op!)ctrl<3* the following lookup t!pe Wait 4ode )"nternal 6ame./W,' 12WA" 24O18* from it in our custom workflow. b* ,ollow the same steps for "1a! of 4onth")W,' 121A92O,24O6 H*# "1a! of Week")W,' 121A92O,2W88=*#"3omparison")W,' 123O45A+"'O6*

Copying of these lookup types is required as this lookup types are referenced by Wait and Comparison

>* 6ow in the similar wa! cop! the Wait)"nternal 6ame./WA" * and "3ompare e0t" )"nternal 6ame./3

@* 6ow drag and drop the copied function from navigator window to process window.

A* 6ow double click on the WA" function in process window//B 7o to "6ode Attribute ab" 'elect the 6ode attribute -* Wait 4ode./ 'elect value as "+elative ime" from the drop down ;* +elative ime./ 8nter the :alue as ; ) since as per business requirement b send the reminder*.

C* 'imilarl! 1ouble click on 3O45A+8 8? function //B 7o to 6ode Attribute a* 'elect 6ode attribute " est :alue" //B he " est :alue" will determine whether approver acted o item attribute which will be set when approver approves/+eject notification 'elect !pe./ "tem Attribute :alue./ 'elect the item attribute "+eminder 6otificatio +84"618+26O ",2:A%2A +*

b) Select Node Attribute "Reference alue"!" #his is the reference $alue% hence keep this static and en

D* 6ow 3reate a notification. he performer of the notification will be same as the performer of the lea "nternal 6ame./ +84"618+284A"%26O ", 1ispla! 6ame./ +eminder 6otification

+emember./ his is just a reminder notification/email#hence it will be a ,9" notification.Hence no +esu

+) No, create a message ,ith the subitable te-t and sub.ect /ine 0nternal Name!" R(10N2(R)1S3 2isplay Name!" Reminder 1essage Sub.ect !" Reminder!" /ea$e Appro$al for &erson 4R(56(S#(R)(1&)NA1( 74R(56(S#(R)(1& 8ody!" 2ear 9b:4S6&)(1&)NA1(9;b:%9br:9;br: #he person 4R(56(S#(R)(1&)NA1(74R(56(S#(R)(1&)N') has submitted lea$e requisitio requisition. 9br:9;br: Regards <R #eam

As ,e did earlier7Refer earlier ,orkflo, tutorial;s) copy the desired item attribute and make them as m

E* Attach the message with the newl! created notification. -F* 6ow join all the nodes in the process window as shown below

--* :alidate and save !our work in database.

-l.+/0 -*RT -;* we have created an item attribute of t!pe e0t which we need to set once approver acts on notifica We will use the e0isting post notification function used in approval notification " est %eave 6otification"
Gfor details of 5ost 6otification function see the previous tutorialH

No, Compile your code and test the functionality. Remin%er notification <ere is a sample reminder notification that ,e created ,ith the help of our abo$e said modifications

Note:- 1 1nsure t!at Workflo( 'ack#roun% process is sc!e%ule% an% runnin#& 2 3nce appro)er appro)es.re4ect t!e lea)e request" t!e (ait function (ill automatically # t!at&+ee t!e screen s!ot 'elo(&

5 T!e point 2 !ol%s true only (!en after execution of appro)al it !its 61n%6 function& If it %oes of 3R an% *N$ function as s!o(n 'elo(&
83nly flo( %ia#ram is #i)en&Rest is kept unsol)e% for rea%er7s interest&&&9

: T!ere are se)eral (ays to implement t!is requirement& We !a)e %iscusse% !ere a'out only o mo%ify t!e existin# (orkflo(" sometime it may not 'e possi'le to a%% anyt!in# in t!e existin# set 'y a%%in# a custom function imme%iately after appro)al an%.or re4ection of t!e notification&

You might also like