Notification to be send to user as the request is completed.

Dear All,
We have a new requirement here, to send the notification to functional consultant as the user submits/completes  'Payroll Run' concurrent request. (short name 'PPRUN')
1. Concurrent Program> Business events>Enabled (Request Completed)
2. For this I have tested while submitting the conc request with manual setting  "User Name"  in Submit Request> "Options">Notify the following People.
    It is working perfectly as the request completes the notification appears for the user provided.
The same has to be done auto.
I followed the metalink
How To Use Business Events To Send Notifications when a Spawned Report Completes (Doc ID 1506980.1)
I get struck at point 7, Kindly suggest the steps to move ahead.
Thanks in advance.
Regards,
Afzal.

Assalamu alaikum Asif,
Thanks for all the suggestions. May God help you too ameen.
I acheived above requirement as follows.
Requirement: Notification to send user ‘EG_AFZAL’ after any user running the payroll quick pay or payroll run.
1.       Create a report ‘XXPAYRUN_NOTI’ with text output (or any output as u wish) register it in payroll module with parameter to pass request_id of the payroll run from the pay_payroll_actions.
2.       Create a procedure ‘XXFNDREQPROC4’ included to initiate the above conc program in the script with notification, register the same as pl/sql executable method, conc progam.
3.       Create an event alert for the table pay_payroll_actions with action Action details>action type as ‘concurrent program’, program name : ‘XXFNDREQPROC4’
CREATE OR REPLACE procedure APPS.XXFNDREQPROC4
(--PAY_REQUEST_ID IN NUMBER
retcode out varchar2, errbuf out varchar2)
  AS
--SET SERVEROUTPUT ON;
--declare
PV_REQUEST_ID NUMBER;
v_request_id number;
--v_request_id1 number;
--v_request_id2 number;
--v_request_id3 number;
--v_request_id4 number;
--v_request_id5 number;
v_notify_user  boolean;
l_user_id NUMBER:=2605;--give user id
l_responsibility_id NUMBER:= 50419 ;--resp id
l_resp_appl_id NUMBER:=800;--resp appl id
P_ORG_ID NUMBER;
begin
SELECT REQUEST_ID INTO PV_REQUEST_ID
FROM PAY_PAYROLL_ACTIONS
WHERE CREATION_DATE IN (SELECT MAX(CREATION_DATE) FROM PAY_PAYROLL_ACTIONS);
--PV_REQUEST_ID := PAY_REQUEST_ID;
fnd_global.apps_initialize(l_user_id,l_responsibility_id,l_resp_appl_id);
mo_global.init ('S');
v_notify_user := FND_REQUEST.ADD_NOTIFICATION ('EG_AFZAL');
v_request_id := fnd_request.submit_request
(application=>'XXCUST',
program=>'XXPAYRUN_NOTI',--above created conc program
description=>NULL,
start_time=>NULL,
sub_request=>FALSE,
argument1=> PV_REQUEST_ID);--request id of pay_payroll_actions
commit;
if v_request_id > 0 then
  -- dbms_output.put_line('Successfully submitted'||V_REQUEST_ID );
   fnd_file.put_line(fnd_file.output,V_REQUEST_ID );
else
  --dbms_output.put_line('Not Submitted'||V_REQUEST_ID );
  fnd_file.put_line(fnd_file.output,V_REQUEST_ID );
  end if;
EXCEPTION WHEN OTHERS THEN               
fnd_file.put_line(fnd_file.output,'exception error');
END;
Alert query
Application: Payroll Table: PAY_PAYROLL_ACTIONS
SELECT PAA.REQUEST_ID
INTO
&PREQUEST_ID
FROM pay_payroll_actions PAA
WHERE
PAA.ROWID = :ROWID
I created document with screen shots, will share the same.
Regards,
Afzal.

Similar Messages

  • Questions about forms users once the form is completed

    I am on a Macintosh platform, OX 10.5 (Leopard), using Adobe Acrobat Professional that came with CS3 (version 8 I believe - I am not in front of that computer at the moment). I have creted a few forms in LifeCycle, but now my boss wants this to be completely Mac so Monday I need to start creating them in a Mac. I know the basics of how to create a form from a pdf file.
    Here are my questions:
    1 - Acrobat 8 is so old I can't find any help information in the Adobe help section. Everything that says version 8 takes me to X or XI when I click on the link. Does anyone know where I might find some help with this version?
    2 - How do I create a form that the person using can save with the data, the completed fields, so they can open it again and look at what they filled in?
    3 - As a corrollary to number 2, how can we also get the data?
    4 - We want to take a booklet that has been paper up to now, create a pdf, and then number them to sell for one use only.  Is there any way to make a form one-time-use only, so it can't be passed on to someone else to also complete?
    I appreciate any help I can get. Thank you.

    2. You need to apply the Extended Reader Rights. In version 8 I believe it was under the Advanced menu.
    3. The users can submit the file back to you in various formats, such as PDF (the entire file), FDF, XML, etc.
    You can add a submit button to the file that will help them do that, or they can just do it themselves.
    4. Impossible, unless you use some kind of DRM technology, but those are extremely expensive.

  • If the switch itself is hosting the DHCP pool, can the switch still be configured to send a copy of the request to ISE?

    ip dhcp pool POOL52
    network 10.10.52.0 255.255.255.0
    domain-name didata.ise
    dns-server 10.10.50.11 10.10.50.1
    default-router 10.10.52.1
    option 43 ascii 10.10.50.100
    lease 7
    Interface Vlan52
    description EmployeeVLAN-52
    ip address 10.10.52.1 255.255.255.0
    ip helper-address 10.10.50.10
    In this case above, 10.10.50.10 is the ISE server...

    Yes you can do that. just add secondary DHCP as "ip helper-address "ISE IP Address" ".

  • Notification mail not send

    Hi All,
    I have an issue in PR workflow.A notification mail is send to user to approve a PR,but the user says that he did not receive that notification mail.He manually goes to transaction & approve the PR & workflow gets completed.
    Please let me know how to find out the cause of this problem.In my workflow log it shows workitem approved by the user.
    What can be the cause that notification mail is not send.The user email id is maintained in su01.
    Please help.
    Thanks in advance

    Hello,
    You wrote:
    "As he executed that step manually ,automatically the workitem got deleted from the user inbox"
    This is not something that happens automatically. Is the workflow listeing out for an event which tells it that the activity represented by the step has already been done?
    I assume you mean the user performed the operation that was supposed to be done via the workflow step, not that he performed the workflow step itself. If the workflow log shows that he did perform the step, then the user is mistaken.
    regards
    Rick Bakker
    Hanabi Technology

  • How to handle the Request more information in workflow notification

    Dear All,
    I am developing a custom workflow which has 3 different options to be handled like approve, reject and request more information. approve and reject scenarios i have done and working as expected. However I would like to know how we can capture that the notification is requested for more information so that i can design approvals according to business requirement.
    Thanks for yiur replies in advacne
    Best Regards,
    Maheshkumar.M

    Hi,
    When a user uses the request information functionality, the notification can execute a post notification function with a funcmode of QUESTION. When the question is answered, the PNF runs with a funcmode of ANSWER.
    Additionally, while the notification is awaiting an answer, the MORE_INFO_ROLE on WF_NOTIFICATIONS will be populated. When the answer has been provided, this is set to null.
    HTH,
    Matt
    WorkflowFAQ.com - the ONLY independent resource for Oracle Workflow development
    Alpha review chapters from my book "Developing With Oracle Workflow" are available via my website http://www.workflowfaq.com
    Have you read the blog at http://www.workflowfaq.com/blog ?
    WorkflowFAQ support forum: http://forum.workflowfaq.com

  • How to approve the request only for one time for human task in BPM Worklist

    Hi All,
    I'm having a requirement where i have made the hierarchy in the .task file where in created two users for which i need an approval in a hierarchical manner. But when i'm approving the request from worklist app for one user and the request is going sucessfully to the second user and if i approve it over there it once again coming to first user where i have approve it once again to get the request processed. how to get request processed only for one time when it is approved. Do we need to customize anything
    If you did it can anybody can share thoughts on this please. Your help is highly appreciated.
    I am not able to see the rejected request at all. where to see the rejected request.
    Regards,
    CH

    Hi,
    Following are the some important points you should understand about ESS Leave Request Workflow
    1. The Visualization ( how should it appear in UWL and what should happen when you click on a particular workitem) is defined in SWFVISU. Check for TS12300097. Generally, it invokes com.sap.xss.hr.lea.appl/LeaveRequestApprover Java WebDynpro application. Just check whether you are able to get the correct Leave Processing application called when you execute your workitem from UWL?
    2. In general it should have option to process the leave request either approve/reject. When the leave request gets approved/rejected the status of the Leave Request document gets changed ( in workflow it is &REQ.STATUS&
    3. There is a need to schedule a background job for program RPTARQPOST which will pick up all the documents in APPROVED status and creates an absence record for the same.
    4. Apart from schedule job as mentioned above, you also have to schedule a background job for program  RPTARQEMAIL, which is basically used to send e-mails for all the documents which are yet to be approved to correct manager.
    as you say , you can not see Approve/Reject options from UWL, it looks to me that correct javawebdynpro application is not being called for this task. Just check this !!
    Good Luck !!
    Regards
    Krishna Mohan

  • Forward the request to a window with specific parameters

    page0.asp->page1.jsp
    When the user click submit button in page0.asp, it will post the form
    request to page1.jsp.
    page0.asp and page1.jsp are in separate machines. In page1.jsp, based
    on the parameter
    interfaceName, it will forward to different jsp pages. However, we want
    to forward the request
    to a window with parameter like the following, without the menu bar and
    toolbar.
    The question is how to forward the request to a window like that?
    window.open("test2.jsp",null,
    "height=500,width=500,status=yes,toolbar=no,menubar=no,location=no");
    //page1.jsp
    <%
    String interfaceName = request.getParameter("interfaceName");
    if (interfaceName != null)
    {        if (interfaceName.equalsIgnoreCase("id1"))
    url="/id1.jsp";
    else if (interfaceName.equalsIgnoreCase("id2"))
    url="/id2.jsp";
    else if (interfaceName.equalsIgnoreCase("id3"))
    url="/id3.jsp";
    //etc...
    request.getRequestDispatcher(url).forward(request,response);
    %>
    Please help and advise. thanks!!

    The server cannot decide where to send its response to. It can only send
    it to where the request came from.More specifically... to the server, the browser itself makes the request. Where the browser wants to put the response is entirely up to the browser.
    Unfortunately, you can't really use ECMAScript (JavaScript) after the response is returned to redirect it. I suppose you could copy the DOM contents of the response page into another frame's document or something, but that's just ugly.
    and don't cross-post...

  • Adding User attributes in Request details

    Hi,
    I want to add user details like Manager Name in addition to default attributes to approval request for a user.
    Can you please tell me how can I do this.
    Thanks In Advance

    Hi Charan,
    You can create a resource object form and ask user to fill details what ever you want to show before manager while he approve the request.
    When user submits the request after giving the details manager will assign a task and when manager click on request id he will able to view the resource object form and their he can view all the details given the user.
    Let me know if you have any other doubts.
    Regards
    Alabhya Goel

  • Information message when the job gets completed

    Hi,
      In foreground if i click a button a background job is scheduled.Now my need is when the job gets completed i need to inform the user that the job got completed.How to get that information message once it gets completed.Plz help

    check sy-subrc value after completion of the job.....
    if sy-subrc = 0.
        message i398(00) with 'You have succeeded'.
    endif.

  • Sending email to user using the notification template in OIM 11g

    Hi all
    I have created a Notification Template using web console in OIM 11g.
    Iam able to access the contents from notification template in my java code.
    But iam not able to find the correct api's to send email to user using the notification template
    (like tcEmailNotificationUtil using this class we can connect to email template created in design console and creating IT resourse we can send email to user using the method sendEmail).
    Waiting for your help and pointers
    Thanks and Regards
    Bipin patil

    Thanks GP!.
    But i have the same doubt here.
    "The Notification Event is defined through a XML file that must be loaded into MDS database." - in which path and in what name it should be.
    Because under /metadata/iam-features-notification, i couldnt see any event Xml present. I thought atleast we could see the existing OOB notification template's event xml files.
    Please let me know if you are aware.
    Thanks,
    Amudha

  • Sending an email to the user if the WEBi scheduling failed in CMC

    Hello Everyone,
    Current scenario :
    I am scheduling WEBi report through CMC and the report is going to end user email as an excel attachment.
    Desired Functionality :
    What happens is if the scheduling fails due to some reason. The email does not go to the end user on a particular date and then he complaints.
    What i need here an email sending option that if the WEBi scheduling has been failed in CMC an email should go to the user saying : " The WEBi scheduling has failed. The team is working on it " . (This is just a sample message)
    So the idea is to send an email to the user when the WEBi scheduling fails in the CMC. How to achieve this ?
    Regards,
    Ashutosh Singh

    Hi Ashutosh,
    You can send an alert email to a group when the schedule fails to run by choosing the "A job has failed to run" option under notification.
    You can see this option only if you schedule the report through CMC.
    Regards
    Sunil

  • Job to send all user their initial password by e-mail (one for the pros)

    Hello,
    (IDM 7.2 with MSSQL)
    I try to create a job that sends all user their "IDM-PASSWORD" via email.
    In the first step, I generate a random password for all user. This password should now be sent to each user so they can log in to IDM-UI.
    This is my approach:
    1. Step
    Define the source
    A Job with a to generic pass:
    SOURCE:
    SELECT DISTINCT mskey FROM idmv_vallink_basic_active WHERE mcidstore=1 AND
    ((mskey IN (SELECT mcmskey FROM idmv_vallink_basic_active WHERE mcattrname='MX_ENTRYTYPE' AND mcsearchvalue = 'MX_PERSON')))
    Destination:
    MSKEYVALUE = %MSKEYVALUE%
    JOB CONSTANTS:
             MAIL_SMTP_HOST = Host
             MAIL_SMTP_PORT = Port
             MAILATTRIBUTE   = MX_MAIL_PRIMARY
             MAILFROM         = MAIL....com
             NOTIFICATION     = blabla
             POSTTEXT         = </FONT><br><br>
             PRETEXT         = <FONT SIZE=5> blabla
    Script for mailing:
    function blödesMailding(Par){
    var userList = Par.get("MSKEYVALUE");
    var user = new java.util.Vector();
    user = uSplitString (userList, "|");
    var i = 0;
    var result;
    var emailAddress = "";
    var idStore = uGetIDStore();
    var emailAttribute = "%$MAILATTRIBUTE%";
    for (i=0; i < user.size(); i++) {
         emailAddress = uIS_GetValue(user.get(i), idStore, emailAttribute);
         result = UserFunc.uSendSMTPMessage("%$MAILFROM%", emailAddress, "%$NOTIFICATION% ", "%$PRETEXT% " + "%$POSTTEXT%", "%$MAIL_SMTP_HOST%", "%$MAIL_SMTP_PORT%", 1);
         if (result.length > 0) {
              UserFunc.uErrMsg(2, result + ":Mail to:" + emailAddress);
    return "";
    And here is the error message^^:
    Warning Constant MAIL_SMTP_HOST was not defined in the repository (-1)
    Warning Constant MAIL_SMTP_PORT was not defined in the repository (-1)
    Warning Constant MAIL_ORIGINATOR was not defined in the repository (-1)
    Warning Constant MAIL_DEBUG was not defined in the repository (-1)
    Warning Constant MAIL_DEBUG_RECIPIENTS was not defined in the repository (-1)
    I set all of these constats in the GLOBAL CONTANTS form ID store! 
    and here he also complains:
    Warning Could not send SMTP message to !ERROR:Entry does not exist using SMTP host mail.mymhp.net
    java.net.ConnectException: Connection refused: connect
    Warning Could not send SMTP message to !ERROR:Entry does not exist using SMTP host mail.mymhp.net
    java.net.ConnectException: Connection refused: connect
    Warning Could not send SMTP message to !ERROR:Entry does not exist using SMTP host mail.mymhp.net
    java.net.ConnectException: Connection refused: connect
    Warning Could not send SMTP message to !ERROR:Entry does not exist using SMTP host mail.mymhp.net
    java.net.ConnectException: Connection refused: connect
    Warning Could not send SMTP message to !ERROR:Entry does not exist using SMTP host mail.mymhp.net
    java.net.ConnectException: Connection refused: connect
    Warning Could not send SMTP message to !ERROR:Entry does not exist using SMTP host mail.mymhp.net
    java.net.ConnectException: Connection refused: connect
    Maybe I made a mistake, or my solution doesn't work at all.
    I would be very glad if someone had an idea, or a better solution for this problem.

    M Pollicove wrote:
    > From the Job Folder you can access global constants, but I don't think you can access repository constants.  Re-work the script so it uses globals (making sure to set up the globals) and you should be fine.
    Both repository constants and global constants work in jobs, just study your initial loads to see the use of repository constants.
    Gerhard, do you have your correct repository defined in your pass/job? If you copy/pasted the pass the original repository might be still in the pass (done this a few times
    You should be able to access your global constants in scripts with notation like (without any built-in functions):
    var idStore = "%$glb.SAP_MASTER_IDS_ID%";
    Edited by: Tero Virta on Jan 13, 2012 9:40 AM

  • You are not recognized as a user in the SAP customer notification system

    Hello,
    we are in OSS registered as CCC. I am able to send notifications from our SolMan to OSS with components(instalations) which are registered under out SAP customer number(our SolMan instalation etc.).
    When I want to sned notification for our customers to OSS but with component of our customer(he has another SAP number, his instalation) then I got an error message
    You are not recognized as a user in the SAP customer notification system:
    You are not recognized as a user in the SAP customer notification system
    Message no. DNO158
    Diagnosis
    No address data exists for this logon user in the SAP problem notification system.
    The function you activated could not be executed.
    Activated function Diagnosis
    Send notification to SAP The notification was saved, but could
    not be sent to SAP.
    Update notification at SAP The notification was not updated to
    reflect the SAP version.
    Check for changes The system cannot compare the notification
    with the current version at SAP.
    Request list of the The notifications that you sent to SAP
    notifications contained cannot be updated.
    in the SAP problem notification system.
    Procedure
    Contact your system administrators.
    Could you help me please?
    view V_AISAPCUSTNOS ist filled with our customer numbers, I am in AISUSER...
    Thanks Miloslav Pudil

    Hello Miloslav,
    We have the same problem.
    Somebody knows how can we resolve this?
    Thanks,
    Diego.

  • Reg: PO release notification needs to send to the PR Creater with PO num

    HI Gurus,
    Iam new to workfow. I have one senario in workflow.
    Requirement: when ever PO release notification needs to send to the PR Creater with PO number and corresponding PR number.
    Please guide how to do this .
    My questions :
    1.How can we can get the PR Creater user id to send notification mail
    Thanks & Regards
    Ramesh

    Hi Ramesh ,
    Which workflow you are using for PO . If it is the standard one , there is a rule used in the worklfow called 20000027.
    In this there is an USer exit . In this exit , you can write your code for sending the workitem to the PR creator.
    If you are using a custom workflow for this , then create a new rule and in that write the code for fetching the PR Creator and assign the user ro the actor tab. Incluse this rule in ur task .
    This will solve your problem.

  • Notify a user after the message is been delivered to the FTP location by the send port

    I have a scenario where I need to send an alert to the user after the file is been delivered to the FTP location.
    If for any reason if the send port fails and the file is not delivered then the alert should not be sent. If the first attempt fails there will be a retry and the alert should not be sent on every retry. Only after successful delivery of message.
    I have a limitation, Just need to implement using the send ports, No Orchestration or no custom artifacts.
    Please advice.
    Thanks in Advance.
    Thanks Mallesh Bonla BizTalk Architect

    Hi Mallesh,
    If you don't want to use any custom artifacts like custom pipeline, then you can consider this option.
    Create FTP Receive port/Location (Yes Its Receive) and let it poll for any new files to the FTP location where your send port with FTP has configured for.
    In the FTP adapter property (of the above Receive location) set  "Delete After Download" -No, "Enable
    Timestamp Comparison"-Yes.
    Create a send port with file for the above Receive port name. Configure this send port to send email/alert.
    This configuration would send an email immediately when the FTP folder receives a file. i.e. As per your requirement, whenever file has been delivered
    to the FTP folder/server, the above new receive location would trigger for the newly received file. Since you have enabled "Delete After Download" -No, file would not be deleted from the FTP folder and since you have "Enable Timestamp Comparison"
    to Yes, adapter would not retrigger another transfer. In this case the new Receive location would only act as receiving trigger message whenever FTP folder receive a file.
    This is the only way you can achieve your requirement without any custom artifacts just with the standard out-of-box components.
    Otherwise use
    la Cour option of promoting AckRequired to the context to enable delivery notification in messaging only way. If you use Orchestration, you know you can do this
    with Delivery notification feature.
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

Maybe you are looking for

  • Using an int from one class in another class

    I am a student writing a java program on renewable energy. Simply I have a power output which is a variable called PowerOutPut. declared as (public int PowerOutPut) I have another class which is a graphics class where I display the variable PowerOutP

  • HT4623 Restoring Problem iPhone 4s. Error code 9

    I have problem restoring my iPhone 4s, Can't use my phone itunes logo & USB cable signs displays in the screen. Error code 9 comes while trying to restore through itunes. Please help

  • How can I remove one keyword, or replace?

    I have added one particular keyword to a group (000's) of images (each of those photos have multiple keywords associated with them), and it turns out I need to delete that one keyword. I use the same keyword correctly in lots of other images. I am su

  • For uploading PDF (in php) if (!=application/pdf) {"No PDF"} gives error when trying to upload PDF. Why?

    In a php upload file I have inserted: if($_FILES['file']['type'] !="application/pdf"){ echo "Should be PDF";} exit; Even when trying to upload a PDF file the error message comes: Should be PDF. Earlier this worked fine. Maybe a bug in an update? Rega

  • Customer Master No authorization

    Hi, I need to check the  Authorization in customer No. in XD01 transaction code. The Authorization field of  customer No is KUNNR. In PFCG KUNNR field doesn't appear with  the Authorization object. I added the filed KUNNR with XD01 with SU24( assgine