Workflow getting triggered many times

Hi all ,
  I m working on Travel management workflows. I have set the triggering event as BUS2089->Created . But Whenever I m saving a travel request , it is triggering the workflow which is not desired .
  How can this be rectified ???
Thanks ,
Sonu.

See,
I analysed the problem earlier.
I switched on the EVENT TRACE and ran one TRIP CREATION cycle. I can find that BUS2089 - REQUESTCREATED event is triggered. Well, as per our scenario, I changed that Created Trip, and I can still find the BUS2089 - REQUESTCREATED event even for this action also.
And If I am not wrong this workflow gets triggered for BUS2089 - REQUESTCREATED event(refer your Trip WF Basic Data-Start Events).
So, to avoid this problem, I have used a USER EXIT for TRIP to trigger my WF manually.
Please refer the enhancement <b>FITR0003</b> for the TRIP Userexit.
I hope this should clear your problem as myn.
Regards,
<i><b>Raja Sekhar</b></i>

Similar Messages

  • Workitem button is not comming in swel though the workflow gets triggered

    Dear All,
    I have copied the std wf WS20000075 and doing customization for po release as per my clients requirement. Once PO is being created in ME21N i am able to see the event trace in SWEL , but its showing an error , " Import container contains errors (are any obligatory elements missing? " .and no workitem button is comming in SWEL so that i am not able to see the workflow log .
    so that though the workflow gets triggered , i am not able to trace it .
    I have gone through the solutions given in sdn , but i didn't get any solution for my issue.
    Hope to get a positive solution for this soon.
    Thanks
    prabhudutta

    This is error in ECC 6.0 for BUS2012.
    For the time being I am using solution which I have given in this thread but rigid solution is to raise an OSS note.
    I myself will raise an OSS but before would like to debug and find out what it is expecting exactly so i said use SWUE to find what went wrong.
    Cheers
    Jai
    I am having the same error, it goes into error for ECC6.0 version. I have not got chance to see why it is happening?
    any way for the time being you can do this : go to SWE2 and for given business object and receiver type, change the settings of "Behaviour upon error feedback" from "default" to "do not change linkage" so every time atleast event will trigger and so workflow, yeah ofcourse event will be queued in SWEAD. So final solution is an OSS
    NOTE:
    Check this thread, Glauco has given OSS note 797775
    /thread/781604 [original link is broken]

  • How does a workflow get triggered when we create a Shopping cart

    Hi all,
    In SRm how does a workflow gets triggered when we create a Shopping cart...what i mean is that in r/3 we use changedocument object or function modules etc..likewise in srm how the wf gets triggere...can anyone help me.
    Thanks&Regards,
    Hari

    Hi martin,
    yes i accept that in SRM also workflows are all started by event...what i mean is in R/3 we go for Change document object(swec) or some other method for event creation...like that in SRM what is there?Just whenwe create a Shopping cart How the workflow is trigerred...suppose if it is trigerred using fm swe_event_create where they might have called the function module.
    Thanks&Regards,
    Hari

  • Preview of approval chain before workflow gets triggered

    Hi Guys,
         I have a different requirement where users want to see the preview of approval chain before workflow gets triggered. I mean once we enter all the data in transaction, after the data validation is done then they want to see the approval chain. What is the best way to achieve this functionality. your input/ideas are highly appreciated.
    Thanks
    VT

    There is no easy way to do this. Basically the only possibility is to enhance your transaction with a subscreen or a tab where you have to simulate the logic used in your workflow to find agents and show the result of that simulation.
    If you are in a homemade transaction it should be pretty easy to do. If you're in a SAP standard transaction it may become a really tough modification/enhancement.
    Cheers,
    Patrick

  • Workflow getting triggered when added/replace in Mask

    Hi Experts,
    We are using MDM 7.1 SP09 and we are facing an issue of workflow getting triggered when records are added or replaced in Mask..
    ie whenever i am adding or replacing some records in mask workflow is triggered for most of the records ....IF i check the Workflow tab it will show all the steps maintained for that particular Workflow adn then gets deleted automatically...and strange thing is it is happening to a single user id/role and for other role this does not happen
    Can anyone please help me sorting out this issue..
    Regards
    Nitin

    Hi Ravi,
    Today again I checked the scenario once again in production with both user/role and found that workflow is triggered for both users...
    Also I tested in Test environment and issue is same..
    I checked the Perf Tracing and found the below. Please  let me know if these are triggered because of some Java...

  • WorkFlow get triggered even if we set trigger for item update with SPEmailEventReceiver and workflow attached to same Library

    Hi All,
               I have a situation, SPEmailEventReceiver and WorkFlow is attached to same library, WorkFlow is configured to run after item is updated, but soon as the email is received in library the workflow
    is getting triggered, We have a action to create folder with subject and date and put the attachment with the date folder in SPEmailEventReceiver e.g: once a mail is received in library the SPEmailEventReceiver will create a folder with Subject and then Folder
    with Date and then put the attachment in the date folder so hierarchy will be subject folder/Date folder/attachment
    I have tried to alter the SquenceNumber attribute in Feature Element file to 1 and make the Synchronization as synchronous but no luck.

    Hi,
    Here are some articles for your reference:
    Programmatically creating Folders within SharePoint List
    http://www.mindfiresolutions.com/Programmatically-creating-Folders-within-SharePoint-List-487.php
    How to use SPEmailEventReceiver?
    http://kkryczka.wordpress.com/2010/11/05/how-to-use-spemaileventreceiver/
    Attachments disappear with custom email event handler
    http://blogs.msdn.com/b/malag/archive/2009/05/13/attachments-disappear-with-custom-email-event-handler.aspx?PageIndex=2
    Thanks,
    Dennis Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Dennis Guo
    TechNet Community Support

  • Iphone doesn't make a sound alert when get texts many times

    Has anyone else noticed that sometimes you get a sound alert that you got a text and many times you do not?

    Hello, Nina1125. 
    Thank you for visiting Apple Support Communities. 
    I would make sure that you have a Text Tone set in Settings > Sounds.  If your device is witched to silent Text Tones will not be audible. 
    iPhone Buttons
    http://support.apple.com/kb/ta38625
    Ringtones and vibrations
    Cheers,
    Jason H. 

  • Statistics - To get how many time a report has been run

    Hi Gurus,
    I would like to know how many times each of the reports on the portal has been run. If I could get this by user id, that would be great.
    Do you know where I can get such information?
    Regards
    Mathew

    Hi Guys,
    This can not be done throug ST03/ST03N. For this you will have to either use the SAP delivered BI Statistics query which is built on 0TCT_M01 multiprovider. Make sure your data is upto date before you run the query.
    Disadvantage of teh SAP delivered query is, it will not give you result which is older than 24 hrs. So basically it gives you oppourtinity to analyze only last 24 hrs data. If you want to modify the query, you can copy the query and modify as per your requirement.
    Now coming to your question of finding how many times a report is run:
    Question is how many queries do you have in your report. If your report contains one query only, there is free char in the query called Frontend Session. Everytime your execute the query you will have a new Frontend session ID.
    So create a formula as counters for all values and set the exception aggregation based on Frontend session. This will give you the number of times each query executed. If you drill down by Users, you will get this numbers by users.
    - Danny.

  • Event gets triggered Two times everytime

    Dear Experts,
    I am using an event Changed of BOR LIKP(Outbound Delivery). It gets triggered twice. I am unable to find the reason. Please help.
    -Pritam

    Hi,
    Check this [Thread1|Event and Business obejct triggered  twice; & [Thread2|the workflow gets trigerred thrice...;.
    Regards,
    Surjith

  • LSO - Wrong workflow getting triggered

    Hi
    I am using SAP Learning Solution from portal. When the employee applies the course from portal, the system shows a message 'Work flow Cancellation Requested' instead of 'Participation Requested'
    I checked in LSOWF_CUSTOMIZE, the customizing is maintained correctly. The table LSOWF_RUNNING shows that the action type requested as 'CANC' instead of 'BOOK'.
    I checked in SWEHR3 - there is no entry maintained. When I enable the event trace and do the course booking from portal - all I can see is only the even 'ATTENDANCE - CREATED';
    Can you please advice where could be the problem?
    Thanks and Regards
    Kasee Palaniappan

    Thanks for replies. The event linkage is set properly in the transaction SWETYPV.  When I enabled the event trace for workflow and triggered a course registration from portal - there are no events registered in the event trace.
    @ Pavan: I have checked the link, and configuration are maintained as recommended by SAP.
    The problem is, when a course registration is required - it automatically shows - the course is requested for cancellation. This is because the table lsowf_running is having the workitems for those trainingID with WFACTION as 'CANC'
    This means, when I request for a training course and later cancel it - the above said table is maintained with 'CANC' entries. I have not approved the cancellation of the course. If I rebook the course - the course still shows 'Booking Cancellation Requested' because the WFACTION is read for the training ID and the personal from the table lsowf_running.
    Any one has some idea, where could be the problem.

  • Workflow getting triggered even after event deactivation

    Hi All,
    I have created a copy template of standard workflow and activated event for copied template.
    Then I deactivated standard workflow event by clicking in GREEN icon in row where BO and triggering event is linked with workflow.
    Problem is even after deactivation, standard workflow is getting triggererd.
    Is any step skipped for deactvation of event and workflow?
    Kindly guide.
    Thanks.

    Check the event linkage in transaction SWETYPV (it should be similar as in the workflow builder).
    Also make sure that you are testing in the right client. The event linkage is client depended customization. So, if you made your change in client X, they will not work in client Y unless you transport the event linkage customization between the clients.
    Regards,
    Karri

  • Second workflow getting triggered.

    Hi all,
    I have a scenario to reject  a Purchase order. So incorporated a new step to reject the PO(Method used- BUS2012-CHANGE).
    The code to reject the PO is done inside the BADI. Right now the PO is getting rejected and workflow is going to complete state and working fine. But as a significant change is coming in the PO it is triggering a new workflow (Event -Significantly changed). How can i block the second workflow from trigerring? Any Function module from not allowing to trigger the workflow?.
    Thanks,
    Neslin.
    Edited by: neslin on Aug 20, 2009 7:23 PM

    Hello,
    Get the workflow number from event log SWEL which is triigerred for the event 'significantchange'. Open the workflow and deactivate the event linkage to stop the workflow from starting.
    Switch on the event trace SWELS, carry out the process of rejecting the PO. Get the workflows & events that are being triggered in the event log SWEL and carry out the deactivation of event linkage.
    Hope this will help.
    Thanks,
    Samson

  • HT1338 Why do I get so many "time out" connection problems?

    I keep getting "time out" connection problems when I am on computer.  I am also experiencing a lot of "spinning wheeling" issues.  Are they related?

    Hi Garima,
    These are the three I use and I get 1 or 2 updates a day on most days....why?
    Best regards,
    Haye Kesteloo
    ServiceSpider, LLC
    100 Mill Plain Road
    Danbury, CT 06811
    Cell: +1 203 522 6727
    www.servicespider.com

  • PinListener triggers many times with same value, then segfaults

    Hi.
    Trying a simple button listener with RPi connected to a gertboard, whenever I press the button connected to configured GPIO (GPIO3 in this case, since only GPIO2 and GPIO3 seem suitable in order to use internal pullups) I get many notifications. Keeping pressed button raises a segmentation fault very, very soon.
    This is my PinListener implementation:
    public class ButtonListener implements PinListener
        @Override
        public void valueChanged(PinEvent event)
            System.out.println(String.format("Pin %s value changed, now it is %b",
                    event.getDevice().toString(),
                    event.getValue()));
    Sadly, log cannot be captured when there is a segmentation fault, but after many:
    Pin com.oracle.deviceaccess.gpio.impl.GPIOPinImpl@b4900588 value changed, now it is true
    Pin com.oracle.deviceaccess.gpio.impl.GPIOPinImpl@b4900588 value changed, now it is true
    Pin com.oracle.deviceaccess.gpio.impl.GPIOPinImpl@b4900588 value changed, now it is true
    Pin com.oracle.deviceaccess.gpio.impl.GPIOPinImpl@b4900588 value changed, now it is true
    ...i can see on RPi monitor errors like:
    javacall_event_send: write of message size failed : Resource temporarily unavailable
    Any suggestions?
    Thanks!

    Connection is made through gertboard: you can find schematics here: https://dl.dropboxusercontent.com/u/7414592/JavaME/Assembled%20Gertboard%20Schematics.pdf
    Specifically, I left unconnected (i.e. oopen) P1/CON2 jumper and connected RPi Pin3 (marked as GPIO2 on J2 connector of my board, while it is marked as GPIO0 on schematics, due to pinout revision #2 against #1.
    It seems that the problem comes from Pullup setting, that could cause flickering when floating...

  • How to recognize a owrkflow triggered many times through a single trans

    Hi,
    I have a workflow WS923XXXX. Its been triggered from the transaction IE02. On this transaction screen we have two statuses 'APPR' and 'AWAP'. The WS923XXXX can be triggered for both statuses parellely. Now suppose the worflow is triggered for both of the statuses and are in active state. If i want to kill the active workflow for APPR....how would i differntiate the workitems created with respect to APPR. I tried in workflow tables SWWWIHEAD and all but cud not find anything workin out.
    Please help.

    Solved

Maybe you are looking for

  • Dashed or dotted line

    How can I draw a line that is dashed or dotted in word document? I know how to use the tools window, but how do I make the line dashed or dotted? intel iMac   Mac OS X (10.4.6)  

  • Problem with trash function/cannt reset my mac

    i moved two one page word documents to trash but all it gave me was a moving "candy cane" blue/white bar. then i tried to stop it but i still have the moving blue/white bar while it reads "Stopping..." ... and its been like this for ten monutes. now

  • Lightroom 4 issues to where I could not view any images or import.

    I was having major issues with lr 4 and not being able to view any images. All I would see is grey squares where the images should've been and they still had the image data when you hovered over them. I could view the images in every other program th

  • Files taking up too much space?

    I just bought my computer (macbook pro) a couple of weeks ago, and already i have used up 60gb of hard drive space. I took a 3 minute video, and it said on the information that it took up 2.16 gb of space! this is outrageous - and it never took up th

  • SQL Developer 3.2/4EA1 not fully reading TNSNAMES

    Hi, We are using both 3.2 and the 4EA1 versions, and have found that both are not fully reading the TNSNAMES file. In the TNSNAMES file, we have databases that are configured with either SID or SERVICENAME. It isn't excluding databases setup with eit