Handling Workflow Error

Hi there!
I have a workflow step with task associated to BOR BUS2089 object type DISPLAY which ensures the work items are sent to the approvers inbox. Now with a scenario provided that while approving the work items for some reasons there is an error the workitem is logged as error and i wish to handle this error inside the workflow in way to send an email to the admin group etc....
Please can you shre some thoughts on how to handle this?

this is the error in my task:
and trying to model the block by
is it okay to go ahead with it or such i model it in a diff way?

Similar Messages

  • Custom inbound Idoc error handling/ Workflow

    Dear Experts,
            I have a requirement where in I created a custom inbound idoc, but now i need to handle the errors in the workflow and notify the users thru workflow on an error.
    Can some one please provide me a step by step guide on how to create a organizational unit, position and assign users to the position... and any other steps that need to be configured to notify the user on the error.
    I'm pretty new to all these organizational uints and workflow related stuff. Any step by step would really be helpful.
    Thanks for your time.
    -Amit.
    Moderator message: sorry, these forums cannot replace proper training, if there is step by step guides out there, then please use the search functions.
    Edited by: Thomas Zloch on Oct 31, 2010 11:50 AM

    Vittal,
    1. If your requirement is for a SAP Standard Basic Message type and a Z extension: Then you simply have to find out the 'Standard Task' associated with basic type. You shouldn't worry about extensions. The standard task will be triggered at input error.
    2. If your requirement is for a Z basic type i.e. you have created a customer IDOC for a custom processing: There are many dependencies on how you can achieve this. Firstly, you need to know how you're are processing this Z_IDOC. Are you using a standard FM or custom workflow or custom FM? There should be some triggering event within the processing of this Z_IDOC which will raise a certain flag when the error you want to capture happens (or when there is a generic error). You can configure this event in binding objects to trigger a workflow task. If you take a look at any standard tasks, you'll get an idea how the triggering event happens.
    Once the workflow task (you can use custom task or use a standard task i.e. by triggering a standard event within the IDOC processing program) is triggered, you can either send it to SAP inbox, e-mail, trigger another processing etc. This is altogether another story.
    So bottomline: For custom IDOC processing, you need to trigger an event when error happens. This can be a custom event or a standard event. This event should be linked to a task (custom/standard - check in SWETYPV). Bind all of these in PFTC. Once the task is triggered, you can do whatever you want to do with it.

  • Error handling workflow not getting triggered

    Hi all,
    I'm creating a outbound IDoc. And for error handling workflow.. I created a organization structure in PPOME and assigned users. I gave this position number thus created in the partner profile in post processing permitted agent tab.
    But when the Idoc is in error, this is not coming to my inbox.
    Can someone please help me with this.. and let me know what went wrong.
    Thanks in advance.

    Here you need to be careful,
    if the agent assignment is not maintained properly, there may be a chance everyone in the organization will get the item.
    I hope you have created a single workitem for error handling. goto additional data-> agent assignment-> maintain. make sure the attribute is defined as general forwarding allowed. or you maintain the role/position/user/whatever.as the possible agents. still you dont get the result, debugging the default rule in the task ->default rule -> agent.
    hope this helps.
    with regards,
    Sudhahar R

  • Workflow error when submitting Employment Verification Letter in ESS Portal

    in ESS Portal, when trying to send the employment verification letter by mail I get a workflow error in ECC. Error occurs in workflow template WS01000045 (Employment and Salary Verification) task TS00408262 (PF: Find basic pay). The employee submitting the verification letter request is an active employee, has infotype 105 data in the system, and has basic pay data in the system.
    workflow log (SWI1) shows the "Basic Pay" object available and when double clicking on the object, it brings me to PA20 where I can see the Basic Pay infotype with correct data.
    Can someone help?
    note: the employee is Canadian, in case this matters.
    Tiberiu

    Have you created the resposibilities for the rule 60100010 becuase if you observe the rule it will determine the agents by using the category Agent Determination: Reponsibilities so i think you missed to create responsibilities
    for creating responsibilities [check|http://help.sap.com/saphelp_nw70/helpdata/EN/ef/3dc9469bbe11d189470000e8216659/content.htm]
    Also check that if Rule fails to determine the agents correctly then how can you [handle|http://help.sap.com/saphelp_nw70/helpdata/EN/7f/aed54c9c8d11d1894c0000e8216659/content.htm]

  • Cannot create process to handle workflow instance conversation

    <Nov 18, 2002 1:04:30 PM IST> <Error> <B2B> <000000> <<Process>
    Hi,
    Iam getting following error when iam trying to invoke
    subworkflow.
    can anyone help me in solving this problem.
    regards
    Ananth
    ERROR: Cannot cr
    eate process null.>
    <Nov 18, 2002 1:04:30 PM IST> <Error> <B2B> <000000> <<B2B-BPM-Plugin> ERROR:
    Cannot create process to handle workflow instance conversation
    com.bea.b2b.protocol.ProcessManager$CreateException: ERROR: Cannot create proces
    s null.

    Hi Ajaz,
    Error description is not detailed enough to provide the solution. You need to post the error message what you got in the server log files. This should contain specific details about the issue.
    Not sure but issue may be related to JVM settings. if it is so, server log file will provide the error description.

  • Workflow Issue - Delivery address XML Reference workflow - Error

    Hello All,
    I am an ABAP developer, with very limited knowledge in Workflow, and I am stuck with an ongoing issue for quite sometime. We have a scenario where we need to a workflow triggers for a specific UNDATED sales order lines (identified by values in VBAP-Zfield ) in R/3 box, and it carries an XML request (probably mails it) to a SAP CRM destination, which would now update some CRM tables and generate a Call list in the SAP CRM box. This is one flow that used to be fine, but has stopped working since the past few months may because of some change, which is not yet identified. as multiple projects are working on the same boxes.
    To elaborate -
    1 - We have a SALESORDER_CREATEFROMDAT2 Idoc creating the SO, where in, based on a CUTOFF date condition, (if it is in the past), a VBAP-ZFIELD for the corresponding line is set to a value (08).
    2 - This event is expected to trigger a workflow for the Undated order/Delivery resolution , which would then create an XML doc for the SO and send this across to CRM box
    3 -This will then update a Ztable. This will be handled by a batch job in CRM to generate a call list.
    Now we are facing a problem in the second step here, where in the activity - 'BCKGRD: Create XML_DOC for SO: xxxxxxxx' is completing successfully, but having a failure in the next step  - 'Delivery address XML Reference workflow - ERROR'
    This is how the detailed workflow log looks -
    WF-BATCH                  Web work item created                               03.04.2014 08:12:29
    WF-BATCH                  Execution started automatically                   03.04.2014 08:12:29
    WF-BATCH                  CL_SWF_RUN_ALERT_ERROR                   03.04.2014 08:12:31
    WF-BATCH                    IF_SWF_UTL_MAIL~SEND                      03.04.2014 08:12:31
    WF-BATCH                  SWW_RI_EXECUTE_S                            03.04.2014 08:12:31
    WF-BATCH                    SWW_RI_EXECUTE_S                           03.04.2014 08:12:31
    WF-BATCH                  Execution started automatically                      03.04.2014 08:12:31
    WFXML                     START_EXECUTION_IN_BACKGROUND            04.04.2014 04:00:35
    WF-BATCH                  Execution started                                          04.04.2014 04:00:36
    WF-BATCH                  CL_SWF_RUN_ALERT_ERROR                   04.04.2014 04:00:44
    WF-BATCH                    IF_SWF_UTL_MAIL~SEND                   04.04.2014 04:00:44
    WF-BATCH                  Execution started                                     04.04.2014 04:00:45
    WF-BATCH                    SWW_RI_EXECUTE_S                       04.04.2014 04:00:45
    I've also attached a screenshot for the errors, if that gives a clue.
    Request all the workflow experts to help me with a solution, or an approach towards a fix.
    Thanks & Regards,
    S Sen.

    Hi S Sen,
    Agree with Ronen....no mail recipient or from 10 records of mail recipient - one record is empty.
    Try to find out the intended email recipients....any data change there might have resulted in errors since few months. Maybe, some position got vacant, some config table to get the recipients got changed.....
    regards,
    Modak

  • VS Workflow - Erroring out when multiple records are created by same user

    Hi,
    I am using SP 2013. I have a visual webpart and custom sequential workflow. The webpart saves the data to a custom list and the workflow is associated to the custom list on Item creation only. In the workflow, I am breaking the role inheritance and setting
    permission to specific set of users, and then the normal approval workflow happens. The whole workflow condition works fine, but if the user is raising multiple requests one after another, the workflow seems to break either in the Break inheritance or granting
    permission. If the user raises only one or two requests then everything works fine.
    Below are the errors which I am getting in the workflow:
    Error 1:
    Error: Save Conflict. Your changes conflict with those made concurrently
    by another user. If you want your changes to be applied, click Back in your Web
    browser, refresh the page, and resubmit your changes.
    I have already checked this :
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/60ab04fd-9650-427d-a48f-784bc22fae05/workflow-and-save-conflict-your-changes-conflict-with-those-made-concurrently-by-another-user?forum=sharepointdevelopmentprevious_
    http://adrianhenke.wordpress.com/2010/08/20/sharepoint-error-save-conflict-your-changes-conflict-with-those-made-concurrently-by-another-user/
    I have also implemented the "Reload" thing posted in the above URL. This error only happens when multiple new requests are getting raised by same user. This error does not happen if I terminate the workflow and re-start the workflow.
    How to fix this?
    Thanks

    Hi,
    Based on my understanding, you have a Visual Web Part for adding new item into a list. A workflow will be triggered when item creation in this list. Everything works
    fine except when an user adds multiple items in a short period.
    If this is the case, plus with the error message, a possible cause is that the SharePoint Server and the workflow engine are not functioning effectively enough to
    handle the multiple request in a short time, therefore a scenario is that when there is new item being added into the database, the workflow modifies the “RoleAssignments” property of this item at the same time, this may cause a “Save Conflict” error.
    As you said, “If the user raises only one or two requests then everything works fine”, a workaround is that you can disable the adding item function in Visual Web
    Part forcibly in a specific period after a new item is being added by current user, it can leave some time for handling the item creation and item modification.
    Or if there is a need to submit multiple items concurrently, we can organize the requests into one request, then handle this item with other custom logic in your workflow.
    Thanks
    Patrick Liang
    Forum 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]
    Patrick Liang
    TechNet Community Support

  • How to handle transport errors????

    Hi Gurus.
    How to handle transport errors and create a workflow email to the owner of the transport from solution manager??

    Solution manager does provide automatic e-mail notification when status changes or error occures.To answer your question when ever transport fails ..you can configure such way that a support message can create automatically and notify support team / respective person.
    If you are not using any t-code do you have any thoughts where you can create transport request???? and are you using solution manager only for maintanence project or for implimentation project also????
    Hope this helps you....
    Praveen

  • Workflow Error Message: System Account - The Workflow could not set Content Approval Status

    This is the first time I try an approval workflow. I am using a template in MS Word and assigned an approval workflow to it. The approval workflow is only going to one person in this case.
    When I start the work flow the following 3 error messages show up:
    Workflow Error Message: System Account - The Workflow could not set Content Approval Status. Enable content moderation for this list and run the workflow again.
    Workflow Error Message: System Account - The e-mail message cannot be sent. Make sure the e-mail has a valid recipient.
    Workflow Error Message: System Account - The e-mail message cannot be sent. Make sure the outgoing e-mail settings for the server are configured correctly.
    Thank you for your kind guidance.

    Hi,
    For the first error: Did you set Content Approval in the workflow?  If so, see if you have it in the versioning settings of the list settings.
    For the second error: double check your recipient is set up as being valid.  Did you type in the email address or is it referring to a people picker field?  also, make sure that in the workflow for the email that you actually populated it in the
    To: field.
    for the third error: I suspect that either your farm is not configured for email.  Or, this error is a knock on from the second error.  If you get the second error rectified it may clear this error.  If not then double check the email settings
    for your farm.
    Johnathan Lightfoot

  • How to handle the #error in ssrs expression

    hi 
    Please any one help me to resolve this #error ,
    I have a calculated filed in that expression i given a if condition like below 
    data of column is coming like this 0 , 0.0 
    =IIF(Fields!Column1.Value=0,0,((Fields!Column2.Value - Fields!Column1.Value)/( Fields!Column1.Value)))
    how to handle the #error 
    Please let me know any one 

    Hi deepuk23,
    According to your description, when you use the IIF() function in the report you got some error,right?
    The issue can be caused by the column1 and column2 have different datatype, I assumed that one is integer and another is float, when the Column1 is 0 or null,  because IIF() function always evaluates both the true part and the false part, even
    though it returns only one of them, it will throw out the error. 
    To resolve the issue, you should use a nested IIF() function to avoid the zero-divisor in any rate like below:
    =IIF(Fields!Column1.Value=0,0,((Fields!Column2.Value - Fields!Column1.Value)/(IIF(Fields!Column1.Value=0,1,Fields!Column1.Value))))
    For more information, please refer to this article:
    FAQ: Why does the “Attempted to divide by zero” error still happen?
    If you still have any problem, please feel free to ask.
    Regards,
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • "The document could not be opened. Bad file handle."  Error

    Greetings,
    I have many operators opening documentation using acrobat reader 8.1.2. When the documents are opened, sometimes a change has to be done to the file. I use computer management to "kick" everyone out of the files, update the .pdf, and then they can re-open the file to see the latest and greatest version. The problem is, if not everyone is out of the file, I sometimes get a ""The document could not be opened. Bad file handle." error, and have to usually wait a period of time before it will let anyone in. I think it has something to do with the windows temp files, but am unsure. It's hard to ensure everyone is out of the document on time, as up to 50 people may be in it at the same time.
    Is there perhaps a better way of publishing the new verison of the document?
    Thanks for any help you can provide!

    these two errors below is what I am receiving when do a program integrity scan: common program locations.
    I have done a repair on acrobat reader and I do have the two dll files I even put them in reader folder and still receiving the errors.
    missing file:"c:\program file\adobe\reader 8.0\reader\acrord32.exe"
    "c:\program files\adobe\reader 8.0\reader\acrord32.exe"cannot access a necessary file,"msvcp80.dll
    missing file:"c:\program file\adobe\reader 8.0\reader\acrord32.exe"
    "c:\program files\adobe\reader 8.0\reader\acrord32.exe"cannot access a necessary file,"msvcr80.dll

  • How to handle system errors in XI using BPM? please help!

    Hi Experts,
         I have a requirement where I have to handle system errors. For example when I am making RFC call using RFC adapter if the remote destination is down then I have create a understandable error message and store it in another SAP table.
    How to handle it? I am using BPM. I can see that there is "Exceptions" in the send step. How to use this?
    Thanks
    Gopal

    Hi Gopalkrishna,
    In this case whenever you get Mapping Exception , you can raise an Exception with the help of BPM and you can send the status to the RFC. But with the help of BPM.
    For a Simple case refer:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/33/4a773f12f14a18e10000000a114084/frameset.htm
    If you want you can do it without a BPM
    and throw an exception in case any of the values is missing:
    have a look at this weblog on how to throw exceptions
    in a nice way:
    /people/alessandro.guarneri/blog/2006/01/26/throwing-smart-exceptions-in-xi-graphical-mapping
    Also just go through <a href="/people/sap.user72/blog/2005/02/23/raising-exceptions-in-sap-xi-mapping Exceptions in SAP XI Mapping</a> and see if it helps you solve the problem.
    Also go through these links:
    http://help.sap.com/saphelp_nw04/helpdata/en/dc/6b7f2243d711d1893e0000e8323c4f/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/68/253239bd1fa74ee10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/f2bbc8142c11d3b93a0000e8353423/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/5d/2166e6a91d11d188de0000e8216438/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/05/bb223905b61b0ae10000000a11402f/content.htm
    Please do let know if it helped.
    Regards,
    Abhy

  • Error Handling and Error Messages

    I already posted this in the java programming forum, but I dont think the people responded understand patterns, or what I was asking. Here is my original post, for reference I am not asking how to catch and exception, or how to display an error, I am asking about the pattern implementation.
    I am currently in the process of creating my Exception model for my program, and I have a question about error messages. I was reading the book "Effective Java Programming" which deals with patterns and it states that an exception should state the error and report information on all relavent states. For instance If you have a class the modeled some sort of memory array, and an access was requested to a block of memory outside the array you should throw an ArrayIndexOutOfBoundsException("Index:" + index + ", start:" + 0 + ",end:" + Array.length) or if you made your own MemoryAddressOutOfBoundsException(same as above) which when printed should read
    ArrayIndexOutOfBoundsException: Index:-1, start:0, end:0
    stack trace
    The pertinate information is the index, start index, and end index.
    The book CLEARLY states as an industry design pattern that exceptions weather checked or unchecked should not contain user error messages. For instance with the above example one might be tempted to use this as the exception message: "The memory addres index is not a valid memory address." This is clearly a user error message.
    So heres my situation. In a gui environment (command line console not visible) how do you generated a user error message, letting the user know that an internal exception has occured.
    In my previous implementation of my project, I used the exception message the user error message and just reported the message on a dialog. I have heard of people using error catalogs, which centrallizes all the error messages into a single class or file.
    I was wondering if and Error catalog was a good approach, how I might go about implementing one, and if not how do you the community handle user error messages.

    class MyAppErrors {
       public static final int FILE_NOT_FOUND = 0;
       public static final int DIR_NOT_FOUND = 1;
       public stat final String[] errMsgs = {
          "The file was not found.",
          "The directory was not found.",
       public String getErrMsg( int n ) { return errMsgs[n]; }
    [\code]
    And a nicer version would allow the calling code to pass in a substring so you could say "The file 'somename.ext' was not found."                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to Handle the error message?

    Hi,
    Can any one help me in handling the error messages in application,
    In my application, I am having 2 buttons, one is display button, and the other is reset button. When we enter wrong inputs, it prompts an error message and again we I click on reset button the application goes back to its normal stage i.e. the error message will be disappears. These things will happen in the same page. I have tryed to know the any Id/Name of error message.
    So please help to handle error and skip that error then continue execute raming code.
    Thanks
    Buntty

    A few problems with this question that need clarification:
    You're using a GUI, but we have no way of knowing which one -- Swing? AWT? SWT? other?
    You ask how to fix your program flow and logic but don't show us the current state. Most of us can't read minds so a bit of code would be nice here.
    You mention "Page". What context is this in?
    A great resource that has helped me and will probably help you is an article entitled [How To Ask Questions The Smart Way|http://www.catb.org/~esr/faqs/smart-questions.html] . It will tell you how to formulate your questions so that the folks here will be better able to answer them. Good luck.

  • Handling Multiple Error Messages through EXIT_SAPMM06E_012 for ME28

    Dear Team,
                           After Executing ME28, system will give List of PO's that are to be Released . User will select Multiple  PO's and
    Press Release button in Application toolbar. once it is relased, User will press save Icon for all released PO's. 
    Once Save icon is presed, I need to  do  Validation for Multiple PO's in the user Exit EXIT_SAPMM06E_012 and capture my
    ErrorMessages for all Released PO's for which Validation fails.
    Here in the given user Exit, one PO will be processed at a time as PO is defined as Import Parameter but it will handle all PO's
    and give the output in status bar saying 'Relased Saved' for all PO's which succesfully gonethrough.
    once we execute ME28, system is showing list output with PO's to be Released(As system is handling with Write statments). In this case, we dont have scenario of PBO and PAI Modules( where user can correct error if any validation fails) like we have for ME22,etc.
    I have Written simpel Error Message in the  User Exit.
    once i tried to trigger my user exit  by Releasing and Saving with One PO, Error Message is displayed ( as information Message
    appears) and if i Press Exit button in Error Message, it is coming out of Transaction.
    Is there any Possibilty to Handle Multiple Error Messages ( in my case for  Valdiation Failed Po's)  in ME28 ,after Releasing and Saving , and also user should not come out of Transaction once  Error Messages are Displayed.
    Thanks and Regards
    Suresh

    Hi Suresh,
    there is a tekpo table to handle all po items. you can put it in loop and do validations.
    if any errors through, there may be a ex_messages table of type bapiret2.
    or
    try like this:  MESSAGE E368(00) WITH TEXT-001 TEXT-002.
    thanks
    srinu
    Edited by: srinu rao on Sep 22, 2009 3:43 AM

Maybe you are looking for

  • Managing multiple Apple IDs in the office

    Hi folks, I'm at a small design studio, with 17 Macs. At the moment staff use their personal Apple IDs for updates etc - the problem with this is we have various freelancers who come in and use different macs. Is there an easy way to manage Apple IDs

  • Cant find method? and i cant figure out how to round a decimal....

    when i compile this it says "getAverage not found in class AverageGradeUser" - look at actionPeformed() to find where its used at....how do i fix this, i had it working but somehow messed it up and when the new average is figured and put in the resul

  • RWB Alert is not comming  in Alert Inbox

    RWB Alert- i am unable to get alert in my Alert Inbox but when i am triggering through FM it is showing in inbox, can anyone suggest me what more need to be done so that i can recieve automatic? FYI--I have done all the steps required for configurati

  • Datagrid questions

    I have a datagrid whereI would like to select multiple rows and then copy the rows into another object, manipulate them and the shove them into antother data grid. The business process is to take a shipment with a single start and end point (a single

  • OS X: Link shouldn't open in Safari (e.g. opera ist my standard browser)

    Hi, I use Snow Leopard. I've got Opera as standard browser. If I click at an http link in Acrobat Reader, it opens in Safari. Why? Every other programm (e.g. Thunderbird) opens the links in my standard browser. Is there a hidden way to change that? I