Connecting Tech Pros Worldwide Help | Site Map

Wf_routing_rules

Familiar Sight
 
Join Date: Jun 2007
Posts: 151
#1: Feb 26 '09
Hi all

I have a requirement where if a vacation rule is created with delegation to an employee, an automatic mail should be triggered to the person delegated(custom mail).

I tried to capture values of delegation from wf_routin_rules table and create an mail package using utl_smtp. Now where should i call this in my workflow.

Will wf_routing_rules table hold only the delegated/transferred rule details or all the approval routing rules.

Vamsi
amitpatel66's Avatar
Moderator
 
Join Date: Mar 2007
Location: Hyderabad, India
Posts: 2,192
#2: Feb 27 '09

re: Wf_routing_rules


There should be a functionality where in an employee submits a vacation request by filling up the form. Now here if the delegation to his manager is specified, then at this point of time your send mail procedure can be fired that will send mail to the employee delegated for approval.
amitpatel66's Avatar
Moderator
 
Join Date: Mar 2007
Location: Hyderabad, India
Posts: 2,192
#3: Feb 27 '09

re: Wf_routing_rules


Probably you will need to modify the workflow using workflow builder to add your send mail notification to the employee mentioned in the delegation field
Familiar Sight
 
Join Date: Jun 2007
Posts: 151
#4: Mar 5 '09

re: Wf_routing_rules


I got the answer.

As soon as we create a vacation rule the details are in wf_routing_rules table. I captured teh role (from address) and the action_argument (to Address) from that table and created a mail using utl_smtp. So, my package is ready. But i am confused where to call this.

My ultimate requirement is , as soon as someone creates a vacation rule, the above pacakge has to be called. So, someone suggest where in workflow i should call this.


vamsi
Reply


Similar Oracle Database bytes