Correlations in Workflow - wait for Delete event problem

Hi All,
I am working on version ECC5.
I have a workflow that needs to wait for any changes to i0008, i0007, i0509 and i2001 for the person who is the subject of the workflow.  I have used correlations to do this and it is all working fine except for the Delete event.
For each infotype I wait for each event ie. Approved, Changed, Created, ApprovedCancelled and Delete.  When the events are published the wait event is triggered and the workflow goes to the next steps where it does a recalculation,  fires off a new workflow and ends the current one.  This is working for all of the events except Delete.  The Delete event is set up exactly the same as the rest, but somehow the workflow wait event is not triggered.  It is happening with the Delete event for all the Infotypes I am waiting for.
Does anybody have any suggestions as to what may be the problem. 
Thanks
Sandra

Arghadip/Martin thanks for your replies.
Yes, the delete event is being published.  I am using the same object e.g BasicPay for the delete event that I am using for the other events - Approved, Created etc. that are working.   The correlation and the wait for event steps are set up exactly the same way as they are for the events that are working.  I find it curious that the delete event doesn't work for any of the infotypes.   Why?  Could it be that when a record is deleted the object no longer exists?
Any suggestions?
Thanks
Sandra

Similar Messages

  • Shopping Cart Workflow - "Wait for change event" not firing?

    Hi there,
    I have a scenario where if I create a shopping cart above my spending limit it will go into the approver's inbox, that is fine.
    Now if I change the total value of the shopping cart to be within my spending limit the original workflow should be "logically deleted" and a "no step approval workflow" should be triggered.
    I see when the SC workflow triggers it also branches with a "wait for events", so that if it changes etc it will get caught here.
    When I change the SC it does not do anything, the value of the cart changes but it still sits in the approvers inbox and the "no step approval workflow" does not trigger.
    We are busy upgrading to SRM 5.0, it worked perfectly in the SRM 3.0 system we had.
    Any ideas what would cause the "change event" not to fire?
    Thanks for the help
    Lynton

    Hey Masa,
    You are the man!! That solved it.....I have implemented the BBP_WFL_SECUR_BADI and for whatever reason I set the security level to 4 when it should have been 2.
    4     "High" (workflow is never restarted when changes are made)
    3     "Medium" (WF restarted conditionally when changes are made)
    2     "Low" (workflow is always restarted when changes are made)
    1     "None" (changes to the object are not allowed)
    0     "Not defined"
    Thanks for the help
    Lynton

  • Workflow WAIT FOR EVENT STEP deadline not working

    Hi,
    Need some inputs for the experienced people;
    I have a wait for event step in a workflow with deadline monitoring (Latest End) but it doesn't seem to work.
    Ofcourse, all the required setting are in place and deadline works fine for other Activity steps.
    The problem is specific to Wait for event step.
    The alternative is having a fork but I just want to know why the wait step with deadline doesn't work.
    Thanks,
    Roopesh

    Hello Ajay,
    Can you share with us what did you do to solve your problem?
    I'm facing the same thing in my project now, I'm wandering if you could help me with this one.
    I have this wait for an event step wich is configured to wait 4 minutes since the work item creation. I've also selected 'Modeled' on the Action field, and a display text for the outcome.
    But in one of my tests, the event hasn't occurred and the workflow stuck in this task forever.
    Thanks in advance.
    Regards.
    Actually, I think I got this handled. This thread was really helpful to me: http://scn.sap.com/thread/47482
    Message was edited by: Leandro Farias dos Santos Abreu

  • Process Chains Always Hangs at the second step waiting for an event

    Gents;
    all BI process chains created in Production system are always hanging in the second step waiting for an event RSPROCESS with a certain parameter. This issue is happening for all process chains in Production system and it is not happening for the same in other systems in the landscape (development, Copy of porudction, quality and so on). I tried to trigger the event manually using SM62 but the job is always stick to status " released". the same thing was replicated in other systems and the job status has changed and the process was completed.
    Any idea what might cause this issue??
    Thanks.

    Hi,
    You said that this thing is happening only in production system.Try doing the following checks :
    1.Check SM21to see if there are any red entries.It can be possible that there is some data base RFC connection failure.While checking SM21, make sure you give proper selection condition.If there are any red entries, you may take the help of basis guys to understand the type of failure.May be file system has got some problems.
    2.Check St22 and try to analyse if any short dumps.
    3.Try to check Connection with the source system ( Goto RSA1->source system tab->right click on the source system and select check option to find if any errors in the connection.
    4.If possible, try to load manually in some other info provider.
    Thanks,
    Tarun Brijwani.

  • High "CPU + Wait for CPU" event on pl/sql execute operation

    I am executing a pl/sql in 256 parallel sessions, on 11G r2 DB (RAC 2 nodes), on a 42core IBM P7 Machine.
    PL/sql function opens a cursor on a huge table with around 20M rows and does further processing.
    Work-load is equally divided into 256 parallel sessions. 256 parallel sessions are opened by a middle-ware application and each session processes data based on an identifier (there are 256 distinct identifier values).
    PL/sql function is comprised of some SQL operations, on which i am experiencing some cluster waits. But CPU + wait for CPU event on pl/sql execute operation is close to 80% of the total execution time.
    Top user events:
    Event Event Class % Event Avg Active Sessions
    CPU + Wait for CPU CPU 80.88 98.15
    gc current block 2-way Cluster 3.33 4.05
    gc cr block busy Cluster 2.01 2.44
    gc cr block 2-way Cluster 1.97 2.39
    db file sequential read User I/O 1.81 2.20
    Top SQL command type:
    SQL Command Type Distinct SQLIDs % Activity Avg Active Sessions
    PL/SQL EXECUTE 3 60.99 74.02
    SELECT 66 12.90 15.65
    INSERT 24 9.89 12.01
    UPDATE 9 6.00 7.28
    DELETE 2 1.33 1.61Rest of the SQL queries seem to be very optimum, but waits on pl/sql execute operation are causing very low tps.
    Can anybody give me some heads-up about where to and what to look for to resolve?
    Please let me know if any extra information is required.

    AWR report :
    Header
    DB      Name      DB Id           Instance      Inst num      Startup Time           Release RAC
    FCR           1304316316      fcrypp1      1                01-12ÔÂ-12 04:12      11.2.0.2.0 YES
    Host           Name Platform                     CPUs      Cores      Sockets Memory (GB)
    z4ci2011      AIX-Based Systems (64-bit)      168      42        320.00
                   Snap Id      Snap Time                     Sessions      Cursors/Session
    Begin Snap: 40650           01-12ÔÂ-12 06:40:03      1203           5.8
    End Snap:      40669           01-12ÔÂ-12 09:50:01      1122           5.3
    Elapsed:        189.96 (mins)    
    DB Time:        22,251.65 (mins)
    Load profile
    Per Second           Per Transaction      Per Exec      Per Call
    DB Time(s):           117.1                19.5                     0.00           3.89
    DB CPU(s):                16.1                2.7                     0.00           0.53
    Redo size:                12,759,186.3      2,126,361.0    
    Logical reads:           181,875.9           30,310.2    
    Block changes:           54,515.5           9,085.2    
    Physical reads:      1,340.3           223.4    
    Physical writes:      8,788.9           1,464.7    
    User calls:           30.1                5.0    
    Parses:                26.5                4.4    
    Hard parses:           0.4                0.1    
    W/A MB processed:      8.5                1.4    
    Logons:                0.1                0.0    
    Executes:                41,176.0           6,862.1    
    Rollbacks:                1.9                0.3    
    Transactions:           6.0      
    Time model statistics
    Statistic Name                                             Time (s)          % of DB Time
    sql execute elapsed time                              1,334,935.55     99.99
    PL/SQL execution elapsed time                         1,180,376.60     88.41
    DB CPU                                                       182,904.44          13.7
    repeated bind elapsed time                              292.83               0.02
    sequence load elapsed time                              279.75               0.02
    parse time elapsed                                        87.4               0.01
    hard parse elapsed time                                   22.52               0
    failed parse elapsed time                              5.12               0
    connection management call elapsed time               4.61               0
    PL/SQL compilation elapsed time                         1.91               0
    hard parse (sharing criteria) elapsed time          0.49               0
    hard parse (bind mismatch) elapsed time               0.39               0
    inbound PL/SQL rpc elapsed time                         0.1     0
    DB time                                                       1,335,099.30     
    background elapsed time                                   33,298.67     
    background cpu time                                        11,692.76     
    Operating System Statistics
    Statistic Value End Value
    AVG_BUSY_TIME 202,428  
    AVG_IDLE_TIME 936,397  
    AVG_IOWAIT_TIME 4,124  
    AVG_SYS_TIME 84,480  
    AVG_USER_TIME 117,573  
    BUSY_TIME 34,074,303  
    IDLE_TIME 157,378,825  
    IOWAIT_TIME 755,368  
    SYS_TIME 14,256,010  
    USER_TIME 19,818,293  
    LOAD 21 10
    OS_CPU_WAIT_TIME 23,770,800  
    VM_IN_BYTES 20,496  
    VM_OUT_BYTES 2,086,940,520  
    PHYSICAL_MEMORY_BYTES 343,597,383,680  
    NUM_CPUS 168  
    NUM_CPU_CORES 42  
    NUM_LCPUS 168  
    NUM_VCPUS 42  
    GLOBAL_RECEIVE_SIZE_MAX 41,943,040  
    GLOBAL_SEND_SIZE_MAX 41,943,040  
    TCP_RECEIVE_SIZE_DEFAULT 16,384  
    TCP_RECEIVE_SIZE_MAX 9,223,372,036,854,775,807  
    TCP_RECEIVE_SIZE_MIN 4,096  
    TCP_SEND_SIZE_DEFAULT 16,384  
    TCP_SEND_SIZE_MAX 9,223,372,036,854,775,807  
    TCP_SEND_SIZE_MIN 4,096
    SQL ordered by CPU Time
    CPU Time (s)      Executions       CPU per Exec (s) %Total      Elapsed Time (s)      %CPU      %IO      SQL Id SQL Module SQL Text
    180,330.13           127                1,419.92                98.59      1,326,401.03           13.60      1.08      04kt8u64udphu    BEGIN :1 := ap_ch_eod_shell_en...
    8,025.48           9,868,469           0.00                     4.39      10,809.88                74.24      9.21      arnkbsnzhha77 ch_txn_shell_115  SELECT * FROM CH_ACCT_MAST WHE...
    6,117.64           9,873,495           0.00                     3.34      8,557.64                71.49      7.14      8qcryvj294s79 ch_eod_shell_138  UPDATE CH_ACCT_MAST_PAR SET DA...
    4,614.71           3,185,313           0.00                     2.52      11,130.77                41.46      11.88      b75wwkxw34x2k ch_eod_shell_228  INSERT INTO CH_TMP_XF_GL_TXNS ...
    4,374.29           9,866,217           0.00                     2.39      5,876.00                74.44      37.88      g22p493ra2zr5 ch_eod_shell_248  UPDATE CH_ACCT_MAST SET BAL_LA...
    3,514.57           14,026,451           0.00                     1.92      6,274.60                56.01      29.55      7bwhphfnnuqpr ch_eod_shell_59  INSERT INTO CH_ACCT_INT_BREAKU...
    3,253.36           3,185,706           0.00                     1.78      3,875.42                83.95      9.20      9dq134q9btxq8 ch_eod_shell_74  INSERT INTO CH_ST_CAP_INPUT_TX...
    3,131.64           9,875,603           0.00                     1.71      5,338.43                58.66      15.55      6xhwk1b37rh1t ch_txn_shell_143  UPDATE CH_ACCT_ATTRIBUTES SET ...
    2,954.15           9,878,718           0.00                     1.62      5,692.88                51.89      13.22      b4at7uq2hw6r7 ch_sweepin_shell  SELECT TRIM(A.COD_PKG) FROM RP...
    2,572.01           9,867,277           0.00                     1.41      4,605.88                55.84      12.58      54ud0a8tuwwbc ch_txn_shell_17  SELECT * FROM CH_ACCT_ATTRIBUT...
    1,941.29           19,730,455           0.00                     1.06      5,580.38                34.79      7.02      dx5kng8qu560t ch_txn_shell_59  UPDATE CH_ACTIONS_DUE SET COD_...
    1,846.01           9,875,239           0.00                     1.01      4,737.66                38.96      12.55      af7f92f13rmy4 ch_txn_shell_85  INSERT INTO CH_ACTIONS_DUE (CO...

  • Error in work flow wait for change event

    Error in work flow wait for change event of business object bus1014, Actually this business object is triggering for two transaction one is me21n and another is c201 . am trying to create fork with two branches one is create and another if change occurs wait will trigger, bt when i trigger work flow controll is not after fork, it will stop in fork only. and am not getting my workflow container variable getting instantiate, am getting error in wait. please any one get out of me in this

    Hi Sangeetha
    What is LV_MATERIAL? is it a BO container element? or a class element or a just a simple variable?
    Error message is clear, you are trying to evaluate LV_MATERIAL but it does not contain a value.
    This is a custom workflow as it begins with WS9xxxxxxx... what is LV_MATERIAL used for? what are we expecting it to hold? maybe, from event to workflow binding we can pass the value to it.
    Please share the following:
    1) Definition screen shot of LV_MATERIAL
    2) Screen shot of The step where it is first used - from SWDD
    3) Screenshot of Event to Workflow Binding
    4) name of your base Business Object (seen in the triggering events tab of the WF template in PFTC)
    5) What is the corresponding variable for that BO in your workflow container
    6) Screen shot of WF definition from SWDD - please identify the step going in error in that screen shot
    Regards,
    Modak

  • Wait for stopper event to be increased - SMON

    Dear all,
    we have restarted a database, but sessions seem to hang. The smon has these waits:
    wait for stopper event to be increased
    what does this mean?

    Hi,
    you could have problem with a transaction.
    Check on v$session_wait to retrieve where this session hangs..
    In v$session_longops you can also find the progress of the session.
    Undo tbs are ok?
    Acr

  • Workflow -  Wait for event

    I have a requirement like this:
    In the workflow, judge an object is released or not. If not release. the workflow will stop.
    Now we need to write a program to check the status of the object every 15 mins, if the object is released, then an event will be raised to allow the pending workflow to continue.
    How do I achieve this?

    No Problem Yu,
    See below. Rough steps but I think you can fill in the meat on bones.
    Creating event.
      Step 1. Execute SWO1  it is O not zero.
      Step 2. Create business object. If you do not have one already. I assume you do not have one. Make sure you define key fields which uniquely identifies your object.
      Step 3. Create one event under events node. Make sure key fields are part of event parameters. Save and activate object.
      Step 4. Now triggering the event. In your besopke program which will run as background job. Once you decide object is released. The call function module SWE_EVENT_CREATE to trigger workflow. example given below. Check where used list of this FM you will find many examples. Use any example where EVENT_CONTAINER parameter under tables is being used you'll need this to pass data to event parameters.
    CALL FUNCTION 'SWE_EVENT_CREATE'
      EXPORTING
        OBJTYPE                       =  T_OBJTYPE
        OBJKEY                        =  T_OBJKEY
        EVENT                         =  T_EVENT
            CREATOR                       = ' '
            TAKE_WORKITEM_REQUESTER       = ' '
            START_WITH_DELAY              = ' '
            START_RECFB_SYNCHRON          = ' '
            NO_COMMIT_FOR_QUEUE           = ' '
            DEBUG_FLAG                    = ' '
            NO_LOGGING                    = ' '
            IDENT                         =
    IMPORTING
       EVENT_ID                      = T_EVENT_ID
    TABLES
       EVENT_CONTAINER               = T_EVENT_CONTAINER
    EXCEPTIONS
       OBJTYPE_NOT_FOUND             = 1
       OTHERS                        = 2
    Creating wait step.
        When you insert a new step in workflow it will ask you the kind of step you want to insert. Choose wait for event and after that it is not very tough all you have to give is give business object and event name. Do binding, this is important as this will make sure your workflow is reacting to correct instance of object.
    Warm Regads,
    Anuj Nagpal.
    Edited by: Anuj Nagpal on Sep 17, 2009 5:32 PM
    Edited by: Anuj Nagpal on Sep 17, 2009 5:33 PM

  • Error in Workflow wait for event node

    Hello Experts,
    I am working on one QM notification. I shall explain the scenario first:
    1) User will take the usage decision on inspection lot in QA11. When user will take decision and save inspection lot BUS2045 event USAGEDECISIONMADE will be triggered and initiate my workflow here.
    2) After workflow initiation system will create notification and send to approver, but here i have wait step in my workflow for BUS2078 - Created (Notification).
    wait for Event step
    BO: BUS2078
    EV: CREATED
    I am posting error below:
    Error when starting work item 000000294361
    Error when processing node '0000000060' (ParForEach index 000000)
    Error when creating a component of type 'Wait Step'
    Error when creating an event item
    Error within method CL_SWF_RUN_WIM_EVENT->_CREATE_WORKITEM_CONTAINER
    Error within method CL_SWF_RUN_WIM_EVENT->_GET_INIT_WORKITEM_CONTAINER
    Workflow 000000294361 wait step 0000000060: No valid object ID in container element 'Notification
    Node 60 - wait for event step.
    Re.,
    Guri

    Hi,
    Based on your description what I felt is you are making use  of a wait step in which you have choose to wait till BUS2078 event CREATED is occured ... right.. Now can you please clear me that where and how this event will triggered.
    or is it some thign like you are making use of event creator step and in this case, When ever you are making use of the eventcreator  step and a BOR object inside it make sure that specific BOR object is already instatitaed in the workflow container , if it is instantiated then only it will try to identify the instance  or the BOR and it will try to rasie the event.
    Regards
    Pavan

  • Workflow - Wait for field change

    Hi All,
    I am just starting to experiment with sharepoint 2013 (in office365) workflows and am running into an issue.
    What I am trying to create is a sort of approval workflow in which multiple people need to approve the item. I created a column for each department that needs to approve the item and the default value for the column is 'awaiting approval'.
    So the first department gets an email that they need to approve or deny the item. I want the workflow to wait for the value 'awaiting approval' gets changed and if it changes to deny stop the workflow, else go to the next department.
    The problem is that 'wait for field change' does not seem to do the trick. I can tell it to wait for the field to change to approved, but if it is denied it won't go further to the denied state.
    I guess there is a trick for this but I can't find it. Any ideas?
    Thanks in advance,
    Eddy

    I'm not sure wait for field change will work. This action requires you to wait until it equals a specific value, rather than just for the field to change. So if you want approve or deny, this won't work because you can only wait for it to be approved or
    wait for it to be denied, not both. Basically, just as you say.
    I would just have stages ("Awaiting Department 1", "Awaiting Department 2", etc) that is a hidden choice field set by the workflow. Choice fields then for each department for their approval. Conditions on the workflow fire based on the Awaiting Department
    field.
    Andy Wessendorf SharePoint Developer II | Rackspace [email protected]

  • Workflow - WAIT for Condition not working

    Dear All,
    This is regarding the WAIT step of workflow. It was used as WAIT for Condition. The condition is to check the application server's time (system field) with some local variable of time. Till this step meets the condition specified, the workflow will wait for some x hours. If this condition is satisfied, the workflow is expected to continue with the next steps.
    During the execution of the workflow, the wait step history shows that it is created successfully. But in ready status only. In the graphical log it shows <i>No Agent </i> along with this wait step.
    There is no field wherein I could assign this agent. Also the job SWWDHEX is working fine.
    Kindly help in sorting out this issue.
    Thanks & Regards

    Hi Rob,
    Thanks for your response. I tried using the Deadline monitoring in Activity step. I tried using the Requested Start tab with Expression for this step. The requirement is to hold the processing for some x hours depending on following business requirements -
    If there is a ticket for issue with New status then wait for X hours. During this X hours the technician is supposed to acknowledge the ticket. So hold the workflow for X hours and as the X hours are over, check for ticket status. If the ticket status is still new then escalate it to managers saying ticket not acknowledged using Send Mail step.
    Hence I had to ask the workflow to wait for some X hours.
    The Requested Start tab requires the reference Date/Time + a direct input value (ZZ) for min or hour or day etc fields.
    Now here the Time field is either a reference time AT which the activity will start with a delay of the ZZ Min/Hours/Day that we give in the next field OR this Time is exact value of time for which the workflow should hold.
    e.g.
    1.
    Date 27-Dec-06
    Time 00:10:00
    + 1 min
    then here it is either 11 min, the workflow should hold for processing or
    it is on 27th Dec 2006, 12 past 10'O clock time and when this time reaches, the workflow should wait for 1 min and then proceed.
    As none of the above logics were working. So I couldn't exactly make out what this Time field actually requires. I thought it was time when reaches the workflow should hold for some ZZ min.
    Again, the time value what I can give to this workflow is of application server time. But in the log of the workflow shows that work item refers to presentation server time everywhere. Hence it is difficult to compare also.
    So finally I took a wait step wherein both the variables of the time were given to starting event of workflow.
    Kindly help me in sorting out this issue.
    Thanks & Regards

  • Workflow - Wait for PO release

    Hi ALL,
    My requirement is that, after the PO change by ME22N the WF should Wait for PO release before I can call MIGO for Goods receipt.
    But my WF is directly calling MIGO after the ME22N, even though I have put a Wait for event task in between.
    Object type - BUS2012
    The WAIT event is - RELEASED
    the bibding parameters are &_EVT_OBJECT& from Event to &PURCHASEORDER& in the workflow.
    The wait condition is executing successfully and then MIGO is called, where as I have not yet Released the PO.
    How to make the WF wait for the Release.
    DP

    Hi,
    As per my understanding, is your workflow goes for next step after release of any level ?
    Please check whether the event RELEASED triggers for each level of release.
    Regards,
    JMB

  • BPEL wait for an event activity

    Hi,
    I have requirement for two scenarios ::
    1. BPEL waiting for a business event (like event from EO's create /update / delete)
    2. BPEL waiting in between for callback from other processes.
    if #2 is possible, inherently I can achieve #1 by having another
    mediator listen the event and invoke the callback. (Please suggest if
    there is any better way)
    Can any point me some links / documents for implementing above two scenarios.
    Thanks & Regards,
    Harish

    Using Events.
    I have a little zip of 2 BPEL processes which do precisely what you want. Unfortunately, these forums do not have attachment capability (at least what I can find)
    I have sent the Zip archive to your email (in your forums id).

  • How to make a component wait for an event?

    Hey there Adobe community, I recently started using Flash Builder and I have a problem. I have a windowed application in Flash Builder with some script code and then a base64 image.
    <?xml version="1.0" encoding="utf-8"?>
    <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
                           xmlns:s="library://ns.adobe.com/flex/spark"
                           xmlns:mx="library://ns.adobe.com/flex/mx"
                           xmlns:flexlib="http://code.google.com/p/flexlib/" preinitialize="loadImage()">
        <fx:Script><![CDATA[
            import flash.display.BitmapData;
        import flash.utils.ByteArray;
        import mx.controls.Image;
        import mx.core.UIComponent;
        import mx.graphics.codec.JPEGEncoder;
        import mx.utils.Base64Encoder;
        private var image:Bitmap;
        private var base64image:String="";
        private function loadImage():void
            var loader:Loader = new Loader;
            loader.contentLoaderInfo.addEventListener(Event.COMPLETE, imageLoaded);
            loader.load(new URLRequest("mypic.jpg"));
            trace("started loading");
        private function getimg():String
            trace("flexlib accessing image ", base64image);
            return base64image;
        private function imageLoaded(event:Event):void
            image = new Bitmap(event.target.content.bitmapData);
            base64image = getBase64FromComponent(image);
            trace("image converted");
        ]]></fx:Script>
        <flexlib:Base64Image value="{getimg()}"/>
    </s:WindowedApplication>
    The flexlib tag should render an image from a string. I want to load an image in the actionscript code, convert it to a string and then draw it. However, as soon as the application starts it attempts to render the string, which is still empty.
    The trace is like this, for some reason the getimg() is called twice:
    flexlib accessing image
    started loading
    flexlib accessing image
    image converted
    As you can see, the image isn't converted until after flexlib tries to draw it. The solution would be to make the flexlib component wait for the imageLoaded event, or make the specific tag re-initialize itself. How can I do this?

    Great, thanks. Now I can narrow my problem scope down.
    This is now the isolated culprit of my program:
    "Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space"
    I already ran garbage collector just before 2nd method but the same error still occures.
    But if I were to comment out method 2, run the program (to generate the file from method 1), then do the opposite and run again, it will work. ie. I have to run the main program twice.
    I don't understand this. The free memory after running GC after method 1 has reset the free mem to approx 1654kb so why can't method 2 run properly?
    Even if I just run method 2 alone, the free mem it starts with is 1639kb.
    Here are the memory values during the execution.
    //all memory values in kb
    Max memory = 65088
    Allocated memory = 1984
    total free memory: 64743
    free memory before method 1: 1639
    // Run method 1
    free memory after method 1: 875
    free memory after running garbage collector: 1654
    //Run method 2
    free memory after the main computation in method 2: 4807
    free memory AFTER running garbage collector: 6733
    Any solutions?

  • Workflow - waiting for the communication Service - Msg 672

    Hi,
    We are facing problem in a program, which triggers mail through a workflow.
    when the notification is rejected it calls an workflow
    and when the notification is approved it calls an workflow
    in the 2nd case.. when the notification is approved the mail is not getting delivered to the user.
    in SOST we found that it is showing the satus sent.. with the Msg 672 ( waiting for communication services)
    can anyone guide.. what may be wrong .. or where to check it and solve this issue
    Thanks
    am s

    Hi,
    You can use the program lines..
    *** These two statemnets are used to force the mail to send it to the
    *receipeint otherwise we need to go to SOST tcode where we need to press
    * F8 to send the mail to the other user. To avoid this we need to use
    *these two statemnets. Here the mail is not in queue.
    submit rsconn01 using selection-set 'INT' and return.
    call function 'SO_DEQUEUE_UPDATE_LOCKS'.
    * SUBMIT rsconn01 WITH mode   = 'INT'
    *                      WITH output = 'X'
    *                      AND RETURN.
    But since you care sending the mail through a workflow and not programatically,
    Copy the standard BO, SELFITEM in which you can add the above two commands in the SENDTASKDESCRIPTION method.
    Create a standard task in PFTC binding the z BO and give this task in your mail step which will force the mail to your inbox.
    Regards
    Indu

Maybe you are looking for