Can we complete a workitem when it is still under "execution"?
I have one task in my gui inbox(SBWP), when I try to execute it(Click the execute button) I found it locked the workitem(From transaction SM12) in my terms at once, now if I try to complete the workitem with one "Event" in my application, I found the "Event" can not complete the workitem because it is locked by me,but if I leave the "execution" at once after I triggered the "Complete" event for the workitem, it works then. so I guess
1. the FM:SWL_WI_EXECUTE lock the workitem first
2. the FM:SWL_WI_EXECUTE will "execute" Application BO Method to go to application screen.
3. The application trigger one event to complete the workitem without leaving.
4. But the workitem is still locked by SWL_WI_EXECUTE, so when the event receiver WF-BATCH try to change the status of the workitem, it failed, the workitem is not completed.
My question is DO WE HAVE A WAY TO DEQUEUE THE WORKITEM BEFORE LEAVING TO SBWP?
Thanks and best regards.
Hi,
This is correct behaviour for terminating events. The problem is that the terminating event could come from another user, which is why the task is locked whilst you are executing it. Normally the lock should not present a problem as the event would then be processed at a later stage, sometimes with the error monitoring job - i.e. up to 20 minutes later.
The solutions suggested by Glauco to use a terminating event in another branch of a fork will also work, but you will have the same issue: the work item will remain locked, the fork completes and the workflow will move on, leaving one in process item behind. This item eventually gets set to completed by the error monitoring job.
Perhaps you could also look at the way in which you are raising the event. When raising events directly from within an application is that the event should always be one of the very last things that are done.
Hope that helps,
Mike
Similar Messages
-
HT4993 how can i check if my iphone 4 is still under warranty ?
how can i check if my iphone 4 is still under warranty ?
Welcome to Apple Support Communities
Go to https://selfsolve.apple.com/ and type your iPhone serial number. You can also check your warranty coverage at http://supportprofile.apple.com, if your iPhone is registered to your Apple ID -
WCM: Complete Operational WCD when WCI items still in Test untagging status ETUG
Greetings Experts, Gurus and SAP Sages!
I am facing a requirement to prevent the WCD from being set to "Completed" (CLSD) system status if there are items on the WCD that are still in "Untagged Temporarily" (ETUG) status.
As per the Operational Cycle process described here,the the EUG status should follow the ETUG status in the flow. My understanding of this business process is that you want to set the technical object of the WCI in a final operating condition status after it's been test-ran and untagged, so that it is apparent it is running operationally, and you can't switch the operating condition status once the WCD is complete. Therefore, I would expect the flow to be: ETG -> BTUG -> ETUG -> EUG -> CLSD
I seem to remember from a previous project, but am uncertain: Is there a setting in the configuration, or an authorization object that controls wheter the CLSD status can be set with the WCIs in status ETUG, or in EUG only? Is that standard behaviour? Can we prevent the ECD from being closed from ETUG status in any other way that using a BADI?
I am on ECC6 EHP5.Hi Sebastian,
no there does not exist such kind of setting. It is a standard behaviour. You must implement for example the following BAdI:
BAdI: BADI_WCM_WCMOBJ; Method STATUS_CLSD_CHECK
You can use this method to check whether a WCM object can be closed.
Regards, Uwe
You can find a reference list of all BAdIs on the WCM website. -
I am trying to use imovie and i have never had this problem before. All of my videos are completly grey and when you try and play them all i get is a black screen but i still hear audio. Can you please help and tell me what i need to do. Thank you
Make sure all of the videos used in the project that is having that problem are from the same event. If they are from multiple events, move them all into one event.
-
I scanned an Item from my computer to my documents. The scan was completed. However, when I searched in my documents, the Item was not there.
Where can I find the item scanned?Most scanners default to Pictures folder or the Desktop.
If you select All My Files and Arrange by Date Added you should be able to find the file.
If you turn on Show Path bar and Show Status bar for your Finder Window under View in the Menu bar, when you select the file you will see the path of the file in the bottom of the Finder window. -
I'm trying to transfer a quicktime file, when I drop the file in my hard drive I get the following error message "The operation can be completed because an unexpected error occured (error code 0). It only happens with this particular drive.
Run Disk Utility and try to verify/repair the drive to see if it reports and fixes anything.
-
phone was working three minutes ago, not it is completely black. When I put the charger on it, it does nothing. I can't see anything. Ive tried to hit the on off button, nothing, holding down the button on the bottom does nothing. Help please
First you can try to force reboot your phone. To do this:
1. Hold down the sleep/wake button and home button simultaneously.
2. Let go when the Apple logo appears and the iPhone is booting up.
If that doesn't work, you might need to hook the phone up to your computer and do a full restore through iTunes. -
I cannot access my voice mails. I can't get to voice mail either through the phone app nor the viooice mail app. When I try I get message the "can not complete call as dialed."t Any ideas?
backpack12,
Voicemails are a vital part of having a working phone. We do suggest that you look at the contact and then the number to make sure that it is *86. If you are needing to get your voicemails until then, please dial *86.
RobinD_VZW
Follow us on twitter @VZWSupport -
before i do updates for my iphone (to 5.0.1) i close my SIM card, i can not complete the update proccess becouse SIM is closed also i can not activate iPhone becouse the SIM must be opened. when i try to open it , the networks does not appear (no service).
Its a serious problem and many people are facing the same issue on both locked and factory unlocked phones.
I wonder when Apple will address to this issue. After all it is losing all its reputation!
See this thread, many users are encountering the same issue:
https://discussions.apple.com/thread/3425746?start=75&tstart=0
I believe its a software issue and could be solved asap Apple fixes it! -
My iPad says when i try to download a movie that i don't have enough memory, but when I check I have plenty for the movie and more. What can I do? Also, I can't completely sync to iTunes, when i try it waits at waiting for items to copy forever.
Delete some stuff to make room on the device.
iCloud is not local storage and has nothing to do with your situation. -
I've been a Firefox user for years, but now you offer me a new version and I can't complete the installation process. The initial download goes well but then I'm instructed to move the icon into my applications folder when prompted and I don't get prompted. Nothing whatever happens. What am I doing wrong?
We are not around here 24 hours, so you may need to wait for a response.
The DMG (disk image) file is the Firefox installation file that you can download from the Mozilla site and save to your desktop. You can double click that file to open the image.
From [[Installing Firefox on Mac]]:
* Once the download has completed, the disk image may open by itself and mount a new volume which contains the Firefox application. If you do not see the new volume, double-click the Firefox dmg icon to open it.
* A Finder window appears, containing the Firefox application. Drag the Firefox Icon into the Applications folder. -
I bought the song 'Go the Distance' by Michael Bolton. It said it had completed downloading but when I play my song it stops 1.01 minutes into it and goes onto the next song. How can I fix this?
It seems like alot of people are having this problem tonight. I dont know how to fix it but i hope apple fixes iTunes soon.
-
i was updating my ipad to the new ios software. the cable got disconnected just as it was completing the update. when it connected again it said i need to restore it. Once going thru the restore process, it said that Itunes can't recognize the ipad. one note, the ipad shows on my itunes as a "IPAD" and no name, serial #, etc... The ipad has a symbol on it telling me to connect to itunes
A System Reset cures many ills. It's easy, quick and harmless:
Hold down the on/off switch and the Home button simultaneously until you see the Apple logo. Ignore the "Slide to power off" text if it appears.
A System Reset does not remove any apps, music, movies, etc. nor does it cause any settings to revert back to default.
Also, you might wish to download the iPad-2 User Guide. Pay special attention to page 162. Note that this Guide also applies to the iPad-1 with IOS 4.3 except for those functions that are not supported by the hardware.
http://support.apple.com/manuals/#ipad
Finally, the User Guide can be downloaded at no charge via iBooks and a less comprehensive version of the Guide is included as a Safari bookmark. -
When accessing Hotmail account on Apple Air ,any page when fully loaded just goes to a white screen, so no actions can be completed. Account is fine on Imac just Air functionality faulty, any advice
thanks Bryce from OZa flashing folder with a question mark popped up,
Can mean that your Mac can't find a system folder to boot from.
Try restarting while holding down the Option key. That should prompt the Startup Manager window where you can select the startup disk and restart.
Startup Manager: How to select a startup volume
If the disk is not available, then it's failing or has failed.
If you did not backup your important files, an alternative would be data recovery but it's expensive.
One suggestion > Data Recovery by DriveSavers -
I can't complete my iPad2 update and download, ever. It says my network timed out and I don't know why.
Temporarily turn off any firewall or anti-virus software you have on your PC while downloading.
Maybe you are looking for
-
Can not see "Compose" option in the visual Composer
Hi all I am new to Visual Composer. I have created a model. But I am unable to add a page because I can not see the "Compose" option. Can somebody pls tell me the reason. Its urgent! Thanks a lot. Karan
-
External Hard drive is suddenly Read only. Help!
I reformatted my I mac due to it being extremely slow. After reformat, the toshiba external hard drive that I have been using for months before with no problem, is now a read only. I have over 1TB of space available and I need to use it. Does anyone
-
Error in Restricted Column of Analytic View
Hi, I created a Analytical view and performed join between the tables. All the data has been populated successfuly. I restricted for the Column PER UNIT SALES PRICE based on the attribute value MATERIAL_NUM = 25. I do get an error when i validate the
-
Conditional approval for payment
Hi Experts, wanna set approval for on- account outgoing payment . Tried following queries but not working. Kindly suggest the correct one SELECT (Case When (select $[ovpm.nodocsum.0]) > 0 then 'TRUE' Else 'FALSE' End) TF FROM OVPM wher
-
Cover photo in an Iphoto book.
How do I change the cover photo in an Iphoto book. It seems to select one randomly.