Alternative to Wait step in  BPM

Hi,
I needid that I have to send the messages based on time.
There are 2 receiver,I need to receive in 10 minitues and the other  in 180 minutes.
Please Explain me the same in step by step in detailed way.
Thanks in advance,
P.Srini

My idea is same as that of Gareth.
Use a fork with two branches, each having a send mail step for each agent.
fix the desired time in the requested start of each step.
End condition for the fork will be 2 out of 2.
regards,
Sandeep Josyula

Similar Messages

  • How to add a Wait Step in BPM for the synchronous send step

    Hi,
    we have a scenario where in one of the step in BPM is a synchronous step which sends data to ECC system and gets the Respose .
    The Requirement is that we need to add a wait for the Synchronous step in BPM as the data sent to RFC(ECC) need to get comitted before sendng the response which requires some wait time.
    Currently we are getting the Response to PI from ECC where it was reported as the response is not correct.
    Is this possible to add wait

    > Is this possible to add wait
    No, this does not make any sense.
    The BPM waits for the response anyway.
    You could change the scenario to an asynchonous pair of messages.
    But in my opinion the error is inside the ECC, because the response from ECC is not correct.

  • Wait step in BPM

    Hi All,
    The minimum BPM-wait duration is 1 min and cannot be decreased below that....can we use  0.5 for 1/2 min.
    or can any one suggest what would be alternate option to achieve 2 to 3 min delay.
    One solution is to write a mapping and use udf to delay for one 2 to 3 seconds.Apart from this any other better solution
    Please suggest
    Regards,
    Vidya

    Introducing a delay of les than a minute is not possible in the BPM (using a Wait step)
    The other method (using UDF in mapping....sleep.Thread) should work and does not seem to induce any performance issue.
    or can any one suggest what would be alternate option to achieve 2 to 3 *min* delay.
    The Wait step itself should be useful for this requirement.
    For having the delay in seconds use the UDF.
    Regards,
    Abhishek.

  • Wait step in BPM stops the process permanently

    Hi all.
    I have a BPM with a Wait Step inside. When the process reaches the wait step the process gets locked permanently.
    I execute TCODE SM12, remove the lock for the process and the process finishes without errors.
    Why does the BPM hangs with the wait step? Could anybody help me with this issue.
    Thanks a lot,
    Gari.

    Hi Gökhan.
    I'm using SP12. The Self-test about BPE in RWB reports error for "Schedule Background Job for Packaging" and "Schedule Background Job for Reorganization". Details for the error say "Background job for packaging is not required".
    Thanks,
    Gari.

  • Wait step in BPM hangs!

    Hello,
    I am using a wait step in a BPM. Type is "Wait specified time period". The period is 2 minutes.
    I can see from process monitoring that my BPM reaches the above step. And then it just hangs !!!!
    Time goes by but nothing happens. The BPM never! goes to the next step.
    I cannot understand it. Such a simple step is causing me great pain!!!!
    Anynone outhere with similar experience ???
    Thanks in advance
    Dimitris Hagigeorgiou

    Hi,
    I know this question is inactive, but I had the same problem, and the proposed solution isn't correct. The problem came after upgrading to SP17- What had changed?
    Anyways, I checked the workflow customizing (trx swf_xi_customizing) and all were checked, green and good. Finally, after lots of testing and reactivating for no good, I tried executing the checked "Schedule Background Job for Missed Deadlines" function in the workflow customizing again, and behold: the scheduled job had been rescheduled after the upgrade to start 6 months into the future!? Why? No idea, but after re-scheduling, all wait step are executed nicely.
    Hope this will be helpful to some other frustrated BPM administrator someday. Regards,
    Emil

  • Alternative to Wait step.....

    Hi,
    I needid that I have to send the messages based on time.
    There are 2 receiver,I need to receive in 10 minitues and the other in 180 minutes.
    Please Explain me the same in step by step in detailed way.
    Thanks in advance,
    P.Srini

    Hi Srini,
    First you need have in BPM
    In the below both cases you should have the correlation.
    If you use two receive step one by one sequentially in Blok or out side.
    1.Wait step with wait time 10 minitues before first receive step.
    2.wait step between the two receivers can have the 180 min duration.
    If you have two receive steps in fork this will not work do as follows.
    if you use fork - message should allot randomly to receive step either 1 or 2.
    there if msg1 is in fork first branch, msge 2 in second branch of fork,
    use wait step before receive step with 10,180 min duration.
    I hope you got it clear, else let me know clearly.
    Regards
    Chilla..

  • Deadline Branch and Wait Step in BPM

    hi,
    I have 13 Suppliers for which i need to send the XML from
    a single IDOC PO.
    All the receivers are configured in the interface determination.
    For each of the receivers based on the response received, if i get any error "System Error" or "Application Error"  i need to send an email to the recepient. I will have to repeat this process until success received from the receiver or until 8 hours.
    So even after 8 hours the process fails then i need to send another email. I have to do this for all the Suppliers.
    PS: Cannot use Alerts for the above business logic. I need to check for a process (loop) for 8 hours from the time of the first failure message.
    Can anyone think of the workflow or the steps required in sequence using BPM?
    SP used : SP16.
    Thanks,
    Tirumal

    Hi Tirumal,
    Just have a look into this. This tells about the how to go on that
    http://help.sap.com/saphelp_nw2004s/helpdata/en/ca/7c5c41fe06cf1ee10000000a155106/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/e8/8e2d4233c8db2ce10000000a1550b0/frameset.htm
    Hope this helps,
    Regards,
    Moorthy

  • Wait step not copmleting

    Hi Experts,
    I am working on simple BPM scenario with recieve,send and wait steps.I have placed wait step between recieve and send step.
    The issue is wait step is not completing in process.In wait step i have given 2minutes duration.
    Anybody plz help me in this issue.why wait step is not completing.
    Regards,
    Bhuvan.

    Hi Shah,
    I have gone through thread   Wait step in BPM hangs! .when i am trying to reschedule the Schedule Background Job for Missed Deadlines it is asking for change request.If i provide the change request,is it cause for any changes in other functionality of XI.
    Please suggest me in this issue.
    Regards,
    Bhuvan.

  • Wait Step is not working in BPM, any extra settings required?

    Dear Friends,
       I am working on BPM scenario first time.
    I am sending the Idoc from one ECC system to ohter ECC system using XI.
    but in receiver side it has to updated after 60 minutes, for this 60 minutes requirment I am using Wait condition in BPM, but it's not waiting 60 minutes.
    the Idoc is receiving reciever side whenever sender is sending the Idoc.
    the Idoc is not going through BPM,it's going directly. In this case can I do some extra settings?
    In BPM  Receiver-wait-send step types are used.
    Please help me in this issue.
    Regards,
    Shalini Shah.

    Hi Abhishek,
        Thanks for immediate response.
    I have done the following steps:
    IR:
    idoc out bound interface
    Idoc inbound interface
    Idoc abstract interface for sender
    Idoc abstract interface for receiver
    Message mapping
    Interface mapping
    Integration Process(BPM)
    here Receive-wait(60 minutes)-Send these three step types are used.
    ID:
    Sender business system
    Reciever business system here I create the Reciever Communication channel
    Import the Integration Process from IR
    Two reciever determinations(source to BPM and BPM to target)
    Two interface determinations(source to BPM and BPM to target)
    Receiver agreement
    I have done like this, if any else required Please let me know.
    Regards,
    Shalini Shah.

  • BPM wait step : RWB"To Be Delivered status": SXMB_MONI"Message being sent"

    Hi All,
    I have a BPM interface running fine since 1 year.
    In this BPM I have wait step for 5 minutes.
    But yesterday message  is stopped on wait and not proceeding ahead.
    I checked XML is good as per mapping. and in runtime wirk bench message is still in "To Be Delivered status"
    and in SXMB_MONI message column Outbound Status still showing "Message being sent" even after 12 hours.(wait is only 5 minutes). And below is the trace of last message.
    Please guide how to handle or restart this message. in SMQ1 & SMQ2 there are no queues showing:
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Inbound Message
      -->
    - <SAP:Trace xmlns:SAP="http://sap.com/xi/XI/Message/30">
      <Trace level="1" type="T">--start determination of sender interface action</Trace>
      <Trace level="1" type="T">select interface Request_SI</Trace>
      <Trace level="1" type="T">select interface namespace https://www.XXXXX.com/YYYY</Trace>
      <Trace level="1" type="T">--start determination of receiver interface action</Trace>
      <Trace level="1" type="T">Loop 0000000001</Trace>
      <Trace level="1" type="T">select interface Request_SI</Trace>
      <Trace level="1" type="T">select interface namespace https://www.XXXXX.com/YYYY</Trace>
      <Trace level="1" type="T">--start determination of sender interface action</Trace>
      <Trace level="1" type="T">Hence set action to DEL</Trace>
      </SAP:Trace>
    Regards

    Solved, few BASIS jobs were inactive in transaction code "SWF_XI_CUSTOMIZING".

  • BPM(with wait step) calling another BPM

    Hello,
    I have this scenario whereby i need to call a BPM from another BPM process. Call it BPM1 and BPM2. BPM1 will have a Sync-Send-step to call BPM2.
    The following is what i have setup:-
    Working OKAY:-
    BPM1 (receive from file, send syn step to BPM2) --> BPM2(receive step (Open S/A Brige) from BPM1, send step (Close S/A Bridge))
    But if i put an wait step (for 1 minute, see below) before the send syn step in BPM1, i will have problem and the queue in BPM1 show "STOP" and the BPM2 queue show "RETRY".
    Problem:-
    BPM1 (receive from file, wait step, send syn step to BPM2) --> BPM2(receive step (Open S/A Brige) from BPM1, send step (Close S/A Bridge))
    Yes, the RETRY will work but the problem is, my BPM1 has already timeout and has ERROR (see from SWWL) and BPM2 has exceptional error in the Close A/S Bridge send step (because it can't send back to BPM1).
    Anyone has any idea how to resolve this? and hopefully the above is clear enough to discribe the problem that i'm facing now.
    Any suggestions are welcome, scott.

    The minimum BPM-wait duration is 1 min and cannot be decreased below that....

  • BPM Wait step!

    Friends,
    I have BPM which has the FOR-EACH Block in it. After the first message processed I have to wait for atleast 5 seconds to process the next message in FOR-EACH Block. The default BPM wait step has minimum of 1 Minute. Is there any other way we can make to wait for x seconds?
    Please let me know!
    Thanks,
    raj.

    The minimum BPM-wait duration is 1 min and cannot be decreased below that....

  • XI BPM Wait Step

    We are attempting to receive an IDoc into BPM and look at the begin date of a record (BEGDA) and based on the date in BEGDA send the record immediately (if system date <= today) or hold the record if BEGDA > system date.
    We have constructed an abstract interface for the IDoc and a Wait Until Specified Time, then send the message.
    The BPM does not send the message at all.
    The container field for BEGDA in BPM is populated with a string (20050524) in workflow monitoring. 
    There is no documentation we can find on what this BPM process is looking for i.e. will the xsd string inherent with IDoc's work in this BPM or do we need to transform the field into a date?
    Any help would be greatly appreciated.

    Hi David,
    I assume that field <b>BEGDA</b> is from the IDOC:
    - in the Wait Step - when you click on the <b>Date</b> property
    en <b>Expression editor</b> opens
    - then you choose your <b>BEGDA</b> field right?
    but
    below you see your <b>Xpath Expression</b> to this field and the "<b>Type</b>" is is set to <i>xsd:Date</i>? or <i>String</i>?
    if string try changing it to date because even if the <b>BEGDA</b> has Date type in the IDOC when you choose it in the <b>Expression editor</b> it becomes string but you can change it over there
    Have you checked it? 
    Regards,
    michal

  • Create BPM only for WAIT step..

    HI All,
    I am working on a IDOC-XI-File interface. Its working perfectly fine.
    Due to excellent processing times in SAP, our system ends up sending many files almost at same time( diff in milliseconds I guess) to the legacy system. However Legacy system doesnt like it and wants us to send a file every 1 second apart.
    I tried using the '
    WAIT UP TO 1 SECONDS'
    statement in R/3 ssytem but somehow system does not wait for 1 second( I guess that why they call it UP TO and not WAIT TILL ) ).
    Instead of relying on R/3 I thought of creating a BPM witha WAIT step. However have never done BPM before, so wanted your opinion before venturing into it for the following:
    1. Can I create a BPM just to introduce 1 sec delay.
    2. Since my interface is working currently, If I need to use BPM, will I have to redo the mapping etc.
    3. How much time effort do you guys think will be needed to convert an existing(working interface) to BPM interface with WAIT step. (Its an Z-IDOC with 3 segments and no-hierarchy)
    4. Any blogs, threads to do it would be highly appreciated.
    Many thanks
    Shirin

    u can use BPM to wait for other message.
    you have to create abstract message interface for BPM.
    but no need to change anything in mapping.
    use abstract message interface in interface mapping.
    use blog:
    Using a BPM to collect messages for a set interval of time
    Delivery Modes in BPM.

  • Wait step stops during PI BPM workflow

    Hello Guys,
    I'm testing the one BPM scenario in my test system, during runtime the workflow stops before wait step (only 1 min) but after 1 min the message not process and it is stucked in  'in process' state.
    Earlier the scenario works good with wait step, but now it's not working in Dev & test systems but only working in Production system,
    Note: Recently we migrated from Service pack upgraded from PI 7.31 SP06 to SP11 in all three systems.
    Do you have any idea on this error?  could you please suggest me
    Thank you.
    Sateesh

    Hello Udo,
    You are absolutely right, I reschedule my background jobs in t.code SXMB_ADM_BPE then it resolved my issue.
    And I have one more question currently my PI systems are in 7.31 SP11 and getting error ' Cache content Obsolete' (SXI_CACHE-->deltaMonitoring)
    Could you please provide me any suggestions on this .
    Thank you.
    Sateesh

Maybe you are looking for

  • Excise Duty  at the time sales and utilization

    HI, There is requirement of the client that when making the billing - Outgoing Excise Invoice. The Entry should come this way Excise Duty Suspense Account Debit To Excise Duty Collect on Sales Credit (P&L - Income) When at the end of the month when d

  • How do I get a picture to appear in browser tab?

    When I look at my site online, in the tab where it displays the page name, I'd like to have a site-specific icon in there.  I've looked at the code for some other pages, but can't figure out where I'd tell the page what to put in there.  Can anyone h

  • Internal error while printing

    Hello, One of my clients pc was formatted yesterday. I installed sap and other pre requisites on the pc and sap is working fine. When the user tries to preview any document, he gets internal error. Also, when he tries to export to pdf, he gets the sa

  • N96 produt code for OTA update?

    I'm trying to up date my n96 to v20 but I'm having problems doing it via NSU.  Does anyone know a product code that shows an update via OTA?????

  • Alle Tastenkürzel verloren in Premiere Pro CC 2014

    Ich habe ein eigenartiges Problem - bei Premiere Pro CC 2014 auf dem Mac (OS X Yosemite, aktuelle Version) funktionieren keine Tastenkürzel mehr - einschließlich Abspielen (Leertaste), Löschen (Rücktaste) oder Rückgängig (Command + Z). Einfach alles