How to make a BPM restartble at a specific point after error?

Hi,
I have a somewhat very simple question.
I have a BPM that works like this:
1. receive message A
2. transform message A to message B (using valuemapping)
3. switch with a condition determining if valuemapping was succesfull for all cases.
3.1. Branch 1
3.1.1. Send message B to R/3
3.2. Branch otherwise
3.2.1. Transform message B to errorMessage
3.2.2. Send errorMessage to R/3
This is all fine and works as intended.
Now what I would like is to somehow be able to "stop" the BPM after step 3.2.2. and somehow be able to reprocess the BPM starting from step 2..
The reason for this is that if the valuemapping was unsuccesfull it means a table needs to be updated. After updating the table it would be nice if the process could just be restarted and complete with success instead of having to send data through XI once again from sending system.
I've tried to experiment with exception handling in the BPM, but have not been successfull in finding a solution that works as intended.
Hope someone can help:-)
Best regards,
Daniel

Hi Kavita,
What I want is this:
If valuemapping is unsuccesfull I want to send errorMessage to R/3. Afterwards the BPM should stop. At some point someone (or XI ifself) will try to reprocess the BPM. In this case the BPM should basically start from my previous step 2 (Transformation step with valuemapping) and then go through it all again.
I a litle unclear what exactly you want me to try - is it something like this you mean?: - but what exactly goes in the exception branch? The time part I guess can be left out in my case, since I just wanna stop right away - but still we the posibility of starting from valuemapping step when reprocessing the BPM after error.
1. receive message A
2. Block
2.1. Exception branch
2.2. Control branch
2.2.1. Loop
2.2.1.1. transform message A to message B (using valuemapping)
2.2.1.2. switch with a condition determining if valuemapping was succesfull for all cases.
2.2.1.2.1. Branch 1
2.2.1.2.1.1. Send message B to R/3
2.2.1.2.2. Branch otherwise
2.2.1.2.2.1. Transform message B to errorMessage
2.2.1.2.2.2. Send errorMessage to R/3
Best regards,
Daniel

Similar Messages

  • How to make screen field enable when table control gives an error

    Hi,
        I had a scneario like when table control data wrong then one parameter of the screen should be enabled for the input, i knew that screen-name will not work since it will have always table control fields only when table control gives an error.
    How to make the other parameter enable when table control throws an error.
    Regards,
    Jaya

    Hi Gobi,
         Thanks for your response, but issue is - how to make other screen fields enable when there was an error in the table control data.
    For table control - lets say we will use the code as i mentioned above.i am sure that we cant write the code for field enable in between loop & endloop.
    as you said if we right outside the loop-endloop, the module wont be triggered when table control throws an error, because that statement was not there in the loop-endloop.
    please let me know if you need any more information on the issue. I hope there is alternative for this in SAP.
    Thanks
    Jaya

  • How to make pdf file auto open with adobe reader after downloaded

    how to make pdf file auto open with adobe reader after downloaded

    I note from your system details that you have the plugin for adobe pdf s so I would have expected the files should open in firefox '''without''' you needing to explicitly download them.
    Once the files are open in firefox, you will also get the option to save them permanently to a location on your computer. If you wish I suppose you could set the file type pdf to be associated with and be opened by firefox instead of with the Adobe Acrobat Reader, but that would just seem to be an additional complexity.

  • How to Make the fields Delta enabled or Change pointer enabled in R/3

    Hi ,
    I have a scenario, in which we are using the DS 0CUSTOMER_ATTR to load the master data.There are some fields added to this data source but this fields are not delta enabled i.e. when these fields change in R3 it does not write to Change Pointers ( and hence no delta ). For this reason every week we have to do a full load which takes very long.
    Can any one suggest how to make this fileds delta enabled or how to know weather these fields are writing the Change pointers or not in R/3 when they change?
    Regards,
    Vishnu

    Hi Vishnu,
    In your case you need to build the logic for your custom fields as you have enhanced the Business Content DS..
    The way you can build the logic would be using the CDHDR and CDPOS tables if the changes are recorded in those tables.
    The above tables contain any changes done to any documents..
    Let me know if it helps..
    Best Regards
    Avinash

  • How to make shape rotation at it's center point?

    I draw a shape,like follows:
    var shape1:Shape;
    shape1=draw();
    addChild(shape1);
    shape1.rotation=50;
    private function draw():Shape{
       var shape:Shape = new Shape();
       shape.graphics.beginFill(0x00FFFF);
       shape.graphics.moveTo(200,200);
       shape.graphics.lineTo(300, 202);
       shape.graphics.lineTo(200, 204);
       shape.graphics.lineTo(100, 202);
       shape.graphics.lineTo(200, 200);
       return shape;
    Then I want to rotate the shape at it's center point(200,202) by using shape1.rotation=50,but I find the shape don't rotate at the the center of it's shape. How to realize the function which make shape rotate at its center point?
    Thanks

    Here is a sample to make it rotate from center:
    var sprite:Sprite=new Sprite();
    sprite.graphics.lineStyle(3,0x00ff00);
    sprite.graphics.beginFill(0x0000FF);
    sprite.graphics.moveTo(0,0);
    sprite.graphics.lineTo(100,0);
    sprite.graphics.lineTo(100,100);
    sprite.graphics.lineTo(0,100);
    sprite.graphics.lineTo(0,0);
    sprite.graphics.endFill();
    var mc:Sprite=new Sprite();
    mc.addChild(sprite);
    //This will make the sprite to center
    mc.getChildAt(0).x=-(mc.getChildAt(0).width/2);
    mc.getChildAt(0).y=-(mc.getChildAt(0).height/2);
    addChild(mc);
    mc.x=200;
    mc.y=300;
    //Now it rotates from the center.
    mc.rotation=20;

  • How to make my movie clip move slowly towards right after a few seconds?

    Hi,
    I have the following code which will bring my Banner_mc onto the middle of my Introduction page with some effects. Now, I want this movie clip to wait for a while and then move to right until it disappear with the same effects. How can I do that?
    var BannerFadeTween:Tween=new Tween(Banner_mc, "alpha", Strong.easeOut, 0 , 1, 6, true);
    var BannerRotateTween:Tween=new Tween(Banner_mc, "rotation", Strong.easeOut, 360 , 0, 6, true);
    var BannerXTween:Tween=new Tween(Banner_mc, "x", Strong.easeOut, -300 , 500, 6, true);
    var BannerYTween:Tween=new Tween(Banner_mc, "y", Strong.easeOut, -125 , 300, 6, true);
    Thanks in advance for any help in this regard.

    Hi,
    Thanks for the reply. I wnat to make one thing clear that I am using my project SWF file on computer which doesn't have any internet connection. The other thing I can't find link for downloading the plug-ins.
    When I tried to download the file from the below link, I saw the following page:
    http://www.greensock.com/club/
    Please provide the download link for greensock TweenLite & TweenMax. Thanks.

  • How to make the filter panel non-folder specific in Bridge CS6

    It seems that the filter panel is folder specific. You click on a folder and only some filters pop up depending on what folder you are looking at and what info is in the photos (I don't know if this refers to tags or not). Assuming I am right. This is my problem. I go to my main folder where all other folders and subfolder with photos within them are placed. I want to look at my "Ratings" 5 starts, 4 stars and so forth. In other words I am looking for (searching for), in this case, all those photos I have labeled with 5 stars. But no such tab/filter exists in my main folder. Why? How do I perform such a task(look for all 5-star photos I have--and also zero stars, those yet to be labelled)?
    OS: WIndows 7 Home Premium 64bit
    Thank you

    The filter panel is a shortcut for the content panel and it only effects the content of that window. So if you have a folder it will only see this as a folder and not with its content. (a Stack behaves about the same, being different in only counting the first file in the filter panel criteria but not what is in the stack itself)
    You have a view work arounds, first is use menu view / show items from subfolders (this can take some time especially if you have not used caching before on this content) and this builds visible thumbs for all content and that can be used for filtering.
    Or use the find command (Edit / find) and inhere specify the source and fill in the criteria include subfolders and this will give you the correct result.
    When you create a smart collection the find command also pops up given you the same opportunity to get the results in a collection, but since a collection is only a bunch of aliases referring to the originals you might be a bit careful with editing and deleting.

  • How to make Outlook 2013 calendar only show specific hours and hide the others that are grayed out

    I’d like to show 7am to 10pm thus allowing the rest of the day to be less cramped vertically on my screen.  I don't want to see all the grayed out hours which are
    outside of business hours.  How can I do this?

    Right click on the time scale and choose the next smaller scale. It may not help much since 7 -10 is a fairly long period, although with 30 min and the ribbon minimized, i see 7a - 11p on a 24" monitor. You may need to set 7 as the start of your business
    day. If you have it set later in options, outlook will start the day at the later time.
    I have screenshots here -
    http://www.outlook-tips.net/tips/tip-503-display-work-hours/
    Diane Poremsky [MVP - Outlook]
    Outlook & Exchange Solutions Center
    Outlook Tips
    Subscribe to Exchange Messaging Outlook weekly newsletter

  • Revision: How to make tab control stop on a specific page upon pressing Pause?

    I have a scrolling tab which scrolls through the tab pages until the user presses Pause. That works. Now I want the tab control to stop on a specific page once the user presses Pause. How to do this?

    Well, hopefully I can give a simpler explanation of my project. There is a tab control (right now of 3 pages). I have written code which flips (scrolls) through the pages, one page per second approx. There is also a Pause button. When the user presses it, the scrolling of pages stops and whatever page is shown at the time of Pausing is the page that is viewable. So that could be page 1, 2, or 3 given when the Pause button was pressed.
    But now, I would like to implement the feature that when the Pause button is pressed the tab control, through coding, has no choice but to show Page 1 (for example) or whichever page I restrict it to.
    Actually I think I've got a idea now after typing this out, but your suggestions are very welcome!
    I've attached screenshots of my code to this reply. The first two show Case States in my code (scrolling, not scrolling) and the 3rd isof the Front Panel and the tab panel itself.
    Attachments:
    TempScrolling.jpg ‏209 KB
    TempPausing.jpg ‏194 KB
    TempFrontPanel.jpg ‏156 KB

  • How to make my application icon ancor in task bar after Installation

    I want my application icon to acor in the task bar after installation such that users can right-clik on it
    do some changes to the applications. I want it in the active icons bar next to the timer (around there). How do I achieve this

    JDIC project provides this type of functionality through JNI implementation - you can take a look here:
    https://jdic.dev.java.net/

  • How to make a single image with multiple clickable points?

    Hi,
    I just started using CS4 yesterday, but am pretty confused. I managed my first little achievement with it, but am havign troubles. I'm not even sure of the capabilities of the software to be honest, but I would like to know if I can have a single image, then have sections of it which can be hovered over with a tag and a link to another part of my site. Is this something that can be done?
    Thanks!

    Hi,
    to reach several different links on the image you need to create so-called hotspot (I had to translate the following terms from my German Dreamweaver). How to do?
    Click into the image
    Open properties window
    Open list box orientation.
    Surround the image parts in question (look at the green arrow). Feel free/play with chosen forms.
    Hans-G.
    P.S.
    You shouldn't use only images on your site.

  • How to make a periodic background job to specific duration time.

    Hi, all
    Is it possible to make a periodic back ground job to specific time? (ie, run job hourly from 08:00 to 19:00, everday)
    I don't define backgorund job to offline time of legacy server.
    Thanks

    Hi
    I don't think "No start after" will work for this situation. "No start after" is only for the individual job not for whole schedule.
    I guess you have to create different job for each hour as daily job.
    Thanks.

  • How to make PDF render to handle HTML specific?

    I am having a database which has content like footer, footnotes and disclaimer. content can have HTML entities such as ampersand dagger semicolon "†" and ANSI code so that browser is able to interpert and format accordingly. We are pulling the same content for display in web page as well as in PDF. But our PDF render process fails to display since HTML entities and ANSI code are browser-specific and not PDF-specific. How to convert these HTML entities and ANSI code so that to display the same symbol in PDF?
    Any help will be appreciated.
    Thanks in advance.

    Crossposted [http://forums.sun.com/thread.jspa?threadID=5400242&messageID=10779628#10779628]

  • How to make af:inputText bind  to a specific format?

    Hi,
    I want to make af:inputText as format specific i.e., Where I can specify such that it will accept only numeric/alphanumeric/alphabetic value?
    Regards,
    Lokesh.

    Put a validator (based on a regular expression) on your input text. this will not prevent the user to enter the wrong type of character, but give you an error message when you leave the field.
    To prevent the input of characters in a field expecting numbers only you can use a javascript function and an event handler.
    Timo

  • How to make a Homescreen Shortcut to a specific File Folder ?

    I used to be able to do this using Astro File Manager on my DX but now can't see a way to do this on the Razr Maxx.
    I have a file folder on my SD card that contains a bunch of data files. I'd like to have a Shortcut to that on my screen for quick access to the files.
    Any words of wisdom on hos to do that? Maybe I need a different APP than Astro ??
    thanks in advance.

    Thanks Ann i had some Serious Eyes looking at my Maxx yesterday at my Cousins Wedding an the pictures i took was pretty good but i could use some time in that Department. Allot were asking Questions on my Maxx an they were amazed when i told them the battery life i was getting out it. Who knows some of them that were asking Questions on it might of went to the Verizon Store an got one for themselves if so i guess my Maxx did it's work for the Day!  

Maybe you are looking for

  • Can I use intelligent quotation marks on my iPhone?

    On my Mac I use "intelligent" punctuation, for example intelligent quotation marks. Can I do this on the iPhone too? Thanks :)

  • Songs not showing up in iTunes

    Recently many of my songs haven't been showing up in itunes. It happened randomly and decreased my library by about 3000 songs out of 10000 in no particular pattern (like date added, alphabetical order, downloaded songs, file format, etc.) except the

  • Safari Quasi-Hung - Mail Link to this Page - Power Cycle Required

    Hi! The other day, I was looking at a web page in Safari, hit the "+" icon and chose to "Mail Link to this Page". I chose the person I had in mind from my contact list, but realized that there were a couple others at the same firm that I should also

  • Need more info on iCould

    When you upload your music to iCould, does it remain on the hard disk of your computer? I have an iPad, but also an iPod classic which does not comply with iCould.

  • Upgraded AIX/Java - Now have JDBC Errors

    Hello All, I have recently upgraded AIX 4.3.3 to 5.1 and at the same time upgraded Java 1.2.2 to 1.4. I am now having JDBC problems in my Java programs. All Java threads run ok, however I get the following error when trying to run a JDBC call as part