Workflow in process status when work is completed and returned to inbox

Issue...
Once upgraded to ECC 5.0, our Workflows are still in process status after completing the work item and returning to inbox. Takes several seconds to go to completed status.
More detail...
In a number of our work items in custom workflows we utilize methods that display a custom transaction for review & approval in the workflow process. From within the custom transaction we issue the terminating event for the work item by means of Function Module "SAP_WAPI_CREATE_EVENT" once the user approves or disapproves the work item.
This worked all very well in Rel. 4.6c. By the time the users were routed back to their inbox the work item had disappeared.
We recently upgraded to ECC 5.0 and experience the following problem. Once the user has left the work item and are back in their inbox, the work item is still on display. It eventually goes away once the users refresh their screen after a few seconds. This is very confusing to the users and some of them even wanting to start executing the same item again....
I was wondering if anybody has any ideas on how the completion/termination of the work item could be changed so that it completes faster and is gone from the inbox immediately.
In our research we did come across OSS note 831443, which explains as of release 6.20 that work items will be locked while executing a method and that the terminating event can only be delivered once it is unlocked. Taking this into consideration, we tried moving the terminating event to the end of the method within the business object program, but the work item never completed, even after refreshing the inbox.
Thank you for any feedback.

Hello Tom,
I've had quite a similar problem with the terminating event in a dialog while the workitem is locked.
I came across the same SAPNote 831443, but it doesn't seem to tell the whole story there. As I found out, the status change (from "in work" to "complete") is just skipped over, while the workflow continues with processing, leaving a last workitem "in work" hanging out to dry when the whole process has already finished.
Basically the problem is, or was, that a popup dialog was shown to the user after the processed the transaction, which held the lock open. I have found no logs, saying that there was a problem with a locked workitem, anyhow.
At last I have found out, that basically there shouldn't be much coding between the <b>COMMIT WORK</b> statement and the coding that just ends the method with <b>END METHOD</b>. This kind of procedure does definitly apply to the newer Versions, as I didn't have any problems like this before. Mayhaps and only a guess is, that the unlock-operation was previously registered with a perform like PERFORM unlock_workitem ON COMMIT. or something similar. This defenitly has changed under the new releases.
In your specific case I would recommend to register the event processing in the update task and end the workitem's method as soon, as possible. For example:
CALL FUNCTION 'SWE_EVENT_CREATE' IN UPDATE TASK   ...
If this still does not help, you could further disjoin the transaction processing from the event creation by adding
STARTING NEW TASK
IN BACKGROUND MODE
or whatever the correct syntax was here. This will schedule another tRFC on the database commit, which then is defenitly be picked up by another work process of the application server, just right -- hopefully -- after the object's method has completed.
If you're feeling good with this answers, or it least it gave you new ideas to look upon, please assign points as appropriate.
Best wishes,
Florin

Similar Messages

  • FCPX 10.0.7 collapses when working with 25p and 23,98p clips in the same timeline.

    FCPX 10.0.7 collapses when working with 25p and 23,98p clips in the same timeline.
    Did anybody reported this? never happened to me in previous versions.
    It seems to be solved when transcoding the 25p clips to 23,98p (both Canon EOS 5dMKII clips)
    But *** it must work!
    Thanx

    FCPX 10.0.7 collapses when working with 25p and 23,98p clips in the same timeline.
    Did anybody reported this? never happened to me in previous versions.
    It seems to be solved when transcoding the 25p clips to 23,98p (both Canon EOS 5dMKII clips)
    But *** it must work!
    Thanx

  • Reprocess - Workflow in process status

    Hi All,
    I am working with Workflow support,
    I don't know How to reprocess Workflow with the status is IN process.
    I know TC SWPR is a reprocess with error status.
    Thanks & regards
    Subramani.

    Hello Tom,
    I've had quite a similar problem with the terminating event in a dialog while the workitem is locked.
    I came across the same SAPNote 831443, but it doesn't seem to tell the whole story there. As I found out, the status change (from "in work" to "complete") is just skipped over, while the workflow continues with processing, leaving a last workitem "in work" hanging out to dry when the whole process has already finished.
    Basically the problem is, or was, that a popup dialog was shown to the user after the processed the transaction, which held the lock open. I have found no logs, saying that there was a problem with a locked workitem, anyhow.
    At last I have found out, that basically there shouldn't be much coding between the <b>COMMIT WORK</b> statement and the coding that just ends the method with <b>END METHOD</b>. This kind of procedure does definitly apply to the newer Versions, as I didn't have any problems like this before. Mayhaps and only a guess is, that the unlock-operation was previously registered with a perform like PERFORM unlock_workitem ON COMMIT. or something similar. This defenitly has changed under the new releases.
    In your specific case I would recommend to register the event processing in the update task and end the workitem's method as soon, as possible. For example:
    CALL FUNCTION 'SWE_EVENT_CREATE' IN UPDATE TASK   ...
    If this still does not help, you could further disjoin the transaction processing from the event creation by adding
    STARTING NEW TASK
    IN BACKGROUND MODE
    or whatever the correct syntax was here. This will schedule another tRFC on the database commit, which then is defenitly be picked up by another work process of the application server, just right -- hopefully -- after the object's method has completed.
    If you're feeling good with this answers, or it least it gave you new ideas to look upon, please assign points as appropriate.
    Best wishes,
    Florin

  • Sales order line item status when packed is complete

    Hi ,
    When a line item is packed even though its not invoiced sales order item status is as completed,
    Is this the standard behaviour? cn we change it to be being processed until its invoiced?
    thanks
    Keshi

    Yes,of course, this is the standard behaviour only.
    If ur delivery has completed and PGI is done completely, the sales order status becomes completed,
    u need not wait till the time of  invoicing
    Hope it useful..
    Reward points if useful..

  • Keymapping problem when working with emacs and openbox

    I have an apple keyboard and I had to do some remapping of the keys to make the mod-4 key the first key to the left of the space bar for when working with Emacs.  The below script worked fine when I was using the dwm window manager, but after switching to openbox I have found that instead of swapping keycodes between the option and command keys, only the command key seems to be working since the initial openbox command-space doesn't work when pressing option-space.
    One odd thing I noticed, was on the new setup when I click run `showkey` and press the option and command keys I get 56 and 125 respectively, but these keys don't work at all when inserting them into the below script instead of the 64 and 133.
    I must admit I created the script below by continually tweaking it until it worked so there could be a much better way of doing it.
    //.xmodmap
    ### capslock => ctrl
    xmodmap -e "clear Lock"
    xmodmap -e "add Control = Caps_Lock"
    ### switch alt and command
    xmodmap -e "keycode 64 = Alt_L"
    xmodmap -e "keycode 133 = Meta_L"
    ### remap of mod 4
    xmodmap -e "clear Mod4"
    xmodmap -e "add Mod4 = Super_L"
    ** Update:  The Alt key is not being swapped with the command key, but is not just a duplicate.  So no M-x can be done by both Alt-x and Command-x
    Last edited by iso (2011-02-19 19:21:01)

    java -cp "E:\Java Programmes\class" mygame.server.Server

  • HT4061 I was software updating of my iphone when the updating complete and start installing the wi fi connection suddenly disconnected and it couldn't be completed. Now my phone doesnot display anything its like empty. it only shows  the apple logo. help

    Hi all,
    i was upgrading my iphone to ios6.1.2; the upgrading had been completed and starting to install but suddenly the wi fi connection lost and the installation couldn't be completed. Now my phone is dead....it only shows the apple logo....can't do anything..help me out..

    Press the button at the top right and the home button together for 30 seconds, when you see the apple logo, let  them go.
    if you see a picture of the itunes symbol and a whitye usb chord then connect the device to a computer and perform a restore. 

  • When will Two Towers and Return of the King Extended edition be available in the UK?

    When will the Two Towers and Return of the King be available in the UK.  Fellowship of the Ring and the Hobbit are already available, and the other two are available in the US and Australia.  So when can we expect them here?

    We are fellow users here on these forums, we won't know. If/when they might be available here will depend upon whether the UK rights-holder grants Apple a license to sell them here - you can try requesting that they be added, but unless the rights-holders agree to it then it can't happen : http://www.apple.com/feedback/itunes.html

  • Dreamweaver creating duplicate sites when working with Contribute and CPS

    I've set up many websites with Dreamweaver for a Contribute/CPS environment and each time I edit the Contribute admin setting and save them, Dreamweaver created a duplicate of that site. Then when I go into edit the Contribute admin settings again, it will not let me in, saying that there is already a site with that name. I then have to delete one of the duplicates which sometimes removes the connection to CPS. Has anyone else experienced this in a multi-site, multi-user environment with CPS??? See attached image to see the duplicate sites.

    I have had the same problem.
    Had Dreamweaver support on the phone yesterday, after receiving this email:
    Please try resetting the preferences for Dreamweaver. Follow the steps given below.
    /Users/Your User Name/Library/Preferences/Adobe Dreamweaver CC Prefs
    /Users/Your User Name/Library/Preferences/com.adobe.Dreamweaver.13.0.plist
    /Users/Your User Name/Library/Application Support/Adobe/Dreamweaver CC
    /Users/Your User Name/Library/Application Support/Caches/ com.adobe.Dreamweaver.13.0
    Macintosh /Library/Preferences/ Application Support/Adobe/Dreamweaver CC Prefs (if any)
    Macintosh /Library/Preferences/com.adobe.Dreamweaver.13.0.plist
    Note: Follow the help doc to access user library.
    If this does not help can you please send me details below to isolate the issue further.
    1)      Step by step workflow to reproduce the issue.
    2)      Is this happening with multiple files? Few sample files to test the issue at my end.
    3)      Complete System Information file of the computer having issues.
    4)      Were there any H/w or S/w changes applied on the computer having issues. Since when are you getting this issue?
    5)      Is the user on domain account or local user? Do they have admin rights?
    6)      You BC site details, including FTP address, Login credentials.
    After our telephone conversation:
    I deleted all sites.
    I have completely deleted all versions of Dreamweaver, deleted all preference files and reinstalled Dreamweaver CC.
    It's still happening, so I will be back to them tomorrow.
    Sorta glad it's not just me!!

  • Channel error when working with BlazeDS and JBoss

    I am getting this error... can someone just help me on this front
    this is the mxml
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
    layout="absolute">
    <mx:Script>
    <![CDATA[
    import mx.rpc.events.ResultEvent;
    import mx.controls.Alert;
    import mx.events.ResizeEvent;
    public function showData(evt:ResultEvent):void{
    var data:String = evt.result as String;
    Alert.show(data);
    ]]>
    </mx:Script>
    <mx:RemoteObject id="remoteSend" destination="CreateRpc"
    result="showData(event)" />
    <mx:Button id ="myclick" label="Get Me"
    click="remoteSend.getResults('Priyank')"/>
    </mx:Application>
    =====================================
    remoting-config.xml entry for createrpc
    <destination id="CreateRpc">
    <properties>
    <source>RemoteServiceHandler</source>
    <scope>application</scope>
    </properties>
    <adapter ref="java-object"/>
    </destination>
    ========================== error i get ===============
    [RPC Fault faultString="Send failed"
    faultCode="Client.Error.MessageSend"
    faultDetail="Channel.Connect.Failed error NetConnection.Call.Failed:
    HTTP: Status 404: url: 'http://localhost:9081/biz/messagebroker/amf'"]
    Any solutions

    Ensure the services-config.xml on the running server contains the same
    channel definition as the services-config.xml you point at when you compile
    the Flex application.
    It looks like the application is attempting to use a URL
    ('http://localhost:9081/biz/messagebroker/amf') that the server is not
    listening to (404 not found).
    Hope that helps
    Tom Jordahl

  • First Project - Poor resolution when working between FCE and LT

    I've put together a 1 minute sequence in FCE 4 (1920X1080) and it looks great when I export to QuickTime movie.
    I then use that movie as a background in LiveType, adding a bunch of titles and graphics.
    If I then render the movie in LiveType the rendered movie chokes and skips. If I import it back into FCE and export it back to a QT movie, it looks poor - compression artifacts and the text doesn't look crisp.
    Is there a better way to:
    1) Sequence and edit my clips (1 min movie)
    2) Add tiles/graphics throughout
    3) Output to HD format
    Thanks!

    I figured it out.....
    Rather than rendering the movie in LT and importing to FCE, I just imported the LT project itself. Working between the two apps simultaneously, I can position the text and graphics from LiveType, save, then instantly see the results in FCE.
    Everything is looking crisper....

  • Problem with dual currency when working with AMEX and VISA

    Hi all,
    We are in process of implementing SAP travel on demand with integration of AMEX and VISA corporate cards. Paymentric was in charge of our configuration and the information is comming to our system now.
    As per our set up, the statements are being procesed with errors, due the currency we are receiving the charges is USD instead of country home currency. Example -> Argentinian employee travel to Brazil, and paid with BRL currency. We are receiving the statements in USD instead of BRL (There is a validation in the tool which cannot process statements in other than local currency)
    I spoke with AMEX and VISA representatives, and both says that they work with dual currency model, so changing the currency in the statements is not a possibility.
    Are we missing something in the config? I was reading information and discover that other countries like China are having same issue.
    Thanks for your help,
    Hernán

    Hi Hernán,
    credit card statements usually contain two currencies:
    1.   1. Local Currency: if the Argentinian employee travels to Brazil and buys something there, the local currency would be BRL
    2.   2. Billed Currency: this is the currency in which the credit card is billed (according to the credit card setup). Each transaction is converted to the billed currency in case of foreign transactions.
    Cloud for Travel and Expenses knows for each employee exactly one home currency. An expense report is always processed with home currency.
    Up to release 1502 it is not possible to import credit card transactions if the credit card billed currency does no match the employee’s home currency (there is no restriction to the local currency).
    As of release 1505 this is possible, but it has to be activated in Business Configuration:
    Travel and Expenses -> Expense Reimbursement -> Expense Input Channels -> Group: Credit Card -> Do you want to import credit card transactions with a credit card currency that differs from the home currency of the employee?
    In addition, you must use the new posting interface "SAP ERP Financials Using IDoc (with extensibility)". If you detect settlement deviations or differences on the reconciliation or credit card account (split payment) due to the currency exchange rates in your financial system, you can correct this situation by implementing BAdIs in the ERP system.
    Hope this helps.
    Best regards,
    Ralph

  • UI not getting change update when working with LIST and INotifyPropertyChanged

    i was trying to know two way data binding. i have simple car class which extend INotifyPropertyChanged for notify the change to update UI. bind List object to few textboxes and notice when one textbox value change then other textbox value not updated. all
    textboxes bind to same property. so one's value change should propagate to other textboxes.
    this is my code
    public class Car : INotifyPropertyChanged
    private string _make;
    private string _model;
    private int _year;
    public event PropertyChangedEventHandler PropertyChanged;
    public Car(string make, string model, int year)
    _make = make;
    _model = model;
    _year = year;
    public string Make
    get { return _make; }
    set
    _make = value;
    this.NotifyPropertyChanged("Make");
    public string Model
    get { return _model; }
    set
    _model = value;
    this.NotifyPropertyChanged("Model");
    public int Year
    get { return _year; }
    set
    _year = value;
    this.NotifyPropertyChanged("Year");
    private void NotifyPropertyChanged(string name)
    if (PropertyChanged != null)
    PropertyChanged(this, new PropertyChangedEventArgs(name));
    This way i bind
    Car carTest;
    private void Form1_Load(object sender, EventArgs e)
    carTest = new Car("Ford", "Mustang", 1967);
    List<Car> ol = new List<Car>();
    ol.Add(carTest);
    this.textBox1.DataBindings.Add("Text", ol, "Make", true, DataSourceUpdateMode.OnPropertyChanged);
    this.textBox2.DataBindings.Add("Text", ol, "Make", true, DataSourceUpdateMode.OnPropertyChanged);
    this.textBox3.DataBindings.Add("Text", ol, "Make");
    when run the code then Ford was showing as make name but when change value in any textbox then that change is not shown in other textboxes.
    the moment i change this line List<Car> ol = new List<Car>(); to
    BindingList<Car> ol = new BindingList<Car>(); then code started to work fine.
    My Question
    1) what is the difference between List and BindingList class ?
    2) can't we use List<> for my situation instead of BindingList
    3)
    this.textBox2.DataBindings.Add("Text", ol, "Make", true, DataSourceUpdateMode.OnPropertyChanged);
    this.textBox3.DataBindings.Add("Text", ol, "Make");
    see the above code and tell me what is the advantage of using DataSourceUpdateMode.OnPropertyChanged because i have seen if we do not use this code
    DataSourceUpdateMode.OnPropertyChanged then also data change is propagated to other textbox when cursor focus change.

    I would have thought that'd work with List<t>, in fact I think there must be something wrong in your code there.  I can't spot it though.
    I recommend use of ObservableCollection rather than BindingList.
    The default on bindings is that changes are propagated from the target ( view ) to source ( vm ) when the control loses focus.
    If you want to do the equivalent to a keydown event handler in a viewmodel then onpropertychanged is the way to go.
    You want to avoid creating bindings in code unless you really really have to, it's way easier to put them in xaml.
    Even if your ui is dynamic, you can build xaml and use that to create the ui objects:
    http://social.technet.microsoft.com/wiki/contents/articles/28797.aspx
    The difference between BindingList and List is, literally, iBindingList.
    See
    https://msdn.microsoft.com/en-us/library/system.componentmodel.ibindinglist%28v=vs.110%29.aspx?f=255&MSPPError=-2147217396
    What probably isn't very obvious is that BindingList fires an event - iirc  itemchanged when properties on objects in it change.
    Maybe you did something wrong in your implementation of inotifypropertychanged.  I must admit, I can't see anything there though.
    You don't really need those magic strings since .net4.5 and you also don't need to explicitly implement inotifypropertychanged you could use:
    public event PropertyChangedEventHandler PropertyChanged;
    public void RaisePropertyChanged([CallerMemberName] String propertyName = "")
    if (PropertyChanged != null)
    PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
    As used in this:
    https://gallery.technet.microsoft.com/WPF-Dynamic-Fonts-ad3741ca
    If you try that sample you can have:
    public class FontDetails : INotifyPropertyChanged
    or
    public class FontDetails
    And you can see it still notifies change successfully to both windows.
    Most wpf devs will use observablecollection rather than List or bindinglist.
    Observablecollection notifies addition or removal of entries.  It can be used to notify an entry has changed, but does not detect change of property.  You would have to raise the event in code if you want to tell it an item changed.
    Hope that helps.
    Technet articles: Uneventful MVVM;
    All my Technet Articles

  • Similarities in QoS when working in L2 and L3

    Hi
    We have several 2960,3550 and 3560 in our network all working as L3 switches with the organisation QoS policy.
    We are planing to move to a L2 network and I think that we have covered all of the topics with one exeption the QoS. Can anyone tell me can I expect the same QoS feature set and same level of QoS working with the switch as L2 switch instead of L3 switch?
    Again I fully understand the other aspects of the change
    Thanks
    Adi

    Disclaimer
    The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.
    Liability Disclaimer
    In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.
    Posting
    Usually, the biggest issue with switches that support QoS for L3 ToS is the loss of "granularity" when using L2 CoS, i.e. 64 possible markings vs. 8 possible markings.

  • I own a macbook pro mid-2010 - problem-updated to mountain lion and continuously crashes and reboots when working with audio and visuals (TRIED GFXcardstatus v 2.3) sometimes helps sometimes it does not, apple info ?

    I know this is a widespread problem
    I am not from the U.S.
    what solutions does apple have for us? , are there any?
    I read there's an issue with the NVIDIA card , is there anyone I can contact? I bought it in the U.S.

    If the machine is less than 3 years old, Apple will replace the motherboard under a recall program. If it's older you may get stuck with that cost. I'd make a Genius Bar appointment and take it in.

  • Pakages to include when working with BI and Dynpro

    Hello all,
    I wanted to know , what are all the packages required or included,while doing the BI and Dynpro connection. And how do you retrieve data from queries in BI to dynpro. please let me know if their is an example which is present, or help  me step by step procedure how to go abt this.
    Thanks,
    Regards,
    karthik

    If the machine is less than 3 years old, Apple will replace the motherboard under a recall program. If it's older you may get stuck with that cost. I'd make a Genius Bar appointment and take it in.

Maybe you are looking for

  • External Reference number not copied in Service Confirmation

    Hi, We are on CRM 5.0 SP11. We have Mobile Service 5.0 SP11. In Mobile Service in the Service Order creation screen we have a window to input External reference number. When we create a Service Confirmation as a followup document of Service Order, SA

  • Disk Image Verify Option

    Do I need to select Verify Disk when burning a DVD from my disk image file in the Disk Utility? Mike

  • Mask the reported OS version to report back as 10.5 instead of 10.6?

    So I have this application used for work that only runs on 10.5 (guess it was made some time back). Im running 10.6.3 and when I open it it reports that I'm running the wrong OS which is fair enough. a friend mentioned that it could be possible to so

  • Capturing action Event in the Embedding View

    Hi Experts,               I embedded View B in the View A through View UI Element Container, Now through the WDMODIFYVIEW we are creating elements in the View B. Now  we need to create elements based upon the Actions performed in the View A. How to c

  • Digital projector hook up to imac 10.8.5

    Help Mr. Wizard!!! Sorry I don't know where to post this question:-( I live 100 miles from an Apple store and I'm really ignorant about how to do this.. My iMac: 21.5 inch late 2012 2.7GHz intel core i5 graphics NVIDIA GeForce GT 60m 512mb osx 10.8.5