Performance approving a notification

We have a problem with the performance of Oracle workflow. I have worked with workflow at other companies and never experienced this problem, so i think it must be some kind of setting.
Setting: workflow APINV, approve a payables invoices, AME is also used.
When we open a notification and try to approve the notification it takes more than 15 seconds for the notification to get approved. In the left of the bottom of the browser i see the workflow is trying to contact the jsp for approval, but for some reason it takes a long time. After the jsp is found the approval is executed immediately.
Is there anybody who have faced a similar issue and knows about a possible cause?
Maybe it is a coincidence but the performance when opening a workflow with the workflow builder is very slow. I don't know if this is related.\
Any help/ suggestion is welcome!
Kind regards Jordy Arbouw

Hi Jordy,
This may be a perception issue - the workflow could be performing a lot of complex processing once the notification has been responded to. This will take place in the same database session as the user, until it hits a point after which the workflow cannot progress.
If you are in a development environment, try customizing the workflow and drop in a standard defer activity after the notification. This will force the workflow into the background (you will need to schedule a background engine to progress the flow further), but will at least point you to whether the system genuinely is slow, or whether the workflow is running some extra logic while the user is still connected to the Workflow engine.
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
NEW! - WorkflowFAQ Blog at http://thoughts.workflowfaq.com

Similar Messages

  • Adding more info to PO Approval WF Notification

    I’m a newbie at workflow and I have a requirement to customize PO Approval workflow Notification this means Notification will have more information than Oracle seeded notification information, by adding additional information to the notification email that is sent out (such as freight terms etc.).
    Having reviewed most of the workflow processes and corresponding packages, I’m unsure in which of the WF process/pkg to implement the change and what steps to follow in order to add /implement it accordingly.
    Any guidelines on what steps to follow is much appreciated in advance.
    thanks
    dbarookie

    I believe this is more of a PO question than WF question. PO uses Oracle workflow to route documents for approvals and performs various business transaction to transform the document. Following are some of the ways notification content is generated in workflow.
    1. Boilerplate text and message attribute tokens.
    The notification content is generally standard with some variable content. Tokens are used for the variable content alone whereas rest of the content is typed into the message body when designing the workflow.
    2. Document Type message attribute
    The notification content could change drastically based on various business scenarios and recipient of the notification. For such a situation the complete content is being generated using a PLSQL Document Message attribute. The notification body at design time would look like &MESSAGE_BODY which is related to a PLSQL procedure that will generate the complete message.
    Now, coming to the PO workflow scenario, the PO approval notifications are generated using a PLSQL Document API within PO_EMAIL_GENERATE package. There are procedures GENERATE_HEADER, GENERATE_HTML that generates the content. You may want to look at these procedures to customize.
    Hope this helps
    Thanks.

  • Cannot approve the notification in production

    Hi ,
    When user tries to approve or perform any action on non stock requisition in Production instance , It is throwing an error 3138: action cannot be performed ,contact system adminstrator.
    The same notification is working fine in Support instance.
    FYI : we regularly clone production in to support everyday.
    And this problem exists for a particular user.
    The above error message is hanlded in a custom package, when we try to debug the code , every thing seems to be working fine.As this is as urgent issue Plz respond asap.
    Thanks
    Murali

    This error is shown if the post-notification function associated to the notification activity returns a result ERROR. This post-notification function belongs to the Product that owns the workflow. If the notification is sent from Oracle iProcurement that it is the Procurement team that has written the post-notification function.
    Within this post-notification function, a certain validation is performed when the notification is responded. This validation seems to fail that Procurement code communicates to the workflow engine that shows this error message.
    Please look at the post-notification function code for more information.

  • I want to send notifications to outside(i,e mail box) from oracle, and users will approve the notification from email

    Hi
    I have a client required to send notifications to outside email box, and also user will approve this notification through email.(i,e not logged into oracle and approve it) in 11i instance.
    i need to send mail from po department to finance department
    once finance department approves , then mail back to po department that your notificaiton approved.
    from address:=[email protected]
    to address:=[email protected]
    as part of this we did IMAP set up
    and used the following code. and getting the notifications from Oracle to my mail box.
    my main issue is when user approves the wf notifications, it is not showing my specified email address in the attribute #WFM_REPLYTO, always it is showing the IMAP set up wfdev address
    what is the value i need to use for this #WFM_REPLYTO
    eventhough i am sending the to_address email id to the following attribute(wf_engine.setitemattrtext), the workflow approval not working for that email id.
    only if i am using the '[email protected]' in the imap set up, then only approval is working.
    how can i override this to_email address value([email protected]) to my desired email address?
    wf_engine.setitemattrtext (itemtype => l_item_type,
    itemkey => l_item_key,
    aname => '#WFM_REPLYTO', -- to_ address
    avalue => '[email protected]' -- [email protected]
    if any body having some sample code related to this please share on this.
    Thanks
    sam

    Sam,
    Can you find any errors in the Workflow log file?
    Please review the following docs.
    Setting Different Values For Attributes #WFM_FROM & #WFM_REPLYTO Does Not Happen Or Results In SAXParseException (Doc ID 1455191.1)
    How To Change The Default From and Reply To Email Address For Workflow Email Notifications (Doc ID 760477.1)
    Thanks,
    Hussein

  • PO approval workflow notification

    Hi Consultants
    i am requested to add requisition action history to PO approval workflow notification.
    i undestand that we may need to add document attribute to PO approval but how can create this one.
    Please advice me.
    Thanks,
    Ashok

    Thanks for your reply Alejandro.
    We already have custom/Statndard action history document type attribute.
    Now i need to add the Requisition action history for PO notification.
    Can you please advcie(steps if it is posible) to create a my own custom attribute document type to get the requistion action history based on the PO document id.
    I was able to quey the Requistion information not getting somme difficulty to create a customer document typ attribute.
    Please advcie me.
    Thanks
    Ashok

  • OIM 11g Approval Workflow Notification Configuration

    Dear All,
    Is there any documentation guide or tutorial or step by step guide about how to configure approval workflow notification in oim 11g?
    In my case, a request must be approve by 3 (three) level of approver, "Requester Manager" --> "Application Business Owner" --> "Application Administrator". On each level, a notification need to be sent to the approver contains all information about the requester and the resource that requested.
    How can i configure the notification since approval processes are in SOA composite and the development of the workflow is using JDeveloper?
    Many Thanks for your help.

    Hi
    Please go through the link, You can configure notification any time based on you requirement. You have to get emails to whom you want to sent, just set this mail in a variable. Use this variable as to ,..
    http://docs.oracle.com/cd/E23943_01/dev.1111/e10224/bp_notif.htm#BABEDFCC
    Thanks,
    Kuldeep

  • Assign a user as a performer of a Notification

    Is it possible to assign a user as a performer of a Notification Activity?
    I want to assign an attribute as a performer and before executing the notification I will call a PL function to assign the user performer.
    For example:
    Start ----- getUserPerformer() ----- NotficationX ------ end.
    I know that it is possible assigning roles but can I use a user name defined in the directory?

    In the PL Function I want to do something like this
    assign a user as a performer of a Notification:
              wf_engine.SetItemAttrText (itemtype     => itemtype,
                        itemkey      => itemkey,
                        aname           => 'FORWARD_TO_USERNAME',
                        avalue          => l_forward_to_username);

  • Issue in a custom workflow with Approval Type Notification. Urgent

    Hi
    I have created a custom workflow which contains an approval notification.
    If the user approves/rejects the notification I need to update a table column as Approved or Rejected.
    I have created a function activity,say X, which calls a PL/SQL procedure.
    The issue is,
    when the user approves or rejects the notification, the function X errors out even without entering the PL/SQL procedure.
    Following is the error message
    An Error occurred in the following Workflow.
    Item Type = XXYH_UMX
    Item Key = 55
    User Key =USERKEY:55
    Error Name = -6502
    Error Message = ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    Error Stack =
    Wf_Engine_Util.Function_Call(XXYH_UMX_WF_PKG.is_resp_assigned, XXYH_UMX, 55, 242407, RUN)
    Activity ID = 242407
    Activity Label = XXYH_UMX_ASSIGN_RESPONSIBILITY:XXYH_UMX_RESP_ASSIGNED
    Result Code = #EXCEPTION
    Notification ID =
    Assigned User =
    If I go the function from any other function,say Y, (bypassing approval notification) it works fine.
    Can you please help me what could be the issue?
    Thanks,
    Kamath.

    The danger in putting in one activity is that if there is any scope longer-term to expand the process to multiple activities, then it may be better to break it out into a sub-process early in the design phase.
    Generally, you get the feeling from the client fairly early on about whether they have a final design and how likely they are to complicate the process later on :)
    I wouldn't include it as a post notification function myself - it saves a tiny amount of processing time and database space, but at the cost of making it less clear what is happening. Plus you'd need to check the result in the PNF manually - putting it on a conditional branch ensures that you always know what the value is. If the lookup type changes at any stage, you would need to check a PNF to ensure that the code still remains valid; if it's on a branch then the only thing to change would be to change the label on the branch.
    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

  • Payment Approval with notification SDK

    Hi,
    I need to create with SDK a payment approval procedure, when the user using a date filter get all the payments check its and click ok.
    When this step is done. I need to send a notification to the user added in the approval procedures, how do I?
    Thanks

    Hi Pablo,
    Not sure to understand the need, neither where the SDK is involved.
    Even if it's possible to create approval procédures thru SDK, the fact that they are triggered is managed by B1...
    For the first point (checking payments), I would perhaps suggest a functional way to handle it: the first person saves the payment as a draft (check to implement, i.e. in the TransactionNotification stored procedure) and after validation, the second posts it... And it goes thru the approval process.
    And by doing these two, you are staying fully Inside the standard processes...
    Where do your needs differ from my understanding?
    Regards,
    Eric

  • GL Journal approval- Send notification to multiple approver

    Hello
    I want to send GL journal approval notification to multiple approver, once any of the approver approves the journal it should be removed from worklist of all approver. How can we acheive this?
    Pls help
    Thanks
    Avalon

    Hi
    What i am sure of is that you can have specific groups for your journal approval and each of the groups can have specific approvers.
    When i say the above line, i mean that you can have groups like Treasury, Finance and Payroll and each of them have their desiganated approvers.
    Then the level of journal preparer who can also fall to a specific group.
    Once the journal preparer belonging to a specific group prepares a journal, it will route to the journal approver belonging to the specific group.
    I am not sure about whether you can create approval groups and also if you send the journal for approver to multiple approver, than how the other approver will come to know that the journal is approved or rejected or whether has the other person taken any action - it will create dependencies between the 2 person and hence might create confusion.
    So i am not sure about the resolution for your question.
    But if the approach suggested by me matches your requirement, i can forward you the document which contains the step you need to do to achieve the functionality,
    Hope this helps.
    Thanks and Regards
    Manish Jain

  • Troubleshooting PO Approval Workflow notification

    Hi All
    Some of the iSuppliers are not receiving the PO Approval notifications from the Workflow process.
    Any ideas/suggestions to debug this issue will be highly appreciated.

    Hi,
    Can you please confirm the Workflow Mailer Service is up and running. In addition, to better assist you troubleshooting please check the workflow mailer log for more information and post them here.
    Please also see:
    R12: PO Approval Analyzer Diagnostic Script (Doc ID 1525670.1)
    How To Diagnose and Troubleshoot Problems In Procurement Workflows Using Scripts (Doc ID 374428.1)
    If you can check the log file and/or the diagnostic files and provide us with some information we will be able to better assist you.
    Thanks &
    Best Regards

  • PO change version Approval/Rejection notification to requester

    Dear SRM Gurus,
    We are in stand alone scenarion of SRM 7.0 using process controlled WF.
    We have received an request to send out notification on approval / rejection of and PO change version.
    The PO's are created automaticaly from approved SC's and only the PO change triggers the approval WF.
    I've already checked the IMG: SRM server > cross application > Event and event schema for alert management.
    1. Define events: BUS2201 Purchase order is present with APPROVAL_PROCESS_DOC_APPROVED and APPROVAL_PROCESS_DOC_REJECTED
    2. Define event schema for obj. type BUS2201 event schema PO the APPROVAL_PROCESS_DOC_APPROVED and APPROVAL_PROCESS_DOC_REJECTED with subcategory event APPROVAL_RESULT_NOTIFIC_NEW are set to event category NOTIFIC Message.
    3. Define Recipient of notifications: PM Approve change version of purchase order - User Role CR contact person the options rejection and approval of application object are selected.
    The users I'am using to test are the same as those who receive notifications for SC rejection/approval so I guess it's not connected to SU01 or PPOMA settings.
    Still I don't see notification sent via SOST.
    Any ides what I could check next please?
    Thanks in advance for you help.
    Michal

    Hello Michal,
    did you give the event schema created to corresponding transaction type ?
    If you are expecting to receive notification during approval workflow, check OSS note [1395980 - No notifications of approval sent during approval process|https://websmp101.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=1395980&_NLANG=E]
    For PO, you can also check OSS note [1572957 - PO change version reject notification not sent|https://websmp101.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=1572957&_NLANG=E]
    Regards.
    Laurent.

  • Approval email notification not routing to an approver

    Hi Experts,
    For a certain PO value range there are existing approvers. We have added an additional approver to the PO approval matrix. Now, while changes are done for a PO the approval email is not going to the added approver. Instead it will send a mail notification twice to one of the existing approvers. 
    The added approver appears in SRM approval preview, aslo we find the approver in the workflow agents. In addition the approver gets the PO in the SRM inbox for approval, but only the email notification is not sent to this approver.
    Any pointers to solve this issue.
    Thanks in advance,
    Francis

    Hello,
    Workflow approbation e-mails are taken from BP transaction. If there is no information there, e-mails are taken from SU01.
    Some extra customising has to be maintained in order to have notifications sent out as an email:                                                                               
    - Set the attribute FORWARD_WI for the requester;
    - In SO16, tab "Mail Sy.Grp", select "Send to home address of users".        
    Kind regards,
    Ricardo

  • OIM 11g Approval Workflow Notification questions

    Hello.
    I am working with an OIM 11g approval workflow. The workflow will flow from one group to another, and if one user in each group approves it, it is approved. Because I assigned it to groups, the notifications are going to every user in each group.
    Is it possible to send a notification to only a single user within a group, instead of everyone? Does auto claim do this?
    Is it possible to send a different notification if the ApprovalTask is rejected versus approved?
    Thanks.

    If I understand correctly, you want to send the notification only to the user who has approved the request and not to all in the group. You can do it by NOT using the notification tab in the .task but by using EmailNotificationService after the .task in BPEL. There you can read the data from payload on who approved the request and can send the notification only to that user. Same way for rejects. You can configure that.
    1. After your .task completion you can have a decision box which can check the value for 'outcome' and then direct it to appropriate path for appropriate notification.
    or
    2. Based on outcome you can set the template in a variable and then in the notificationservice use that variable.
    -Bikash

  • Workflow in Solution Manager for approval and notification

    hi@ll
    i want to know if there is a function or customizing feature for implmenting these two kinds of workflows in the solman:
    -for notification: if the status value of a document in the SOLAR01/02 will change, can automatocalliy be sent an email?
    -for approval: ChaRM?
    thank you
    Marco

    Hi Marco,
    In answer to the first question, for SOLAR01/02, no standard setting is available. It's got to be custom built, if the project budget allows
    As of SolMan 7.0 Enterprise Edition, it seems there are some preconfigured Workflows.
    I am hopeful that they are talking of what you seem to want. Please check page 9 of 14 of [this|https://websmp208.sap-ag.de/~sapidb/011000358700000225832008E.pdf] document.
    If your client is on 'SAP Enterprise Support', you are entitled to get SolMan Enterprise Edition !
    Best regards,
    Srini

Maybe you are looking for