Throw alert: control step

hi forum,
can u help me in knowing the         action: "throw alert"    in CONTROL step in the BPM

Sudheep,
Take a look at this blog.
It describes this step by step,
/people/michal.krawczyk2/blog/2005/03/13/alerts-with-variables-from-the-messages-payload-xi--updated
Regards
Bhavesh

Similar Messages

  • Dynamic alert messages in BPM control step not getting created

    Hi All,
    in transaction ALRTCATDEF, i have specified dynamic text for my alert category...........
    in my BPM there are 3 control steps.....and i am using this alert category in all of my BPM 3 control steps..... but the alert messages in my 3 control steps are different.........But these alert messages(which i am giving in BPM) is not coming in the alert mail in alert inbox but it gives the common message in long text(which i gave in long text while defining the alert category)......
    <b>So can anybody suggest me why my BPM alert message is not coming in the alert generated by BPM control step in the alert inbox of runtime workbench.</b>
    Thanks,
    Rajeev Gupta

    Hi Rajeev,
    Please check if you have done the following steps:-
    check the dynamic text box available in alrtcatdef transaction, while creating the alert.
    In the bpm, create a variable of simple type in a container
    Included the container operation and the control step.
    For the container operation - give the right simple type variable container
    For the control step, specify the correct alert category (this should be the one for which the dynamic text is enabled)
    The alert message that you specify here should have text which will be seen when the alert raised
    *To capture the dynamic alert in the alert message, which is caught by the container step in the bpm....you will have to give the name of the simple type variable
    between two ampersands(&).
    "But these alert messages(which i am giving in BPM) is not coming in the alert mail in alert inbox but it gives the common message in long text(which i gave in long text while defining the alert category)......"
    On checking the dynamic text option in the alert category defined, you will not have the option of giving a message in the long text. So, there is no way that the long text can be seen - 'cuz you are not defining it in the first place! Hence, either you have given the wrong alert category in the bpm or have not cheked the dynamic text option.
    Regards,
    Sushumna

  • Alerts in Control Step for BPM

    Hi.
    Is it possible for me to use the Control Step in a BPM to trigger a indication of a error in sxmb_moni?
    Fo example. My BPM handels a message that fails in a mapping. In the exception bransch I have a control step thattrigegrs an alert. Will this alert show up in sxmb_moni?
    If so is there anybody out there who has a blog or guide on how to setup that configuration?
    BR
    Kalle

    Is it possible for me to use the Control Step in a BPM to trigger a indication of a error in sxmb_moni?
    yes
    In transaction ALTCATDEF create an alert category and do not forget to check the Dynamic Text checkbox......then go to RWB ---> Alert Configuration and creat an alert rule for Integration Engine ....this willl give you all the alerts that happen in Integration Engine or in your SXMB_MONI
    Regards,
    Abhishek.

  • Triggering alert in control step?

    how to trigger alert in control step of BPM? please guide me the differenent situations we use this alert and how we trigger?

    hi,
    please go through these links,
    Alerts
    Configuring scenario specific E-mail alerts in XI-CCMS: Part  - 1
    The specified item was not found.
    transaction handling in XI
    The specified item was not found.
    regards,
    navneet

  • Control step for exception in BPM

    Hi
    i am tring to learn exception in BPM.
    i inserted this Send step (Synchronous) in exception branch in block. and then inserted control step in exception branch.
    i created Errorsend as abbreviation on exception in block.
    and assigned this to system error under exceptions in send step. and then defined on Exception handler,
    and now <b>i could not define anything</b> on exception in control step for action as Throw Exception, i am not looking at Throw alert.
    i made receiver jdbc error and also mapping error in intentionally. when i see sxmb_moni, i can see jdbc error as normal process like not using exception branch.
    i would like to complete exception branch and control step for finishing touches.
    thanks
    venjamin

    hi,
    send step is for synch and jdbc,,,
    abaproxy to jdbc (sync)
    i made receiver jdbc error intentionaly. can i send back exception log to sender system program or send email to someone?
    when have you been using this function in bpm? if i am not right way.
    thanks
    venjamin

  • Add 2 container variables in control step BPM

    Hi All,
    I have a scenario where I need to add 2 container variables in control step under AlertMessage and I am using under exception branch
    Control Step
    StepName: XXXX
    Action      : XXXX
    AlertCategory: XXXX
    AlertMessage: ?
    I am successful putting one container variable in alert message with &AAAA& but I want to add another variable values &BBBB& as well.
    When I tried to keep variables as &AAAA& and &BBBB&..I can return code 99 in sxi_cache.
    How can I achieve this with BPM..I am using sap pi 7.0

    may be i need to explain more clearly..
    I have 2 container variables with simple type which holds 2 different payload values.
    Under exception branch I have a control step to throw alert. In this I need to pass alert messages with these 2 varaibles.
    As I said earlier I am able to pass successfully one container variable value but when I insert the second variable it is not picking up and when I check sxi_cache the IP return was 99 which means some error occured while assiging these values.( I tried in different ways)
    But when I inserted has &AAAA& and &BBBB& then reuton code was 0 but whn I run scenario it is not populating both values
    Can anyone please help me how I can populate 2 variable values in alert message under control step.

  • Regarding Control Step

    HI friends,
    Can we send some user friendly messages using control step (throw alert ) mechanism.
    E.g I have to process 1000 records then in the sending step of BPM if i have to insert some text message to Moni then can i use control step so that after every message is sent i get some message at the moni .
    Is there any other better way to do it.
    Regards

    If you have mapping in your scenario, it'd be simpler if you just inputed some trace into AbstractTrace object (using .addInfo(String message) method).
    Regards,
    Henrique.

  • How to throw alert on transformation failure

    Hi all,
    I want to throw alert when a transformation step fails
    need help.
    Ranjit

    Are you talking about an error in a BPM step ?
    If yes, put this step in a block and define possible excpetions for this block..one fo them being the mapping exception....and then in the transformation step...in the exception field mention the related exception...
    now in the block, there has to be an excpetion branch hanldin this exception...
    trigger an alert in the branch using control step....
    Thanks.

  • Problem with the control step in a BPM

    Hi All
    My BPM is :
    There is a block , the first step is a Receive,  the second is a  Send(synchronus) step after there is a switch step. Depending on the result of Send step the switch step  goes to an other send step or it goes to a control step and  throws Exception .
    Checking the  BPM  a warning message occurs  , it says "Exception APError will not be caugnt" as APError is the exception defined in the Block .
    Running the BPM , the control step does not work
    Does anyone has an idea what is the problem ?
    Thanks
    Antonis

    Just defining the exception in the block step is not enough.
    You also have to "catch" it in an exception branch.
    That message usually occurs when the Block does not have any Exception Branch associated to that exception.
    Make sure you have at least one exception branch in your block step and that it is associated to the APError exception.
    Regards,
    Henrique.

  • Trigger an exception in BPM ( Control Step )

    Hi everyone,
    I have a BPM which has a switch with three branch, one of them has a transformation to generate a mail structure and a sender to send the email, now I need throw an exception after send the email, I have think use a control step to do it, but I don't know how use the control step to throw an exception.
    Could someone please help me?
    Thanks, in advance.

    Jose,
    Please refer to the following url
    http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
    Also refer to the example scenarios in the Design: Integration Builder.  For example
    <b>Software component</b> SAP BASIS
    <b>Software component version</b> SAP BASIS 6.40
    <b>Namespace</b> http://sap.com/xi/XI/System/Patterns
    <b>Integration Scenarios and Integration Processes</b>
    <b>Integration Processes</b> BpmPatternReqRespTimeOut
    Regards,
    Mike

  • Use a control step in BPM

    hi all
    Is it necessary to use a control step in BPM while using exception handling.
    If yes then is it to be used in the exception branch?

    >>is it necessary to use a control step in BPM while using exception handling.
    No..
    You can use control step only if you want to
    ·        Terminate the current process
    ·        Trigger an exception
    ·        Trigger an alert for Alert Management
    http://help.sap.com/saphelp_nw04/helpdata/en/bb/e1283f2bbad036e10000000a114084/content.htm

  • ** Exception Throw in Fork Step - How to inform ?

    Hi Friends,
    Customer sends 2 IDoc DEBMAS, ADRMAS. The conditions is when both the IDocs is having the same customer no we need to send to the outside system.  (DEBMAS - E1KNA1M - KUNNR) equals to (ADRMAS - E1ADRMAS - OBJ_ID).
    I have designed BPM for this : Start --> Fork Step --> 2 Receive Step --> Correlation mentioned in 2 receive step --> Next Block --> Fork --> Transformation Step & Send Step (Two sets : 1 is for DEBMAS & 2nd is for ADRMAS)
    I have checked the design. It is semantcially correct. But, I have the following doubts.
    1) If no matching records found in first block (DEBMAS customer no is not equal to ADRMAS) how much time the fork will wait ?
    2) To effect this, 'Exception Branch' is inserted. After Fork which contains 2 receive steps, one control step is inserted to trigger an exception. Question here is, after how much time, this control step will trigger an exception
    3) What is the purpose of 'End Condition' Property in Fork Step ? Is it required.
    Could you kindly help me friends to clarify the above 3 points. If those clarified, my BPM will be complete.
    Thanking you.
    Kind regards,
    Jegathees P.

    >
    Jegatheeswaran Pitchaimuthu wrote:
    > Hi Friends,
    >
    > Customer sends 2 IDoc DEBMAS, ADRMAS. The conditions is when both the IDocs is having the same customer no we need to send to the outside system.  (DEBMAS - E1KNA1M - KUNNR) equals to (ADRMAS - E1ADRMAS - OBJ_ID).
    >
    > I have designed BPM for this : Start --> Fork Step --> 2 Receive Step --> Correlation mentioned in 2 receive step --> Next Block --> Fork --> Transformation Step & Send Step (Two sets : 1 is for DEBMAS & 2nd is for ADRMAS)
    >
    > I have checked the design. It is semantcially correct. But, I have the following doubts.
    >
    > 1) If no matching records found in first block (DEBMAS customer no is not equal to ADRMAS) how much time the fork will wait ?
    > 2) To effect this, 'Exception Branch' is inserted. After Fork which contains 2 receive steps, one control step is inserted to trigger an exception. Question here is, after how much time, this control step will trigger an exception
    > 3) What is the purpose of 'End Condition' Property in Fork Step ? Is it required.
    >
    > Could you kindly help me friends to clarify the above 3 points. If those clarified, my BPM will be complete.
    >
    > Thanking you.
    >
    > Kind regards,
    > Jegathees P.
    your design should be Fork with two receive steps and correlation should be the customer number field for both. This will ensure that only when the customer numbers are equal the BPM will process further.
    Now you need to handle the exception using a block step around the fork step. You can define a time of your choice until how long should the BPM process wait to receive the different idoc with the same customer num. If within the specified time it is not received then you can raise a exception, trigger alerts etc. as u need.

  • Alrt with field Lelvel Info - By using Container Operation and Control step

    HI,
    I have developed File to File scenario from /people/michal.krawczyk2/blog/2005/03/13/alerts-with-variables-from-the-messages-payload-xi--updated
    I created Integration Process in IR with two BPM steps Receive and Send step.
    Since I need a filed level info on alerts...I have included Container Operation and Control steps in between receive and send like..
    Receive --- Container Operation --- Control step -
    Send
    And now I have created the Alert category in Alrtcatdef and used the same category in control step.
    I have tested the above scenario with error message ( with mapping fail )...But I am unable to find the alert in the system?!!
    ---S

    HI Stallin
    Did alert generated by BPM itself. Check with BPM workflow.
    Another thing while generating alert from BPM, standard alert element will not work with BPE engine. Create elements for the same
    Thanks
    Gaurav

  • BPM Exception Handling control step

    Hi,
    Does anybody have any idea, whats the variable we need to pass in the control step of exception handling  in BPM? and how to map the error message back to the RFC Response.
    I had Transformation step, in that mapping is also there.
    Is there any ideas??.
    Thanks,
    Raj.

    Hi,
    The requirement was to send the exception that occured to a target (say file).
    <i>insert a block for the exception</i>
    You cannot place an exception step without a block right... thats what i mean by the above statement.
    Now, just after the exception has taken place, if i put a transformation step, and a send step, you will be taking care of sending the exception message to the target.
    <i>how to build the exception message ? It should map from what?</i>
    You could build a data type for the exception.
    In the mapping, you could map it to constants. For ex:
    if you build your DT as
    <excep>
    <code/>
    <desc/>
    </excep>
    You could map the description to a constant string "timeout".
    After this, the send step will send the message to the file, through the abstract interface that you create.
    Regards,
    Smitha.

  • Largedataset in spry causes IE to throw alert

    HI,
         I am using spry to load a large datset which consists around 1000 records. I am using the code snippet mentioned below to load the records from xmlstring which i get from server side.
    var 
    xmlDOMDocument = "";
    var 
    agencyAccounts = new Spry.Data.XMLDataSet(null,"list/choicePointAccount");
    xmlDOMDocument = Spry.Utils.stringToXMLDoc('<%=(String)request.getAttribute("dataXMLString")%>');
    agencyAccounts.setDataFromDoc(xmlDOMDocument);
    when runnig this script IE throws alert "script is causing IE to run slowly. DO you want to abort this script?" When clicked on NO all the records are displayed properly.  Is there anyway by which this alert message could be avoided.  I tried some ways of doing it using settimeout and all. But none of them is working. I know this could be resolved by changing the system registry value. But i cant go for that as this is a part of a web applciation and end users will be getting the same alert.
    Kindly let me know asap how this alert can be avoided through code.

    sathyaks wrote:
    HI,
         I am using spry to load a large datset which consists around 1000 records. I am using the code snippet mentioned below to load the records from xmlstring which i get from server side.
    var xmlDOMDocument = "";
    var agencyAccounts = new Spry.Data.XMLDataSet(null,"list/choicePointAccount");
    xmlDOMDocument = Spry.Utils.stringToXMLDoc('<%=(String)request.getAttribute("dataXMLString")%>');
    agencyAccounts.setDataFromDoc(xmlDOMDocument);
    when runnig this script IE throws alert "script is causing IE to run slowly. DO you want to abort this script?" When clicked on NO all the records are displayed properly.  Is there anyway by which this alert message could be avoided.  I tried some ways of doing it using settimeout and all. But none of them is working. I know this could be resolved by changing the system registry value. But i cant go for that as this is a part of a web applciation and end users will be getting the same alert.
    Kindly let me know asap how this alert can be avoided through code.
    I'll give you a nutshell version:
         limit the amount of rows, IE is not build to handle such large data sets.
    or
         build a custom chunking engine parses the XML in IE. (This is probably the function that causes it: Spry.Data.XMLDataSet.getRecordSetFromXMLDoc)
    or
         Try using the latest SpryData.js (version 1.7) to see it that resolves any issues http://labs.adobe.com/technologies/spry/preview/

Maybe you are looking for

  • How to avoid version information in http response

    Hi, We have a SAP java web application in webdynpro framework developed using SAP NetWeaver. If I right click on broswer and see View Source of the page, it is displaying information related to Development components, java version, SAP version etc..

  • Predictive typing problem in ios 8.1.3

    I think predictive typing is not good after updating ios 8.1.3. What's happening ? I turned on and off again and again, but still the same. Why?

  • Remember Playback Position still broken in 3.1

    On a mac. Description of problem: 1. Mark a song to 'Remember Playback Position' 2. Connect iphone and sync song. 3. Remove iphone from cable. 4. Play song. 5. While song is playing, connect cable. 6. Sync iphone. 7. Remove iphone from cable. 8. Play

  • Proxying EJB Container Request

    Hi, As part of our application we have an Applet that requires communication with EJB Container objects (Session beans, Message-driven beans ). Rather than executing RMI calls directly to the WLS Cluster we would like to proxy these requests through

  • Hi BW Guys,...I want the info regarding HRA extractors

    Hi, In our project we are going to implement HRA module. We are using R/3 is ECS and BI 7.0 version. Please send the related documents and what are business content information........ I would like to extract all info types data into BI side. InfoTyp