Complete Defunct HR Workflow Processes = Notification Spam?

We recently started a Request Set that includes the 'Complete Defunct HR Workflow Processes' Concurrent Program. The first day we spawned ~270 notifications to people, basically telling them that a prior Notification was being cancelled. These were Notifications the user did not click the 'OK' button after reading.
A week later (after a patching event and instance bounce), several thousand NOtifications were spawned, with basically the same message. When i look at the wf_notifications table, comparing begin and end dates to the timeframe these were being spawned, i only see ~200 normal everyday notifications having been sent. But, when i look at the wf_notification_out table, there i see NOtifications in the thousands. They seem to be related to Event oracle.apps.wf.notification.send; but i cannot see what triggered this event.
To make matters worse, some of these are NOtifications that had already been sent the previous week, only this time multiple (in some cases hundreds) of copies were sent. Same Notification, re-sent hundreds of time.
The timing seems to suggest an instance bounce done shortly before people reported a problem.
Can anyone shed any light on why this haoppened? And how to stop this ever happening again?

Hi,
Did you run the purge routine after completing the concurrent request?
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

Similar Messages

  • Workflow process does not complete for 3500 but works for about 10 records

    Hi Gurus,
    I am a novice in workflow. Pls bear if the questions are very basic.
    We have a old custom workflow process which is inistaed by a PL/SQL procedure
    WF_ENGINE.CreateProcess ---
    WF_ENGINE.StartProcess ---
    COMMIT; ---
    Now this process has run for over 6-7 years but has always processed max upto 8 or 10 records at a time. Now we had about 4000 records in a table and the process was running for more than 4 days now and it has been termiinated.
    I could not see any new item_keys. Is it because we have a commit only at the end.
    This process has 3 sub processes. they are connected by 'AND' and then we have an 'End' node.
    The first sub-process is simple and we can see a record in wf_items .
    Howver no records are there in wf_items for the 2nd and 3rd sub processes.
    How can we check the point where it has hanged. Querying Status monitor just gives the first sub-process that has completed. How to debug for these cases.
    This has always worked for small volumes. Now we have about 4000 records and we face this problem
    The process actually checks data from the table and based on some conditions , it send 5 different notifications to 5 different mail groups. So we expect about 4000*5 mails to be sent.
    Any help is welcome.
    Thanks,
    L
    Edited by: 901929 on 20-Jul-2012 01:38
    Edited by: 901929 on 20-Jul-2012 01:39

    L,
    Please check the following:
    1. Since this is pure PLSQL you can have a SQL script where you enable a database event to get a trace and then run tkprof on the output to spot any performance problem. You can use something like:
    alter session set tracefile_identifier='Background' max_dump_file_size='unlimited' events '10046 trace name context forever, level 12';
    begin
    wf_engine.CreateProcess(...);
    wf_engine.StartProcess(...);
    end;
    commit;
    alter session set events '10046 trace name context off';
    select fnd_debug_util.get_trace_file_name() tracefile from dual;
    2. Do you happen to know if WF runtime tables are being purged regularly? If this is not done you can expect serious performance problems. If this is WF Apps embedded you need to clean data using the concurrent request Purge Obsolete Workflow runtime data, if not then you can use the APIs in package WF_PURGE.
    3. You will only find one record in WF_ITEMS for this process if those sub-processes belong to the same item type
    4. About the notifications, make sure you are not running into this design problem: https://blogs.oracle.com/oracleworkflow/entry/looping_within_a_workflow_process
    Regards,
    Alejandro

  • Email PO Workflow Process - Send Notification to Web Supplier???

    Hello,
    We're on 11.5.8. I'm looking at the Email PO workflow process in POAPPRV. Can someone tell me the difference between the 'Does user want document e-mailed?'/'Email PO' functionality in the process and the 'Send notification to web supplier?'/'Notify Web Supplier' functionality. I want to customise the email to the supplier but am confused as to which half of this process requires customisation.
    Thanks in advance,
    - Matt Symes

    Hello,
    Is this for emails inside or outside of SAP?
    I don't know if it's a standard feature of PO release workflows.
    You could set up a test workflow with a SENDTASKDESCRIPTION step and see if it includes a link to the object instance.
    regards
    Paultje Bakker
    Hanabi Technology

  • Not Receiving Email Notifications via Hyperion Workflow Process

    Hi All,
    Configuring SMTP for workflow process in Hyperion planning.
    I did the following steps for the above process.
    1--> I checked whether SMTP server is running or not using Telnet command in the machine where the application is running-->*[Its working fine]*
    2-->Then I logged in to planning application with admin credentials and set the Email server details as follows
    2.a) *[Planning-->Administration-->Application-->Settings-->I entered the Email server details]*
    2.b) *[Planning-->File-->Preferences-->Planning-->I mentioned the Email address for administrator]*
    3--> I created several users using shared services console and I set the security Access type as Descendents Inclusive for each and every dimensions.
    4--> I set the Email address for every users which are created in the above step *[Planning-->File-->Preferences-->Planning]*
    5--> I created a Planning unit Hierarchy.
    6-->I logged as a Planner and I entered the budget in the Data form .
    7-->I promoted this budget to the Higher official for verification process.
    8-->But I didn't get the status mail for the above process.
    Kindly guide me whether I am following the right procedure to config SMTP in my application.
    How to get the status of the notification mail through relational tables.
    Kindly mention the location of log files regarding this issue.
    Please guide me to overcome this issue.
    Thanks and regards
    Sai

    Hi John,
    Thanks for your reply. I couldn't get you from the below quote
    Does you SMTP server accept anonymous connections?
    Anonymous in the sense that you mean like Unauthenticated connection. Yes my mail server is unauthenticated server, hence it doesn't require any username and password.
    Regards,
    Sai

  • Can a workflow process continue from form trigger?

    in my workflow project i have launched a workflow process from a form.in the process there is a notification from which i can open a form for further modification of data .currently i am continuing this particular process by pressing an 'updated' button in the notification after updating the data from form. if not updated it'll send that notification back again.can i do the same functionality through a button say 'updated' in the form called from the notification?
    ie i want to continue my process from my custom form called from notification,not by responding the notification's button itself .
    anyway i have completed the project succesfully.if anybody needs any help related to the functionalities noted above ( like 1.launching workflow from form or concurrent program
    2.opening(querying a custom form with particular data) a custom form from notification.
    3.submitting concurrent program from a workflow process ) can contact me at [email protected]

    When we consider that email is simply a communications protocol being leveraged by the workflow, it becomes clear that the problem most likely lies in the email enablement of your Archive list.  If your Archive list is indeed identical to the Requests
    list, then I would take a look at configuration for email on that list as it probably isn't configured correctly.  Additionally, you may wish to double check the email alias you're using in the workflow.  Sending email to the wrong email address
    is just a slip of the keyboard but can result in many hours of debugging.  Ultimately, I would recommend tracking the email through Exchange logs to see if it's received and sent correctly.
    I trust that answers your question...
    Thanks
    C
    |
    RSS |
    http://crayveon.com/blog |
    SharePoint Scripts | Twitter |
    Google+ | LinkedIn |
    Facebook | Quix Utilities for SharePoint

  • Workflow in Notification

    Hi,
    Can any body help me in getting workflow in notification.can give path also be appreciated.
    thanks
    vardhan

    Hi
    Workflow is used to inform the people or departments responsible automatically that a series of tasks must be executed in the following order:
    Processing of a newly created maintenance notification (notification status Outstanding)
    Processing of a maintenance notification with outstanding tasks (notification status In process)
    Completion of a maintenance notification (status of all tasks Completed)
    The person(s) or department(s) responsible receive a mail (work item) in their inbox informing them of the tasks to be performed
    Creation of notification/changing of status of notification or completion of notification can be taken as an event to trigger mail to various users/groups for follow up actions. You can consult a workflow consultant/ABAPers to incorporate your logic for workflow as in standard you dont have such flexibility.
    Shakti

  • To create workflow process which periodically examines one database table??

    hi.......
    plz tell me the complete details that how to create workflow process which periodically examines one database table??
    also it will send email to specific address if certain condition is not fulfilled??
    help is really appreciated
    thanks nd regards
    manish singla

    Hi,
    I'd be wary of using a WAIT activity, since this will essentially have the workflow running forever in the same SQL session. If you ever need to shutdown the database, then you would have to kill the session (or do a shutdown abort), which will rollback all the Workflow transactional data.
    I would leave the polling logic to a process outside the Workflow engine. In an Applications environment, this should be a Concurrent request. If this is standalone Workflow, then schedule something using DBMS_JOB. The job should check the database, and if necessary, initiate a new workflow to send the notification.
    If the notification does not require a response, then I would be inclined to bypass Workflow competely, and have a job which calls UTL_SMTP to send an email.
    HTH,
    Matt
    Alpha review chapters from my book "Developing With Oracle Workflow" are available on my website:
    http://www.workflowfaq.com
    http://forum.workflowfaq.com

  • How I can auto approve pending workflow process, once month end proces

    I have created workflow process for timesheet approval.
    I want to auto approve all pending timesheet (i.e (default notification timeout is 7 days) notification send to approver, but still not approved) in Oracle workflow Process, when Month end process started
    Month end process will initiate a flag in pending timesheet header table with process started

    I am not sure if I understand your requirements completely.
    1) If your requirement is that all the pending timsheets have to be approved by month-end (not really when month-end process starts) then set the Timeout of the notification to Absolute Time of end of that month... so that by the end of the month the background engine will pick it up.
    You may design the approval notification within a Sub-process with RESULT attribute of Approve / Reject. Design a Timeout transition for the Notification Activity within the sub-process that will go to an END activity that has Approve result. Thus once the notification times out, the sub-process will complete with result APPROVED.
    2) One other way is to respond to OPEN notifications using APIs.
    WF_NOTIFICATION.SetAttrText(nid, 'RESPOND', 'APPROVED');
    WF_NOTIFICATION.Respond(nid);
    You should have queried up all OPEN notifications for Timesheet approval and do this in a loop... which could be time-consuming sometimes.
    Thanks

  • Mass Maintenance will recognize any customer record in workflow process

    Hi gurus,
    Please help me on the Workflow process, how to handle below workflow  scenario,  is there any logic be hand this.
    please see in BOLD workflow issue.
    1.2     As-Is Business Process
    Currently Data Maintenance teams use standard SAP transaction XD07 to change Customer Account Groups. The standard transaction XD07 allows only one Customer Account Group to be changed at a time. The process is to be manually repeated for every customer. After the Account Group is changes in the request client (X07(10)), an RFC call is made to the BOR client (X07(20)) and then to the transaction client  (X08(10)) to change the Customer Account Group as the SAP ALE process does not support Account Group Changesu2026
    1.3     To-Be Business Process
    From time to time, bulk customer data updates will be needed. This can be the result of business situations that cause multiple updates to be performed for given customer fields such as Customer Account Group field. A new program must be developed to let the user mass update the Customer Account Group field (KNA1-KTOKD). The Program should be accessed on demand using a new T.Code (YMDM_ACCTGRP_CHG).
    Business users will submit a spreadsheet in the appropriate upload format to CDM along with written approval from the Food Service data owner to execute the upload in P07. CDM will execute the upload, record all documentation for the audit change log and notify the submitter when complete
    1.4     To-Be Business Process Flow Diagram
    1.5     Enhancement Functionality
    The following are the requirements:
    u2022     This tool will enable a user to perform bulk update to the customer account group field.
    u2022     The utility should let the user upload a u201CTab delimitedu201D file to mass update the Account Group field.
    u2022     The Load File will have 3 columns, Customer Number (KNA1-KUNNR), Current Account Group (KNA1-KTOKD) and New Account Group (KNA1-KTOKD).
    u2022     The Program must utilize the process behind the standard SAP transaction XD07 to change customer Account Groups in X07(10).
    u2022     The standard customer ALE (DEBMAS) process does not support Customer Account Group changes, so the mass change program must use the RFC functionality to change he Account Groups in the BOR (X07(20)) and Transaction system (X08(10)).
    u2022     Workflows for all updates performed using this T.Code are automatically approved.  No manual approval steps will be needed after data load.
    u2022     Mass Maintenance will recognize any customer record that has an open workflow. If a customer record is already in the request queue, it is u201Coff limitsu201D for any bulk update. That update request to that particular customer record must be rejected.
    u2022     Provide the option to run the process in validation mode and update mode.
    u2022     Report all hard and soft legacy field errors on a validation report.  All u201Chardu201D legacy field validations should be passed before allowing update mode to run.
    u2022     The upload process will produce an error log for all records not loaded into the system.

    see newer message. Problem appears to be related to gmail

  • Using Javascript to email a form in a workflow process

    I've created an Acroform which will be routed around in a workflow process.  The user will open the form, add information and hit a button which is coded in javascript usng the mailDoc function.
    It works perfectly EXCEPT that each time the document is forwarded, "Adobe Acrobat Pro.pdf" gets appended to the name of the file in the email.  It doesn't actually rename the file, so the file does open properly, but the email looks pretty goofy.
    Example.  The filename is Form14.pdf. 
    When the third person signs off and clicks the email button, the email is created, with the address, subject line and body of the email completed, and the document attached has the little icon and then
    - Form 14.pdf - Adobe Acrobat Pro.pdf - Adobe Acrobat Pro.pdf - Adobe Acrobat Pro.pdf
    Is there some way to prevent it from concatenating like this every time the document is emailed?
    Thanks!!!

    Maybe you could try it like this... I saw this question answered not too long ago.
    Submit Portal Form Values to Portal Report

  • FTP error in oracle workflow process

    Hi All,
    I have written a workflow process which deletes a file on FTP. The process is deleting the file but is showing a warning message. Does anybody have a idea regarding this. One more thing even if file is not found the process completion status is successful. Its status should be error.
    The ftp site is on the same machine as owb server.
    The following values have been passed
    Command: ftp
    Parameter List: /-A/localhost/
    Success Threshold: 0
    Script: delete filename
    Output Message Received:
    Starting Execution ETN_DELETE_FILE
    Starting Task ETN_DELETE_FILE
    Starting Task ETN_DELETE_FILE:FTP
    Completing Task ETN_DELETE_FILE
    Anonymous login succeeded for [email protected]
    WARNING: Log file truncated - see RAB for further information.
    Completing Execution ETN_DELETE_FILE
    Please let me know about this.
    Thanks & Regards
    Bang.

    I am not saying your method is not correct, but if you give a shot to go with User Defined Activity. Yep that's correct , just write line in a shell script and call that script in user defined activity.
    Property values
    command ksh
    script     pathname with that script file name (/tst/usr/script/filename.ksh)
    or
    command     mv
    parameter_list     pathname with that filename
    I feel this is very simple and easy to manage too.

  • Error has occurred in workflow processing

    Hi All,
    The email notification sent back to employees to notify them that the timecard was submitted successfully is erroring. I looked in the workflow administrator resp and noticed the employee notifications were failing.
    Please see the below error:
    Failed Activity Notifications to Employee (FYI)
    Activity Type Notice
    Error Name WF_ERROR
    Error Message 9004: An error has occurred in workflow processing: 3835: Error '-20002 - ORA-20002: 2018: Unable to generate the notification XML. Caused by: 2323: Message template 'NOTE_EMP' in item type 'WFMAIL' can not be found WF_MAIL.getTemplateName(nid => 882116, n_status => OPEN, n_mstatus => MAIL, t_type => WFMAIL, t_name => NOTE_EMP) WF_MAIL.getTemplateName(882116, OPEN, MAIL, WFMAIL, NOTE_EMP) WF_MAIL.ProcessSignaturePolicy(882116)' encountered during execution of Generate function 'WF_XML.Generate' for event 'oracle.apps.wf.notification.send'.. The stack trace of the error is: WF_MAIL.GetLOBMessage3(882116, WFMAIL, 2323: Message template 'NOTE_EMP' in item type 'WFMAIL' can not be found WF_MAIL.getTemplateName(nid => 882116, n_status => OPEN, n_mstatus => MAIL, t_type => WFMAIL, t_name => NOTE_EMP) WF_MAIL.getTemplateName(882116, OPEN, MAIL, WFMAIL, NOTE_EMP) WF_MAIL.ProcessSignaturePolicy(882116), Step -> Getting Signature policy) WF_XML.GenerateDoc(oracle.apps.wf.notification.send, 882116) WF_XML.Generate(oracle.apps.wf.notification.send, 882116) WF_XML.Generate(oracle.apps.wf.notification.send, 882116) Wf_Event.setMessage(oracle.apps.wf.notification.send, 882116, WF_XML.Generate) Wf_Event.dispatch_internal()
    Can any one help me how to fix this issue?
    Thanks & regards,
    Raju

    Hi,
    You can reset the template in the frontend System Administrator -> OAM -> Workflow -> View Details -> Edit.
    OR
    You can override the template as i mentioned in the prevoius post by including a attribute in the respective message(Refer Workflow Developer's guide for more details).

  • Recommandable Profile Option PO:Workflow Processing MODE (Background/Online

    Hi
    We are using oracle11i 11.5.10.2 on windows 2000 server
    which Value is Recommendable for Profile Option PO:WORK FLOW PROCESSING MODE (BACKGROUND or ONLINE)?
    for PO Approval
    Thanks
    With Regards
    A-Z

    Hi,
    It is advisable to Set "PO:Workflow Processing Mode" profile option to "Background" which is a default value
    If you set it as Online, it completes an entire approval workflow process before letting you proceed to the next activity, but provides you with an updated Status (for purchase orders) as soon as it finishes.
    When this profile option is set to Background, you must start the Workflow Background Engine, which you access through the System/application Administrator responsibility. It is recommended that you set this process to run frequently (Schedule), if you are using it for Background mode approvals.
    /S.P DASH

  • Looking for screen to change Supplier User Registr.. workflow process name

    Hi,
    The question relates to Supplier User Management.
    Does anybody know if there is a page where you can pickup the workflow (the shipped one has internal name POS_REG) process name for supplier registration?
    Thank you.
    Anatoliy

    Hi Bala
    What enhancements were you adding to the Workflow Reassign/Delegate feature, which included being able to add comments? A good idea is to look for any differences between how workflow implements the reassign feature, and your customization.
    Also, make sure you only use the Public documented PL/SQL APIs and do not update the tables directly to ensure no Support or Upgrade Issues.
    Cheers
    Mark
    I am using Stand alone Workflow 2.6, In my workflow process
    which is an Issue tracking system which is working fine. On Enhancement I would like to create my own RE-ASSIGN function which will, Change the ownership of an issue totally to other user.
    For this I Created a package(CHANGE_OWNER.CREATE)which will show list of Users and Comment field(Just like Re-Assign).
    Here user can pick other user, and add comment,
    once submit for that Item key I am updating the workflow notification table so that paritcular issue ownership will be changed.
    In my workflow process I created a lookup code called "Change Owner". On click of Change Owner it will call the Function
    in workflow process which will call CHANGE_OWNER.CREATE, here
    the workflow process supposed to wait and get the User to be
    changed. BUT THE PROCESS IS NOT WAITING, IT JUST DISPLAYED THE
    SCREEN AND CONTINUED THE WORKFLOW PROCESS. I WANT THE MY
    WORKFLOW PROCESS TO BE ACT AS RE-ASSINGN BUTTON WHICH WILL WAIT
    FOR THE USER INPUT.
    HOW TO DO IT.
    Thanks
    Bala.

  • Reusing a workflow process in Workbench ES4

    Can someone tell h ow can I reuse a workflow process that I have created in Workbench ES4?For example, the workflow allows the user to submit a form,……..then a flatten version of the completed form is sent via email to the Form Owner for review. Additionally, the email also includes a link that allows the Form Owner to view the flatten form in SharePoint.

    You have not given a hint what type of problem it is. Why the Workflow is going into error Please analyse the Wflow log and provide information so that we can help you.
    Check in SWIa to analyse Wflow Log.
    Thanks
    Arghadip

Maybe you are looking for

  • HP Officejet Pro All-in-One L7780 Printer installation fatal error "MSI.MSI_BPD.Scan"

    Hi, I run my laptop (an HP Probook) on XP and have was having trouble printing from Word and thought a good starting point would be to check the printer driver was complete and working by uploading the driver from the HP website. However, on trying i

  • Customer aging analysis report layout

    hi experts, i have a client that needs the aging report to display in the following way. when doing an aging analysis for one month, all previous months invoices should be aggregated in one line as an opening balance. Then the invoices for the aging

  • ATI Catalyst Command Center Upgrade

    I have a Pavillion p7-1037cb with AMD Athlon II 645 and I have recently upgraded to Windows 8.  Now it says my ATI drivers are not current. I cannot find from HP download the driver for this machine. Thanks

  • Preventive maint reports

    Dear all I have the requirement is preventive maintenance reports Here they needs Equipment, Operations, Remarks, Cheked By , reason not attended the problems, Abnormal if any, actual time This thing i have communicated to follow thro IW 39 to enter

  • How do i get rid of whitesmoke and conduit

    have managed to get rid of conduit but cant get whitesmoke off firefox and causes me not to be able to view movies on direct tv. there is no place to set search provider on whitesmoke actually no tools at all. Have deleted all versions and uninstalle