Error in Raising exceptions in a method and handling the same in the WF

Hi All
I tried to implement Raising exceptions in a method and handling the same in the workflow
in the same way given in SAPtechnical site .
1.by adding a error msg in exception parameter .
2. if the select query fails, to fetch the agent then :exit_return 9001 'ztable name' space space space.
3.in the Background activity in which this method is called there automatically one outcome appears ,and I hav acitvated that outcome and in that done what need to be done for that error handling - just send a mail to concern person .
4. in the normal outcome of the activity , the step to be executed are there .
but its not working , if exception come then the WF stuck there only . it do not follow the exception outcome .
Kindly help me , How can I do the exception handly in WF.
thanks & Regards
Kakoli

> That is usually the case - you catch an error in the underlying program and pass that back so the workflow can go into error.
> You're doing it correctly.
I don't think that's quite right.
If you define an error/exception in a method, it is automatically mapped to an outcome of the step/task.
If you activate that outcome, then you can handle the exception in a branch of the workflow.
For example: 'Remote connection is down, please contact Basis'
The step should only go into error if an outcome occurs that you have NOT activated.
So the original question is valid. Please give some more information on what the error message is..
chrs
Paul

Similar Messages

  • When opening iTunes I continue to get the same messages, 'The program can't start because AVFoundationCF.dll is missing' and 'iTunes was not installed correctly. Error 7 (Windows error 126)' I've uninstalled, reinstalled many times - nothing! help please.

    When opening iTunes on my new Windows 7 PC I continue to get the same messages, 'The program can't start because AVFoundationCF.dll is missing' and 'iTunes was not installed correctly. Error 7 (Windows error 126)' I've uninstalled and reinstalled many times to no avail, even tried it on a different user account and still nothing. I recently installed Panda Internet Security 2012 (about 12 days ago), initially iTunes worked fine as usual but within the last few days I've been  unable to open it with the same messages appearing. I've read through some of these pages and tried everything that's been advised, uninstalling and reinstalling while internet and laptop security is swithched off, downloading tools to completely remove anything related to iTunes, tried it in Safe Mode, nothing has worked. I've also noticed that in the start menu when I click on iTunes, it says '(empty)' where it should have the logo and ability to start the program, does this mean it doesn't download + install properly each time I've tried? Any help would be enormously appreciated.

    Doublechecking. Have you also tried the following user tip?
    Troubleshooting issues with iTunes for Windows updates

  • Have a hp photosmart getting scan error , i am however able to copy and print to same printer?

    have a hp photosmart getting scan error , i am however able to copy and print to same printer?

    Hello Maria444
    The community needs some more information so that they can help you. If you could, please share the model of your printer as well as any other prevalent information such as Operating System. Also have you ever been able to scan and if so has anything changed recently with your devices.
    Don't forgot to say thanks by giving "Kudos" to those that help solve your problems.
    When a solution is found please mark the post that solves your issue.

  • Please help: How to fix error message: Connection error. Try again. Check configuration and if problem persists contact the administrator.

    Please help on how to fix this error message when I'm trying to connect on my VPN
    Connection error. Try again. Check configuration and if problem persists contact the administrator.

    Thanks for the info.

  • So I was updating my boyfriend's iPAD and while updating it stopped and gave me a typical error message but with error 4013. It worked fine before and is now stuck in the "connect to itunes mode" recovery mode. I have tried updating and no luck. I have ev

    So I was updating  iPAD and while updating it stopped and gave me a typical error message but with error 4013. It worked fine before and is now stuck in the "connect to itunes mode" recovery mode. I have tried updating and no luck. I have even tried updating in DFU mode and no luck. Anyone git any solutions

    Are you following these instructions?
    Disconnect the USB cable from the device, but leave the other end of the cable connected to your computer's USB port.
    Turn off the device: Press and hold the Sleep/Wake button for a few seconds until the red slider appears, then slide the slider. Wait for the device to shut down.
    While pressing and holding the Home button, reconnect the USB cable to the device. The device should turn on.
    Continue holding the Home button until you see the Connect to iTunes screen.
    iTunes will alert you that it has detected a device in recovery mode. Click OK, and then restore the device.

  • Unable to set PIN - Error: "PIN must not be the same as the user's phone number"

    We are in an ongoing Lync Server 2013 deployment and have elected to set default conference PIN numbers for anyone that doesn't have them currently set.  We decided to make the default PIN the same as the person's telephone extension.  I realize
    this is not a secure PIN setting, but please bear with me.
    When I use PowerShell to loop through the people that do not have a PIN set and attempt to set the PIN to their five-digit extension, PowerShell returns the following exception:
    Set-CsClientPin : PIN must not be the same as the user's phone number (Error "18005").
    At line:1 char:1
    + Set-CsClientPin -Identity GenericUser -Pin '13579'
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidArgument: (13579:String) [Set-CsClientPin], ArgumentException
    + FullyQualifiedErrorId : UserPin::SetPin::PinDoesNotMeetConstraints,Microsoft.Rtc.Management.UserPinService.SetOc
    sUserPinCmdlet
    I know what you are thinking:  by default, Lync has the AllowCommonPatterns setting set to $false on the Global (default) PIN policy.  But I have created another PIN policy called "Low-restriction PIN Policy" that has this setting set
    to $true and assigned this new policy to the users I am trying to set the PIN on.
    According to
    Microsoft's documentation on the Set-CsClientPin cmdlet, the description for AllowCommonPatterns is as follows:
    "Indicates whether or not "common patterns" are allowed in PINs.
    Common patterns include repeating digits (225577); 4 or more consecutive digits (991234); and
    PINs that match a user's phone number or extension number.
    If set to True common patterns (such as the PIN 123456, which includes consecutive digits)
    are allowed; if set to False common patterns are not allowed. The default value is False."
    Given this information, I do not understand why Lync Server 2013 is preventing me from setting a default PIN that matches their extension number when AllowCommonPatterns is set to $true on the PIN policy assigned to the user.
    Any ideas on what might be wrong?
    PS C:\Users\user> Get-CsUser GenericUser | Select-Object PinPolicy
    PinPolicy
    Low-Restriction PIN Policy
    PS C:\Users\user> Get-CsPinPolicy -Identity 'Low-Restriction PIN Policy'
    Identity : Tag:Low-Restriction PIN Policy
    Description : [20150224 SWS] Standard PIN policy.
    MinPasswordLength : 5
    PINHistoryCount : 0
    AllowCommonPatterns : True
    PINLifetime : 0
    MaximumLogonAttempts :
    PS C:\Users\user> Set-CsClientPin -Identity GenericUser -Pin '13579'
    Set-CsClientPin : PIN must not be the same as the user's phone number (Error "18005").
    At line:1 char:1
    + Set-CsClientPin -Identity GenericUser -Pin '13579'
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidArgument: (13579:String) [Set-CsClientPin], ArgumentException
    + FullyQualifiedErrorId : UserPin::SetPin::PinDoesNotMeetConstraints,Microsoft.Rtc.Management.UserPinService.SetOc
    sUserPinCmdlet

    I just checked the management store replication status and it replicated.  I tried to set the PIN again and got the same error.  Here are my results:
    C:\Users\user> Get-CsUser GenericUser | Select-Object PinPolicy
    PinPolicy
    Low-Restriction PIN Policy
    C:\Users\user> Get-CsPinPolicy -Identity 'Low-Restriction PIN Policy' | Select-O
    bject AllowCommonPatterns
    AllowCommonPatterns
    True
    C:\Users\user> Set-CsClientPin -Identity GenericUser -Pin 13579
    Set-CsClientPin : PIN must not be the same as the user's phone number (Error
    "18005").
    At line:1 char:1
    + Set-CsClientPin -Identity GenericUser -Pin 13579
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidArgument: (13579:String) [Set-CsClientPin
    ], ArgumentException
    + FullyQualifiedErrorId : UserPin::SetPin::PinDoesNotMeetConstraints,Micro
    soft.Rtc.Management.UserPinService.SetOcsUserPinCmdlet
    C:\Users\user> Get-CsManagementStoreReplicationStatus
    UpToDate : True
    ReplicaFqdn : edge.domain.com
    LastStatusReport : 3/3/2015 9:20:21 PM
    LastUpdateCreation : 3/3/2015 9:20:18 PM
    ProductVersion : 5.0.8308.556
    UpToDate : True
    ReplicaFqdn : frontend.domain.com
    LastStatusReport : 3/3/2015 9:20:21 PM
    LastUpdateCreation : 3/3/2015 9:20:18 PM
    ProductVersion : 5.0.8308.556

  • A few days ago my TV show and movie displays went whacky-the shows are no longer in alpha order, there are multiple listings of the same show, the pictures are random-including album covers.  I downloaded latest version.  Any ideas??

    A few days ago my TV show and movie displays went whacky-the shows are no longer in alpha order, there are multiple listings of the same show, the pictures are random-including album covers.  I downloaded latest version & no change.  Any ideas??

    ME TOO.
    I think mine are all still in alphabetical order, but :
    * movies I deleted from my library and told "hide this purchase in the cloud" are showing up again. If I try to play them, I get the "cannot find the file in its proper location, would you like to locate it" error message.
    * for movies that have "iTunes Extras," the extras show up as a separate item, with another copy of the movie artwork. Most of these I believe I had DELETED the "iTunes Extras" anyway.
    * Items are showing up multiple times.
    * A few MUSIC ALBUMS are listed in my Movies section.
    * Some movies (I believe ones that I deleted off my HD but are still in the cloud) are showing random album covers instead of their proper artwork.
    * Just rented a movie, and it didn't show up anywhere in my library. It downloaded properly and completely, was in a suitably labeled folder in my iTunes/Media/Movies section, but didn't show up in any section of the library (or via a library search). Had to manually find it and tell it to open the file using iTunes.
    Running the latest version, even checked for updates. No other changes made lately since the last round of apple software updates. This was wonky before the latest small update to iTunes - now it's even wonkier. And it is very, VERY effing annoying.

  • Not really a problem just would like to know if I install firefox 4 beta...will I lose my bookmarks already in my current firefox browers and is that the same for the farmville game bar from facebook

    Not really a problem just would like to know if I install firefox 4 beta...will I lose my bookmarks already in my current firefox browers and is that the same for the farmville game bar from facebook

    It should not be a problem, as long as you are careful. Note the delete settings option when uninstalling firefox will delete bookmarks etc for ALL installed versions of firefox.
    Firefox attempts to retain the profile information, that include bookmarks etc when updating. It may still be prudent to consider other backup methods not entirely dependent on firefox.
    The firefox 4 beta will install by default in a slightly different location, you are then able to run either the current or the beta version of firefox. It is recommended you set up a new profile for the new version of firefox. see
    * [[managing profiles]]
    *[http://kb.mozillazine.org/Testing_pre-release_versions]

  • Error SOURCE IS the same as the target Task name Clear Cube Data

    Hi,
    When I am trying to use the Clear Package I am getting an error -
    "Source is the same as the Target"
    Any help with how to resolve this ?
    thx

    Hi,
    Please check if the Clear DM package is linked with the Process chain for Clearing the Data.
    We usually get the error you are mentioning in Copy Function when we have same source and Destination members.
    Hope this helps,
    Regards,
    G.Vijaya Kumar

  • RFC Error:The BW IDoc type ZSBA011 is not the same as the source system

    Hi Experts,
    RSA1Source System (Context Menu) Check
    I am getting the below error
    <b>‘The BW IDoc type ZSBA011 is not the same as the source system  IDoc type ZSBD012 ‘              </b>                              
    What might happened wrong.When i checked with my Basis Consultant who is new to job,Replied every this is ok with regeards to RFC.
    Where should i check to correct the error
    Thanks

    Hi,
    Did you do a system copy for BW ?
    Try a restore (rightclick on your source system) in most cases this will solve the problem.
    If not check the notes below:
    184322  Procedure after DB copy of BW source systems 
    886102      System Landscape Copy for SAP BW 2.X, 3.X and NW2004s BI
    325470      Activities after client copy in BW source systems
    325525      Copying and renaming systems in a BW environment
    184754      Procedure after BW database copy
    184447      Building a BW-system landscape
    184971      Notes on BW source system connections
    140276      Error in source system assignment
    524554      Storing destinations in the BW environment
    538052  Maintenance of Myself destination in BW
    Regards, Patrick Rieken
    Message was edited by:
            Patrick Rieken - BI-Formance B.V.

  • Their is two new Updates that are the same for the OS X Mountain Lion v10.8.5, except one has {Combo}. Which one do i download? The info on them are the same.

    Their is two new Updates that are the same for the OS X Mountain Lion v10.8.5, except one has {Combo}. Which one do i download? The info on them are the same.

    It appears Apple’s download servers are ‘overwhelmed’ today.  I couldn’t download the newest iTunes update or IOS 7 and there are a lot of discussions today about not being able to download. One poster said they had chatted with App Store support who confirmed the problem.

  • Is the (stock) content the same across the online/self-paced, online/instructor-led, and classroom/instructor-led courses?

    Apologies if this isn't the most appropriate forum.  
    My question is primarily about the LabVIEW Core 1 - Core 3 and TestStand 1 classes.
    Is the stock content the same in the 3 aforementioned formats?  By stock I mean "excluding any additional material presented in response to a question asked by a student".
    Thanks.
    Solved!
    Go to Solution.

    The content should be identical.
    The only exceptions I have seen is with certain demonstrations or exercises which can't be done without physical access to the system.
    For example in the online Real-Time class you can't personally connect the hardware to the temperature chamber, so instead you can see the hardware already set up and interact with it.
    Instructors often also add some of their personal experience to the classes and may explain differerent sections differently.
    Craig H. | CLA | Systems Engineer | National Instruments

  • I utilise Entourage for my mails. When I tip a mail adress and write a wrong one, I change. When I will send again a mail to the same adress the wrong and good one appears both.  How can I delete the wrong one

    Question is here above but more details here under
    I use Entourage as Mail sender. I don't use the adress book.
    When I tip a wrong adress  and make the correction, the old one stays in the memory of my computer ( apple I Mac ).
    When I wish to send a new message to the same adress, the wrong one appears in the same time , and some time I don't remember wich is the good one .
    To avoid that problem, how can I delete the wrong adress for future sending of mails.

    Solution, use Apple Mail
    I can highly recommend migrating to the Address Book. You won't have the typo'ed history in your email.
    Here's the KB on how to clear the list
    http://support.microsoft.com/kb/823667

  • My left shift key on Macbook Pro Retina (15") is behaving like the F11 key (show/hide open windows).  The key behaves the same for the laptop keyboard and for an external Apple keyboard?  This just started in last week after 6 months of use

    My left shift key on Macbook Pro Retina (15") is behaving like the F11 key (show/hide open windows). 
    The left shift key behaves the same on the laptop keyboard and on an external Apple keyboard. 
    This just started in last week after 6 months of use.  The right shift key and other keys on the keyboard all appear to work correctly.
    Suggestions greatly appreciated.

    I have a solution to this issue now after a discussion with Apple Support.  Some where in the last few weeks, there was a change in the key that would do a Show Desktop under the Mission Control settings in the System Preferences.  Even though the key sequence that was shown for the Show Desktop setting did not include the Left SHift key, by changing this first to having no key sequence and applying that and then changing it back to the F11 key, the Left SHift key issue that I was having has cleared up.
    A second issue that was uncovered was that the SSD had some issues (uncovered when I ran Disk Utility using the Repair Disk key).  I had to restart and use the Disk Utility through the Command R sequence to get to the stand alone Disk Utility.  The SSD appears to be running better as a result as well.
    Hope that this is of use to someone else in the future.

  • My brother ipad was linked with old apple id and he forgot his id and never use same email.the problem now his mini ipad ask him for this id to open (activate ipad) what we can do ?

    my brother ipad was linked with old apple id and he forgot his id and never use same email.the problem now his mini ipad ask him for this id to open (activate ipad) what we can do ?

    He remember the id name and password but he can't enter we don't now if the password is wrong or the id was  lock . I have the all thing for the ipad such as his box . I now this is security thing but you could help me.

Maybe you are looking for

  • How can we generate result set report?

    how can we generate result set report ?means the out put of one query be the input of another query?how it is?

  • Next Region/Event in Piano Roll ???

    Having trouble with the coupled key command of "Select Next Region/Event". When I first press this key command while editing in a separate/floating Piano Roll window, it jumps the content of the Piano Roll window to that of the next region (per the A

  • Apache as Reverse Proxy for UWC and Webmail

    Hi, for several reasons i want to use apache 2 as reverse proxy and ssl accelerator for UWC. internet <-> apache/ssl <-> backend port 80 I configured my apache with mod_proxy and mod_proxy_html. Here are the concerning config lines: LoadModule header

  • Trigger showing as invalid

    hey guys, trying to create a trigger which should insert values into a table when another table gets updated, as well as trigger of a sequence of increasing an ID column by 1. my trigger however shows as invalid and aqua data studio shows following e

  • Skype 7.7 - Fast user switching - Windows XPSP3

    When Skype 7.7 (or 7.6) is loaded, Fast user Switching feature of Windows XP SP3 is not working. SCENARIO: 2 Windows users with limited rights (not administrators) are logged-in and using skype 7.7 (different credentials)Try to switch from one to ano