PO workflow sends multiple workitem

Dear Experts,
                   I have created a PO workflow, which triggered on change and releasestepcreated events. This workflow has four level apprval.
It is working fine except, after each approval it sends the multiple workitems to 1st level approver. but there should be not more than one workitem in 1st level when workflow is triggered.
Thanks and Regards,
Sohail

Hi Sohail
"it sends the multiple workitems to 1st level approver"
I am assuming that it's same approval, but different work item ID.
Check SWEL (ensure it's on using SWELS) when PO is changed - see if two events are triggered for the PO (one for BUS2012 and other for FREBUS2012). These may be creating two workflow instances instead of one..... if that is the case, solution is in the following thread: http://scn.sap.com/message/15027373#15027373
Regards,
Modak

Similar Messages

  • Workflow sending multiple emails

    Workflow sending multiple emails.
    I had created the workflow for document library (ABC)
    The document library ha 2 fields
     1. Employee Name
     2. Resume Type
    Document Library Settings are as shown in the screenshot.
    My workflow settings are as shown in the screenshot:
    When I upload a document, workflow is sending 2 emails.
    How to resolve to send only 1 email. Any help will be appreciated. 

    Hi,
    According to your description, my understanding is that the workflow you created sent two emails instead of one emails if you uploaded a document to library.
    Could you provide the actions that you used in the workflow or a screenshot about your workflow?
    Please add a step at the end of your workflow which will pause the workflow for a few minutes and test whether this issue occurs.
    Here is a similar post:
    https://sharepointnomad.wordpress.com/2013/05/09/solved-sharepoint-2013-custom-workflow-generates-duplicate-email-notifications/
    Best Regards,
    Dean Wang
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • How to send a Workitem to User Group through WorkFlow

    Hi,
    I am developing a WorkFlow, in this i have an issue that i have to send a WorkItem to User Group on Certain condition. On Agent Assignment I want to assign User Group not a single or multiple Users.
    Could anyone resolve this issue. How can i resolve in WorkFlow.
    Harkesh Dang

    hi Harkesh,
    During agent assignment use Organizational unit -> All users in that organizational unit will receive workitem.
    Use Role -> All users having that role will receive workitem.
    Use Job/Position -> All users assigned to job/position ca receive workitem.
    Or else use expression -> Pass the user name through some selection criteria using a background method. Loop it. Create a task and workflow container and make sure that in properties tab multiline is checked.
    Hope it works.
    Regards,
    Raj

  • SharePoint 2013 - SPD Custom Workflow keeps sending multiple emails for a single Task

    I have a workflow triggering on List item created only. There are multiple stages in the work flow and in each stage a single task is assigned to a group of people. Currently group is only having one user i.e. my own test user with a valid email address.
    Workflow was running fine for first 5 runs but now it keeps sending multiple emails for each task multiple times and runs very slow. I have only single workflow in development server with 24GB RAM.
    Enabling the Workflow log in Event viewer does not show any error or warnings. The only clue I see is WorkFlowManager Database table "DebugTrace" having multiple entries showing that WF is trying to send same email multiple times with failed attempts,
    but in reality emails are being delivered as well.
    http://server/site/_vti_bin/client.svc/sp.utilities.utility.SendEmail Retry sending email in xx.xx.xx Status: HTTPRetrying
    http://server/site/_vti_bin/client.svc/sp.utilities.utility.SendEmail Retry sending email in xx.xx.xx  Status: HTTPFailed
    I could not get the exact phrase as I don't have direct access to development machine at work.
    Any help or guidance will be highly appreciated.

    Yes, I have on-premise SP site, and here is the actual log I see in DebugTraces table.
    Message              Level     Name    Category
    Attempt 1 of the HTTP request to 'http://site/collection/_vti_bin/client.svc/sp.utilities.utility.SendEmail' failed with response '<Exception.
    No Status Code>'.              2              HttpRequestFailed          Http
    Attempt 2 of the HTTP request to 'http://site/collection/_vti_bin/client.svc/sp.utilities.utility.SendEmail' will be made in 00:00:06.            
    2              HttpRequestRetrying     Http
    Attempt 2 of the HTTP request to 'http://site/collection/_vti_bin/client.svc/sp.utilities.utility.SendEmail' failed with response '<Exception.
    No Status Code>'.              2              HttpRequestFailed          Http
    Attempt 3 of the HTTP request to 'http://site/collection/_vti_bin/client.svc/sp.utilities.utility.SendEmail' will be made in 00:00:07.            
    2              HttpRequestRetrying     Http
    Attempt 3 of the HTTP request to 'http://site/collection/_vti_bin/client.svc/sp.utilities.utility.SendEmail' failed with response '<Exception.
    No Status Code>'.              2              HttpRequestFailed          Http
    Attempt 4 of the HTTP request to 'http://site/collection/_vti_bin/client.svc/sp.utilities.utility.SendEmail' will be made in 00:00:09.            
    2              HttpRequestRetrying     Http
    Attempt 4 of the HTTP request to 'http://site/collection/_vti_bin/client.svc/sp.utilities.utility.SendEmail' failed with response '<Exception.
    No Status Code>'.              2              HttpRequestFailed          Http
    Attempt 5 of the HTTP request to 'http://site/collection/_vti_bin/client.svc/sp.utilities.utility.SendEmail' will be made in 00:00:13.            
    2              HttpRequestRetrying     Http

  • Multiple workitems in workflow

    Hi, I've created a multiline element in a workflow container which contains n amount of users.  I have a workflow activity which uses a task which sends the workitem out to all the agents specified in the multiline element.  So far so good.  However as soon as one of the agents executes the work item it is removed from the inbox of the other agents.  I need all agents to execute the same work item or else it will be processed by deadline monitoring.  This must be possible.  Does anyone know how to ensure that 1 work item distributed to 'n' agents is executed by all agents, not just the first?
    Thanks in advance,
    Kevin

    Define the multiline container element to the activity under OTHER tab "Dynamic parallel processing with a multiline container element". Also read the multielement description written in Other tab.
    In the Binding from task container to Workflow container
    If the task container does't has multiline container element then do the binding as follow
    TASk Cont<----
    WORKFLOW
    Approver----
    &AUTHORIZERS<b>()</b>&
    In that case SAP will send separate workitem to all agents and system will not execute next workitem unless all agents approve it.
    Regards
    Aman
    Message was edited by: Amandeep  Singh
    Message was edited by: Amandeep  Singh

  • Want to create a workflow with multiple reminders mail

    Hi Gurus,
    I have created a workflow,will  trigger  when a user status is changed.It will send a mail to next level person for approval.( I am only using a event,and send mail .because in my case it is not complesary
    to go to sbwp.Sending mail itself is enough.)
    So now they want reminder mail for each level.the reminder mail should go,each 2 days once till he approved.
    Is there any task?
    How can i send multiple reminder mail,on by one till approved.
    waiting for your reply..
    Rgds,
    Niji

    Hi,
    Thank you..Now it is working perfectly.
    Is it possible to terminate this reminder loop with a event.In the dummy task we have the option for terminating event.i tried this but the loop is terminating only if i approved in business workplace.
    is it posible to terminate  the reminder loop without goning to business workplace.
    when i am creating terminating event the error is comming as
    "Indicator "Event Parameter" missing in BOR method DUMMY".
    pls help me out..
    Rgds,
    NIji
    Edited by: niji saravanan on Jan 13, 2009 2:14 PM

  • Is it possible to send a Workitem to Outlook??

    Hi,
    I know we can send a notification mail to Microsoft Outlook.
    I have this requirement for PO Release workflow. the user wants to have a workitem in Outlook inbox.
    Can we send a workitem to Outlook inbox? I am working in ECC 6.0.
    Thanks
    Jayanthi.K

    Hi Jayanthi,
    If you found the solution well and good or else you can use the report RSWUWFML2 to save a variant and later schedule the report. The agents assigned to the tasks should have the email in the user master record.
    The user will be able to execute the workitem from outlook.
    Hope this helps!
    Sudhi

  • Re : Multiple Workitem Execution

    Hi ,
           I'm using sap 4.7  and created a workflow for plant wise material release .
    I would like to execute multiple workitems in one go.  Just gone thru postings in SDN ,  SAP Help  and  i could not able find much information on this topic.
    Do we need any programming to be done for executing multiple workitems ( of sam type ) . 
    Looking for  your views...
    Regards,
    Vijay

    hi,
    check this thread:
    Group many related workitems into one workitem for approval
    kind regards, Rob Dielemans

  • Workflow triggered. but workitem missing

    Hi ,
    Following is my problem
    Workflow is triggered. when displayed workitem from SWI1 , the dialogue workitem status is ready in user's inbox. But the user is unable to see the workitems in his inbox.
    Please Note:  The workitem has been farwarded to the user. And the workitem is missing in the inbox. even though it shows ready status in SWI1.
    Please help.

    Please try following....
    1. Single Click on the task .
        From Menu bar select 'GOTO' --> 'Agent Assignment for Task'
        You will find the 'Attribute' button.
        Click on 'Attribute' button.
        Select 'General Task'.
        Now re-trigger the workflow. Hope that workitem will be availabe to users inbox.
    2. If u are using 'Expression' to send the workitem to corresponding user. Please add leading 'US' before the user ids.
    Thanks
    Sanjay

  • Workflows sending duplicate emails.

    I have many workflows that send 2+ email notifications. Sometimes it's a brand new wf - or sometimes I've had a wf working fine for months, then I edit the email part (add a email address or add to email message body - NOT edit the wf) and it starts sending multiple email notifications. Sometimes if I recreate the exact wf - it starts working fine -- but not always. Do you have any suggestions. Thank you.
    The workflow didn't work with SalesStage -- but when I changed it to SalesStageId it worked... Thank you!
    Edited by: user9978914 on Jun 22, 2010 9:56 AM

    yes! It is an Opportunity record - 'when modified record is saved' workflow -- it was this:
    [<SalesStage>] = 'Closed/Won' AND [<OpportunityType>] = LookupValue("OCCAM_OPPTY_SALES_TYPE", "Software") AND [<IndexedPick2>] = LookupValue("OCC_INDEX_CUST_LOV_OPTY_2", "IBM") and worked fine for a long time.
    Then I added a new email recipient (did NOT alter the wf)-- and it started duplicating. I changed the wf to:
    [<SalesStage>] = 'Closed/Won' AND [<OpportunityType>] = LookupValue("OCCAM_OPPTY_SALES_TYPE", "Software") AND ([<SalesStageId>] <> PRE('<SalesStageId>')) AND [<IndexedPick2>] = LookupValue("OCC_INDEX_CUST_LOV_OPTY_2", "IBM") and it seems to be working now - only sending one email. The ([<SalesStageId>] <> PRE('<SalesStageId>')) was the only thing changed.

  • Sending multiple request approval at one time

    Hi,
    Im working on a senario thats sending multiple request approvel at one time with HWC application. For example , client approves one request and it approves multiple requests at one time as well. Is it possible make this with HWC ?
    Thanks in advance.

    If you have a list key, it'll have child MessageValueCollection keys (specifically, the value of that list key will be an array of MessageValueCollection objects). Each MessageValueCollection has a state, "add", "update", "delete" or empty. By specifying mappings between list key actions and MBO operations, or by doing so manually in the WorkflowClient.xml, you can specify which MBO operation will be invoked for each "add" MessageValueCollection, which MBO operation will be invoked for each "update" MessageValueCollection and each "delete" MessageValueCollection when the message is submitted to the server via an Online Request or Submit Workflow, where it will loop through the MessageValueCollections and execute the appropriate MBO operation for each.
    In the tooling, you can do this by having a listview bound to that list key and having subsequent screens that invoke Add/Update/Delete List Key Collection menuitems.  In that scenario, when you update the rows in the listview, the effects don't occur immediately, but rather wait until you submit them as a batched operation, which will behave as described above.

  • Sending Attached workitem to others ????

    Hi,
    My actual requirement is when Milestone is created in tcode CJ20N, it should send a mail that Send concorrence note. The guy will attach the note and it should come back to first person who created milestone.
    I've used the Task TS11200125 for creating the attachment and add to workitem.
    Now, how can i send this attached workitem to the first person ??

    Hi,
    To achive your requirement following needs to be done
    1. Develop a custom workflow with following steps
          a. Send Mail to the person responsible to add attachment
          b. Send Workitem to person responsible to add attachment, this will have 2 options  1. Send it to Mile Stone Creator 2.Cancel and Keep in Inbox ( this will come by default, as we are aware)
          c. Send next workitem to Milestone Creator
    In b, when workitem comes to user, when he executes the workitem, on the top right you will see an option button 'Create' with attachment symbol. By clicking this user can create any note/attachment. This will get add to workitem automatically and it will carried forward to all subsequent workitems also. After adding attachment he/she should click on 'Send it to Milestone Creator'.
    Step c, will send another workitem to Milestone Cretor. He will able to see the attachment which was added by earlier User.
    2. Associating the newly developed workflow with Milestone Creation's action
       a. you should have the milestone Usage Type as 'Milestone Functions'.
       b. In Functions Tab of milestone, you have an option called 'Start Workflow Task'
       c. Select this option and click on 'Parameter'. In Paramter you can define when to start workflow based on status ( say CRTD) and which workflow to start , you have mention your custom workflow number developed as above.
    No need to use TS11200125, infact its better to use standard workitem functionality to accept attachments.
    Hope this helps you !!
    Regards
    Krishna Mohan

  • Sending multiple email for free goods item category??

    Hi,
    we have requirement to send email (Z report in smartforms) automatically when sale order save in tcode VA01/VA02.
    we made reqd config in tcode NACE and we set access sequence on ORDER TYPE and it's working fine. but the problem is that when order booked for item category free goods it sends multiple emails. (i.e. no. of line items = no. of email) for one order no. All other item category is working fine. only problem with the free goods.
    I am an abaper. all config are made with the consent of SD consultant.
    pls help.
    thanks
    Radhashyam Sahoo.

    If you are an ABAPer, then it sounds like you simply need to debug the processing to identify where/why the fault occurs.  As for the NACE settings, you should understand the config as well as your functional counterpart.  It will make you a better developer and help you understand the processing code.

  • I have tried a lot to find an app or some way in email to attach multiple of pdf files in one email. I could not find anything that sends multiple pdf file in one email and still keeping the file in simple pdf format for the recipient.

    I have tried a lot to find an app or some way in email to attach multiple of pdf files in one email. I could not find anything that sends multiple pdf file in one email and still keeping the file in simple pdf format for the recipient.

    I am not aware of a way except for photos that allows you to select multiple files in an email. I even checked settings in the Adobe Reader app, and it does not show that ability.

  • Sending multiple files using one socket

    Hi guys
    I'm working on a simple app that sends multiple files over LAN or I-NET. The problem is that the app run seems to be non-deterministic. I keep getting this error on the client side:
    java.io.UTFDataFormatException: malformed input around byte 5
            at java.io.DataInputStream.readUTF(Unknown Source)
            at java.io.DataInputStream.readUTF(Unknown Source)
            at service.DownloadManager.storeRawStream(DownloadManager.java:116)
            at service.DownloadManager.downloadFiles(DownloadManager.java:47)
            at manager.NetworkTransferClient$1.run(NetworkTransferClient.java:104)The byte position changes every time I run a transfer. The error is caused by this line: String fileName = in.readUTF(); Here's the complete code:
    Client
    private void storeRawStream() {                               
            try {
                FileOutputStream fileOut;                       
                int fileCount = in.readInt();           
                for(int i=0; i<fileCount; i++) { 
                    byte data[] = new byte[BUFFER];
                    String fileName = in.readUTF();               
                    fileOut = new FileOutputStream(new File(upload, fileName)); 
                    long fileLength = in.readLong();                                 
                    for(int j=0; j<fileLength / BUFFER; j++) {
                        int totalCount = 0;
                        while(totalCount < BUFFER) {                       
                            int count = in.read(data, totalCount, BUFFER - totalCount);
                            totalCount += count;                 
                        fileOut.write(data, 0, totalCount);
                        fileOut.flush();
                        bytesRecieved += totalCount;                                  
                    // read the remaining bytes               
                    int count = in.read(data, 0, (int) (fileLength % BUFFER));                                        
                    fileOut.write(data, 0, count);              
                    fileOut.flush();
                    fileOut.close();      
                    transferLog.append("File " + fileName + " recieved successfully.\n");  
            } catch (Exception ex) {
                ex.printStackTrace();
        }Server
    public void sendFiles(File[] files) throws Exception {
            byte data[] = new byte[BUFFER];
            FileInputStream fileInput;                                       
            out.writeInt(files.length);              
            for (int i=0; i<files.length; i++) {   
                // send the file name
                out.writeUTF(files.getName());
    // send the file length
    out.writeLong(files[i].length());
    fileInput = new FileInputStream(files[i]);
    int count;
    while((count = fileInput.read(data, 0, BUFFER)) != -1) {
    out.write(data, 0, count);
    bytesSent += count;
    fileInput.close();
    out.flush();
    Does anybody know where's the problem? Thanx for any reply.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Send the length of each file ahead of each file, with DataOutputStream.writeLong().
    When reading, read that long, then stop reading bytes when you've read exactly that length.

Maybe you are looking for

  • How do I start Java? I'm a novice.

    I got a java book and just downloaded JDK 5.0 Update 3. After installing it, I couldn't find a way to start the program. There's no icons or exe. files that can do that. I was just going to try to type in some simple samples from the book. Now I can'

  • TS3367 Can't get sound on face time

    Can't hear the other person I'm talking to on face time

  • Function Module in a Generic Function Module Extractor

    I want to use a generic function module (ZFM_CONNECTION_DETAIL) in a Generic Function Module based Extractor. After Creating, I have checked it in RSA3... Data is showing properly on the Extractor Check. And replicated on BW side, after triggering th

  • Spring-jmx enabled with Jboss getting Exception

    Hi all, I am using JMX with Jboss , I am getting follwing error frequently please help me.if i re-start the server this problem will not be ther. exception javax.servlet.ServletException: Failed to invoke operation org.jboss.jmx.adaptor.html.HtmlAdap

  • Keyboard Shortcut for Apple Logo Character?

    I used to know the keyboard shortcut to place the apple logo character into documents, but seem to have forgotten it. Anyone know?