Dynamically Delay message in PI 7.1

Hi Guys,
We are on PI 7.1 EHP1.
We have a scenario where PI picks up the files. ( There might be multiple files for PI to pick-up)
On receiver we are doing a HTTP post. Receiver takes 20 sec to process each message.
The requirement is that - PI has to wait 20 sec for each message before it sends, so that the previous would get processed.
Options I looked at:
Put a wait in Java mapping/ Abap mapping/ use BPM with wait time (I have seen the same in the SDN posts as well)
--- Issue with this option is that PI picks up all the files almost at the same time, wait step above would not help because
Message 1, Message 2 will have the same wait time and go to the receiver at the same time after waiting for x secs.
Option 2: (which I think would workout)
Create an ABAP mapping, which would search for the messages -
- for the given sender, sender operation and sender interface name-space - in the last 10 mins from the current time stamp, if there are 10 messages - the current message would wait for 10 * 20 ( "number of messages" times "the wait time requested by the receiver application" )
Could you guys please share your thoughts and let me know if I am missing anything here?

You can acheive this through BPM. Follow BPMPatternMulticastSequential. Use Wait step before the send step  in the block and ignore next recv step in that pattern.
Refer Basis swcv and namespace http://sap.com/xi/XI/System/Patterns and look for the above pattern

Similar Messages

  • Dynamic Error Message from a Bundle Showed in a rich:fileUpload

    Hello.
    There is a way to show a dynamic error message from a bundle (i.e, There is a problem in the word {0} in line {1}.) in a rich:fileUpload after the Managed Bean method in fileUploadListener="#{MyManagedBean.myMethod}" attribute was performed? That's because the error message parameters are discovered only after the MyManagedBean.myMethod execution.
    As far I know, I'm able only to show a static message with transferErrorLabel="#{myBundle.myErrorMessage}" attribute.
    Here is my rich:fileUpload component code:
      <rich:fileUpload id="upload"   
         fileUploadListener="#{PlanilhaManagedBean.importar}"  
         maxFilesQuantity="100" 
         immediateUpload="true" listHeight="130" acceptedTypes="xls"  
         addControlLabel="#{bundle.geralProcurarArquivo}" 
         ontyperejected="alert('#{bundle.geralExtensaoInvalida}')"    
         cancelEntryControlLabel="#{bundle.geralCancelar}" 
         clearAllControlLabel="#{bundle.geralLimparTudo}"     
         clearControlLabel="#{bundle.geralLimpar}" 
         doneLabel="#{bundle.geralArquivoTransferidoComSucesso}"  
         progressLabel="#{bundle.geralTransferindoArquivo}" 
         stopControlLabel="#{bundle.geralParar}"  
         stopEntryControlLabel="#{bundle.geralParar}" 
         transferErrorLabel="#{bundle.geralErroNaTransferenciaDoArquivo}" /> Any idea?
    Thanks in advance.

    Hi, BalusC. Thanks for your reply.
    I already tried that. I put a navigation-rule in faces-config.xml to the same page of the rich:fileUpload, but the rich:fileUpload component doesn't starts a get or a post request. So the navigation-rule is ignored and the page wasn't rendered again.
    I also tried to put the <a4j:support ...> in the rich:fileUpload to re-render the <h:messages ...> component, but didn't work too. The <h:messages ...> wasn't re-render.
    Thanks in advance.
    Edited by: reolca on May 10, 2009 5:40 AM

  • Dynamic alert messages

    Hi All,
    I have got alert categories created by client,I have to use alert categories and dynamic alert message in BPM.i am not authorized for transaction ALRTCATDEF.Can you tell me where i can see dynamic alert messages for alert categories created.Is there any transaction or I can check in RWB in alert configuration
    Best Regards,
    Harleen Kaur Chadha

    Alert Configuration:- You use alert configuration to have the system informed you about the errors that occurs during message processing.
    *Used for alerts that occurs at IE.
    Alert Management: When you define the integration process you can specify that if a particular situation occurs at runtime a alert has to be thrown using alert management.
    *Used to handle business specific errors.
    For example if the stock falls below certain level an alert has to be thorwn to the specified user using the integration process in this case you have to follow steps defined in alert management
    Defining Alert Categories
    During alert category definition, you specify the alert text, expiry time, escalation, and all other conditions related to the sending of this kind of alert.
    1. Ensure that you are in change mode in the alert category definition environment (transaction ALRTCATDEF).
    2. Choose Create Alert Category.
    3. In the Alert Category column, enter a technical key. Choose a key that describes the situation that triggers the alert, such as CUSTCANC for a category responding to a customer cancellation. This key is language-independent and identifies the alert category. The standard namespace convention applies to the key, this means keys Z* und Y* belong to the customer name space.
    4. On the Properties tab page:
    a. In the Description field, enter a description for the alert category. Choose a description that is informative with respect to the content of the alert category. The description is language-dependent.
    b. If required, you can select a classification in the Classification field. If you do not choose a specific classification, the category is stored in the classification folder Unclassified. For more information on classifications, see Alert Classification.
    c. In the Max. No. of Dels field, specify a maximum number of times that an alert of this category is to be delivered if it is not confirmed. This refers to delivery using a communication channel other than to the recipientu2019s display program (UWL, application-specific program, or alert inbox).
    d. Select Dynamic Text if the texts of the alert category cannot be defined at this stage. This refers to situations in which the texts are not known until runtime, for example when CCMS Alerts are forwarded to ALM.
    No translation can be performed for alerts with dynamic text. System messages can be entered manually in several languages.
    e. In the Expiry Time in Min. field, you can enter a life span for alerts of this category if the alerts will no longer be relevant after a specific period of time. If the expiry time elapses, the alert is removed from the alert inbox and is no longer delivered using any other channel.
    Expiry times can be derived from various sources. Priority is given first to the data provided by the triggering application, second to the BAdI ALERT_EXP_DATE, and third to this field in the alert category definition. If none is found in any of these sources, the default expiry of 31.12.2099 applies.
    f. If you wish to specify an escalation recipient, select Escalation Active and enter the escalation recipient. Also specify a tolerance time in minutes. When escalation is active for an alert category, an alert is escalated if none of the alert recipients has confirmed the alert after this tolerance time. The escalation recipient is also informed that he or she has received the alert because of an escalation.
    The escalation functionality is based on the administrator report RSALERTPROC. This report has to be scheduled as a regular job. For information on this report.
    5. On the Container tab page, define any variables that you may want to use in the short text or long text. You can also define other application-specific variables, such as company code or material number. These variables are then replaced at runtime with values from the application. For more information, .
    6. On the Short and Long Text tab page, enter texts for the alert category. You can include text variables referring to elements of the alert container or system symbols. In the case of a container element, the variable must be defined in the alert container. The entry in the text must be in the form &<ElementName>&.
    The title is used as mail title, fax subject, and alert title in the inbox. The long text is used as mail/fax body and the long text view in the inbox. The short text is used for pager and SMS.
    7. On the Optional Subsequent Activities tab page, you can enter URLs for subsequent activities. If you trigger your alerts by calling a function module, you can also specify dynamic subsequent activities. For more information, see Triggering by Calling a Function Module Directly in Triggering Alerts.
    8. Save your entries.
    You create an alert category to use in alert rules.
    Basic alert configuration
    The specified item was not found.
    The specified item was not found.
    Trigerring alerts from UDF
    Triggering XI Alerts from a User Defined Function
    Alert Configuration
    http://help.sap.com/saphelp_nw04/helpdata/en/80/942f3ffed33d67e10000000a114084/frameset.htm
    Alert Inbox
    http://help.sap.com/saphelp_nw04/helpdata/en/80/942f3ffed33d67e10000000a114084/frameset.htm
    Alert Notification Step-by-Step
    http://help.sap.com/saphelp_nw04/helpdata/en/49/cbfb40f17af66fe10000000a1550b0/frameset.htm
    Defining Alert Classifications
    http://help.sap.com/saphelp_nw04/helpdata/en/49/cbfb40f17af66fe10000000a1550b0/frameset.htm
    Triggering Alerts
    http://help.sap.com/saphelp_nw04/helpdata/en/49/cbfb40f17af66fe10000000a1550b0/frameset.htm
    Setting up alerts
    Setting up alerts in RZ20
    Alert Management
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e04141e8-0f11-2a10-adaa-9d97b062c2df
    Alert Notification
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/90f449a8-a6db-2910-a386-d2b5999f5751
    ALRTCATDEF Editing Alert Categories
    ALRTCATDEF_SEL Define Alert Category
    ALRTDISP Display Alerts
    ALRTINBOX Alert Inbox
    ALRTMON Alert Monitor
    ALRTPERS Personalize Alert Delivery
    ALRTPROC Process Alerts
    ALRTSUBSCR Subscribe to Alert Categories
    The Alert Framework provides an interface from the Basis (Web AS) Alert Framework. You use
    transaction ALRTCATDEF to define the text, the priority, number of delivery, etc. for the alert.
    ?? To configure your alerts, proceed as follows:
    ?? To define an alert category, choose Create Alert Category.
    ?? You can also create the alert category directly by calling transaction ALRTCATDEF. In both
    cases you require the authorizations of the role SAP_XI_ADMINISTRATOR.
    Triggering XI Alerts from a User Defined Function
    The specified item was not found.
    The specified item was not found. - Alert Configuration
    The specified item was not found. - Trouble shoot alert config
    Configuring scenario specific E-mail alerts in XI-CCMS: Part  - 1 -- ccms alerts ? 1
    Configuring scenario specific E-mail alerts in XI-CCMS: Part-2 -- ccms alerts ? 2
    Configuring scenario specific E-mail alerts in XI-CCMS: Part 3 -- ccms alerts --- 3
    Alerts with variables from the messages payload (XI) - UPDATED -
    The specified item was not found.
    http://help.sap.com/saphelp_nw04/helpdata/en/49/cbfb40f17af66fe10000000a1550b0/frameset.htm
    From HelpFile
    When alerts r not displayed in inbox ?
    Then check the following
    Tcode - ALRTCATDEF_SEL
    Report - RSALERTDISP and RSALERTPROC , SXMSALERT_LOGREADER
    Did you run the report SXMSALERT_LOGREADER in SE38... If you run it, please post the corresponding logs here. If not, try to run the report giving corresponding message id and post the logs here. We will try to figure it out

  • Delayed messages problem!

    Hello there, i'm from malaysian , and i'm a iPhone user, i has some issue with my skype, where i always get a delay messages. Sometimes, take a two days to get messages from my friends, or group! Idk what problem, has any idea to solving this issue ?

    I'm having the same/smilar issue. not sure why. usually ihave to type , or somethign to force it to update. usually i get an alert but it won't show up in my list until i do as stated.

  • Dynamic mail message's through Alert

    Hi All,
    We have a requirement to send dynamic mail messages based on the alert output's.
    like if the output value is NULL then i need to send different message and if it is not null then another message has to go to the user.
    is this possible through alert??
    Thanks in advance,
    Jana

    Hi jana;
    AFAIK yes its possible, please check below links and notes:
    plz help me...!!!! Workflow Notification Mailer
    Re: EBS work flow
    Also check:
    Control - Workflow: Setup Doc ID: 113664.1
    Oracle Workflow Best Practices Release 12 and Release 11i [ID 453137.1]
    Oracle Workflow Release 12 Diagnostics Doc ID: 469822.1
    Regard
    Helios

  • Dynamic xml messages in alerts

    Hi,
    I have a ccBPM where I throw an alert on an application exception.
    I want to include the entire xml message in the alert and email it to assigned users. I tried doing a document-to-string conversion of the xml message and putting the string in alert message as &messagestring& but the value gets stripped after first 80 characters or so.
    Does anyone have experience in having dynamic xml messages in alerts? Is there any other way of doing it?Any insights are appreciated.
    Thanks and Regards,
    Suresh.

    The way we did is, before raising the alert we sent the whole message in an email (mail adapter) to the group email id.
    Sudhir /Michal can answer this best.
    regards
    SKM

  • Stopping delayed messages from going out

    I previous versions of GroupWise including current version 8, a user
    couldn't retract a delayed message even though it was sitting in the
    GWIA\GWHOLD directory. Has it been fixed that users can retract a
    delayed message that is queue in GWIA? As per TID 3800546
    http://www.novell.com/support/viewCo...800546&sliceId
    =1
    none of my clients are ready for the jump just yet to this version, but
    this has been an issue for one that is likely to make the jump in the
    summer which should be after the gamma testing period is over. I might
    then be able to entice him to go sooner
    Andy Konecny
    KonecnyConsulting.ca in Toronto
    Andy's Profile: http://forums.novell.com/member.php?userid=75037

    On 12/21/2011 9:17 AM, Andy Konecny wrote:
    > I previous versions of GroupWise including current version 8, a user
    > couldn't retract a delayed message even though it was sitting in the
    > GWIA\GWHOLD directory. Has it been fixed that users can retract a
    > delayed message that is queue in GWIA? As per TID 3800546
    > http://www.novell.com/support/viewCo...800546&sliceId
    > =1
    >
    > none of my clients are ready for the jump just yet to this version, but
    > this has been an issue for one that is likely to make the jump in the
    > summer which should be after the gamma testing period is over. I might
    > then be able to entice him to go sooner
    >
    >
    > Andy Konecny
    > KonecnyConsulting.ca in Toronto
    > -----------------------------------------------------------------------
    > Andy's Profile: http://forums.novell.com/member.php?userid=75037
    >
    >
    Nope. Once something hits GWIA, it's no longer under GW control. I don't
    see that changing.

  • Dequeue a delayed message

    How do I dequeue a delayed message (in wait state) with specific correlation ID?
    Does JMS API provide this call or I have to go to Oracle Java API?
    thanks,
    - David

    david,
    generally when u fire Deequeue command it will deeq. all the messages which r new. i do remember @ wait state but i don't think there is Force action API is there or atleast i m not aware .
    Mandar

  • Dynamic BirthDay Message On Portal

    HI All,
             I have a requirement that the Portal should show birth day greetings on the birthdays of the users i.e, as soon as the user logs in, a birth day message should be displayed. I can think of the following senarios:
    1. The Masthead Of Portal Should Change on His Date Of Birth.
    2. The Portal Should Show a Birth Day Message as a Pop-up Window.
    3. Creation of a Dynamic Role, such that as soon as the user logs in, Birth Day role is to be made visible and rest of the time, it would be invisible.
    Can some one please assist me that how can I move forward with either of these.
    Cheers!!!
    Umang

    Hi
    See make thing simple, just develop one application like Birthday Calendar which show the monthwise birthdate and employee name, there you can put common wishes for all.
    Here you can use Webdynpro java and ABAP to do it.
    As you are asking it might create complications for a big organization, even for maintaining and system performance wise.

  • 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

  • How to set a dynamic validation message in javascript

    Hi,
    I am using the "validate" event on a field, along with the "script message" field, to make a validation and send a message to the user if the test fails.
    - Is it possible to define parameters in this message, for example "field &1 is invalid" where we replace &1 by the name of a field?
    - Is it possible to send 2 different messages (I guess it's like using a message &1)?
    - What is the best practice according to your experience?
    Notes:
    - I am aware of the xfa.host.messageBox, but I'd like to keep Adobe logic for validations (am I wrong? why?)
    - I also saw the possibility of binding a field from the context, to the message field, but I found that it was not very clean to do this way (if even possible)
    Thx !

    According to the tests I did since yesterday, it is very difficult to use the "validation script message" (in the "value" tab of a "text input" field, within a dynamic table), for sending a dynamic message.
    I abandon, and prefer to use use
    xfa.host.messageBox( "dynamic message text" )
    For information, I could change the message during "validate" event, with a rather complex algorithm.
    Unfortunately, when a table row is just added (dynamically, with a button), though the message has been changed, it displays the original value. When I change the field again, the changed validation message is taken into account. I don't know why.
    Edited by: Sandra Rossi on Jul 24, 2009 9:01 AM : it's only to say that since then, this was the only solution! Question closed

  • Creating new nodes dynamically in message mapping

    Gurus,
    Source Structure is
    <Phone></Phone>
    <Phone></Phone>
    And I want to create target structure as for this Node1
    <Phones>
    <Phone1>Has value from first Phone Node in source</Phone1>
    <Phone2>Has value from second Phone Node in source</Phone2>
    </Phones>
    The requirement is that I want to create <Phone1><Phone2> .........<PhoneN> nodes dynamically based on the number of <Phone> nodes in Source Structure. The cardinality of  <Phone> node in Source is 0 to Unbound.
    Any suggestion ...?
    Thanking you all in advance.

    Hi Ivan,
    Since you have enter the xslt mapping in Message Interface mapping and both Message Interfaces (target and source) are tied with the message type. And in message type you have fixed schema, do you think it still possible to use xslt mapping to generate some of the target nodes dynamically (the nodes which are not part of MessageType/DataType)....thx?

  • Dynamically display messages in JTextArea

    Hello everyone! I have a problem with my code so i hope someone can help me out. I am not very advanced to Java but i have to create a chat program. My problem is that i dont know how to display messages from different users into my JTextArea. I haven`t connected my program to a server yet because i am still working on the interface.
    So how can i display dynamically messages so that it looks like an interactive chat window. Here is my code.
    Please bear in mind that i will use only a username not a password.
    Thanks
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.*;
    import javax.swing.JFrame;
    import javax.swing.JTextArea;
    import javax.swing.JTextField;
    import javax.swing.JScrollPane;
    public class Jchat extends JApplet implements ActionListener
         JLabel label1 = new JLabel ("Welcome to ... CHAT");
         JTextField write = new JTextField(30);
         JTextArea output = new JTextArea(10,35);
         JButton button1 = new JButton("Send");
         JButton button2 = new JButton("Clear");
         Container con = getContentPane();
         Font headline = new Font("Georgia", Font.ITALIC, 18);
         JScrollPane scroll = new JScrollPane(con,ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS,ScrollPaneConstants.HORIZONTAL_SCROLLBAR_ALWAYS);
         JScrollPane scrollOutput = new JScrollPane(output);     
         public void init()
              con.setPreferredSize(new Dimension(700,400));
              label1.setFont(headline);
              con.setBackground(Color.gray);
              con.setLayout(new BorderLayout());
              con.add(label1,BorderLayout.NORTH);
              con.add(output,BorderLayout.CENTER);
              con.add(write,BorderLayout.SOUTH);
              con.setLayout(new FlowLayout());
              con.add(button1,BorderLayout.EAST);
              con.add(button2);
              button1.addActionListener(this);
              button2.addActionListener(this);
              write.addActionListener(this);
              write.requestFocus();
              //cannot change text in the text area screen
              output.setEditable(false);
              output.setLineWrap(true);
              //scrollOutput.setVerticalScrollBarPolicy(38);
              setContentPane(scroll);
         public void actionPerformed (ActionEvent e)
              Object source = e.getSource();          
              if (source == button2)
                   write.setText(" ");
              else if (source == button1 || source == write)
                   String input = write.getText();
                   con.add(output,BorderLayout.CENTER);
                   output.setText("User says: " + input + '\n');
                   validate();
    }and the other one
    <html>
         <head>
              <title> </title>
         </head>
         <body>
              <APPLET
                   CODE="Jchat.class"
                   WIDTH=500
                   HEIGHT=300>
              </APPLET>
         </body>
    </html>

    the border layout declaration has nothing to do with my question.Maybe not, but at least it would should that you took the time to read the suggestion.
    And what you advised me to use TextArea.append(...); is not very specific.Well, neither was your question, so I gave the best suggestion I could. If it wasn't helpfull, then I would assume you would post a followup question to clear up the confusion.
    setText(...) replaces all the text in the text area.
    append(...) adds the text to the bottom of the text area.
    If you didn't understand how/why to use the append(...) method why would you create a new posting? Would you not post a followup question in the original posting? Are we supposed to be mind readers and guess that you can't read the API to determine how a method should be used?
    Of couse maybe I don't understand what you mean by "interactive chat", in which case reposting a question with the same wording won't help get the problem solved either.

  • JMS Receiver - set DCJMSMessageProperty value dynamically from message

    Hi,
    I have a JMS Receiver where I want to set a DCJMSMessageProperty value to a value from the message contents
    For example:
    Scenario 1:
    Message content field <EANCode>123456</EANCode>
    DCJMSMessageProperty6 should be set to 123456 in this instance
    Scenario 2:
    Message content field <EANCode>99999</EANCode>
    DCJMSMessageProperty6 should be set to 99999 in this instance
    I know how to set this property to a fixed value using the module DynamicConfigurationBean but do not know how to make this value to use message content.

    Hi,
    As stated earlier, I need to set DCJMSMessageProperty on the communication channel to a value held in the content not a fixed value.
    I will use a UDF to do this now as there are only certain dynamic values you can use using the DynamicConfigurationBean such as message ID, interface name etc. I want to use something in the content so a UDF should be able to do this.
    Cheers
    Colin.

  • Is there a dynamic delay for feedback z nodes?

    It seems the delay on the feedback node can only be hard coded. Is there a dynamic way to set the delay?

    No there is not. The feedback node allocates room for all the data at compile time, so it must know then how large the delay is.
    For a dynamic buffer size, you might search the forums or web for a LabVIEW circular buffer example, of which there should be many.
    Jarrod S.
    National Instruments

Maybe you are looking for

  • Can't get it to work with css z-index

    I am trying to get the naviagtion.swf just above the movie.swf file. But when I use the z-index property in css, it's always the other way around (the movie.swf on top of navigation.swf). Here is what I have: <div style='position: absolute; z-index:

  • Form created as PDF/A isn't editable

    I am using Adobe LiveCycle Designer 8.0 and Adobe Acrobat 8 Professonal (version 8.3) on a Windows XP machine. Using LiveCycle Designer, I created a PDF Form from a Word document, saving it as a PDF Form. I then reopen the PDF Form in Acrobat, go to

  • Pse 7.0 can you add a 3rd party layer style to existing category?

    I've seen and understand the instructions I found on installing a layer style from a third party, but it shows creating a new category for each one through the xml.  I have a bunch of free layer styles that actually fit into existing categories (like

  • Has anyone managed to install aperture 2 with a 12" G4 laptop?

    Mine runs Leopard 10.5.2 with a 1.5 Ghz processor and 1.25GB of memory. The system checker says it's fine but it tells me my graphics card will not work it properly. My graphics card is the GeForce FX Go5200. Has anyone managed to get it installed, i

  • EDitorKit development -- XMLEditorKit

    Does anyone know if future versions of Java will include a XMLEditorKit, or is something like this available elsewhere? I am attempting to build a simple text editor capable of highlighting XML tags, elements, attributes, etc. with different colors t