Wait Step

Hi,
My bpm is simple scenario where i have two receive steps and one transformation step and finally one send step.
I receive two different files from different folders into these two receive steps.
Receive 1 contains
firstname (Anandh)
fileid        (1)
Receive 2 contains
lastname  (krishnan)
fileid         (1)
I have used fileid as correlation.  But when i executed the bpm, the first file and the second file was polled from their respective folders.
But when i checked the monitoring, it was showing wait step1 after receive 1.
What is wrong in this ?

Hi krishnan,
U can't use the receive step in this way. u have to use fork
chk this link for more clarification
http://help.sap.com/saphelp_nw2004s/helpdata/en/cb/15163ff8519a06e10000000a114084/frameset.htm
Sachin

Similar Messages

  • Reading the value of the "WaitForTarget" attribute of the Wait step

    I am trying to access the  "Step.WaitForTarget" attribute for the Wait step but can't find the correct syntax to use in an expression or the correct API calls to use in an action step.  I intend to use this in an expression as I am looking for a specific value.
    I have a object reference to the step that I am testing  (Locals.StepRef) and from that I have no issues reading the standard attributes like name, step type, preconditions, etc...
    How do we access the special additional properties of the wait step ?
    Solved!
    Go to Solution.

    Hey 4watt,
    One easy way to do this is to access the step reference as a PropertyObject and use GetValNumber to obtain the value. For example:
    Locals.StepRef.AsPropertyObject.GetValNumber("WaitForTarget",0)
    I tested this out and it does correctly return the value of WaitForTarget. Let us know if you need any more assistance!
    Daniel E.
    TestStand Product Support Engineer
    National Instruments

  • Using WAIT step in Sync/Async Bridge

    I am using a sync/async bridge and placed a 1 minute wait step in between my async send and async reply.  When I test my process, the async reply comes in but then my 1 minute wait eventually times out and gives me an error.  Can someone guide me in fixing this BPM design (which steps to add and how)?
    http://webpages.charter.net/kpwendel/bpm_with_wait.jpg
    I would like it to stop waiting once the async reply comes in and not timeout.  If the 1 minute mark comes and a reply never came in, it would also be nice to send back an error message.
    Thanks!

    I pulled my WAIT task and had this scenario working a week ago.  I have not made any changes, but now my inbound replies to close the BPM and link up to the request are not "linking".  The request is eventually timing out even though the reply with a good correlation id comes in successfully.  Any suggestions?
    UPDATE:  I went through my objects in the IB:Config and resaved/activated them and now it is working.  Don't know what messed them up in the first place.
    Message was edited by: Keith Wendel

  • 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....

  • ABAP OO class-based workflow, wait step

    Hello,
    I'm hoping someone is able to help me.  I've implemented a class which triggers a custom workflow through a custom event of the class.  At one point during the workflow I want to use a wait step that waits for another custom event to occur.  I've created my second event which I want to trigger from an ABAP ALV Grid report for users, that will allow them to select the specific workflows to trigger this event for.  My problem is, I am having trouble figuring out how to find the correct object instance of my class from within the ABAP program and trigger the event specifically for that instance, so that the workflow can continue and eventually complete.  I have implemented the IF_WORKFLOW interface and up to this point the workflow is functioning correctly.
    Thanks,
    Leslie

    Hello,
    Sorry, not sure where my brain was. Actually I do know: at two clients with projects going live this month, so apologies for a rushed and inaccurate response. It's CL_SWF_EVT_EVENT.
    Jocelyn's blog I referred to includes a code sample using the same class on how to raise an event with an object key.
    Regarding your second question: No you don't need to do any binding. Just use an instance of your object and it will wait for an event with the same key. The WF part is very straightforward and works exactly like BOR, it's just raising event that can't be done with the WAPI.
    Cheers,
    Mike

  • 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

  • Wait step in leave workflow wait for 20 min

    hi friends
      I have designed a multilevel ESS leave workflow. After 1st approver the status need to change from approved to sent after that i am using a wait step with condition REQ.STATUS = SENT. This condition is met immediately but it still waits there nearly 15 to 20 min after that only it goes to the next approver. I dont no y its happening even after the condition is met. There is background job SWWCOND is directly related to this wait step. I have scheduled this job for every 3 min. But its long time to execute. If i remove the wait step its shows dump. How to minimize the time of execution of the wait step.
    Regards
    vijay

    Hello,
    Let me know if I've understood the problem correctly.
    You have a workflow with two wait steps.
    These wait steps rely on the running of SWWCOND
    to check if the conditions have been satisfied.
    The workflow takes 15-20 mins to pass the first condition, even
    when already true, but takes little or no time to pass the second
    condition.
    SWWCOND is scheduled to run every 3 mins and doesn't run for more
    than a couple of minutes.
    My questions:
    - Are you absolutely certain SWWCOND runs every 3 minutes?
      Do you see that happening in SM37 while your workflow is waiting?
    - You've said that the first condition is REQ.STATUS = SENT,
      what is the second condition?
    - Is REQ.STATUS a virtual attribute?
    - Where is REQ.STATUS set to SENT? Outside of the workflow?
      Does it do so without an error? Is a commit work done?
    regards
    Rick Bakker
    Hanabi Technology

  • Wait Step in Workflow

    Hi Workflow gurus,
    I have 2 questions want to ask.
    1. We have a wait step deadline monitoring in our workflow project. Let's say 30 day wait period. After 30 days workflow is getting triggered & everything works fine. But that is really required in Production. In Dev/QA systems we do not want to wait really 30 day. We want a small time period, let's say 1 day. Now what is the best way to handle this? Meaning Different time periods for different systems for the same workflow & same wait step period.
    2. If a work item is waiting for a wait step to be completed(for ex waiting for 60 day wait period) before 60 day itself,
    can we execute manually that work item using any std report?
    Kindly help me.
    Thanks,
    Pandu.

    Hi Pandu,
    1. There are a couple of things you can do in this instance. You could manually remove the deadline after the 1 day threshold.
    Open the work item and select Edit -> Change -> Change Deadline -> Excute and then remove the Requested Start deadline
    (ensure you have Technical View set for the work item display)
    Deadline monitoring (SWWDHEX) will have to execute before the work item will transition out of a Waiting state.
    Alternatively you could store the deadline parameter externally in a config table somewhere and retrieve it into the workflow for use with your deadline. Obviously when you change the configuration from 30 days to 1 taking care to ensure that the changes are not transported to prod. Not really fond of this since there is a risk of transporting the changes.
    2. Transactions like SWIA don't allow you to execute work items in a Waiting state. So as above go into the work item and either change the deadline or execute.
    I hope this helps,
    Best Regards,
    Trevor

  • Wait step in fork

    hi all,
    i have one problem in workflow  i am using wait for event step  in fork but the event is not coming....
    i tried to create the event using function module but its not coming
    i think it is taking null object so i tried using create event step in workflow but it didnt work....
    i am creating the event through function module (activity)  but  it is not processing after that step..
    i tried to search in forum but i didnt find the solution...
    please help
    Piyush jain

    yeah i traced the event it is coming in event trace
    actually i have three events in zbo created ,approved ,rejected and accordingly i defined the activity
    for three events but the wait step is not processed yeah it is showing in event trace but the event is not coming in
    workflow step .....i am not using correlation step in that
    thanks for reply
    piyush

  • Wait step in quality is waiting for long time

    hi friends
      I have transported the workflow to quality. Am using a wait step in my workflow. Its waiting in that step for long time nearly 1 hour still its not cross the step. The workflow works fine in my developement. But in quality its not moving to the next step. i comparted the wait step in quality and developement. In developement wait step in outcomes tab green light is glowing in Actvie mode. but in quality green light is visible but in blured vision. even i have checked the configuration in swu3 in development and quality. Both have same configuration. What could be the problem that its not crossing the wait step. Plz help me
    Regards
    vijay

    hi Pavan
      I havn't used any deadline. Its working fine in development. y in quality its not working. That is my question. Even i have checked in the development wait step from the log i have these 3 steps for histroy
    Wait step created                                No errors
    Condition for wait step fulfilled               No errors
    Result Processing                               No errors
    But in quality
    Wait step created                                No errors
    Only these step is alone there. its has not yet come to other step. But my condition is fullfilling has i checked from the container elements. Am waiting for more than 3 hours. Still its not come to next step. y what could be the reason.
    Regards
    vijay

  • Wait step in ccBPM

    hello everybody,
    i have a BPM process in my PI with a fork function and 2 braches.
    I would like that second brache wait 5 second before starting .
    I tried to use wait step but i see possible values are minutes, hours, days, months, year....
    why no seconds??
    Can i set value 0,1 minutes for wait 6 seconds??
    thanks in advance
    alex

    Hi Alex,
    minimum is one minute.
    BPM is using a job to trigger a message after a wait step, so it can be in reality 1 min and 59 sec.
    But only if you customize that in
    SXMB_ADM_BPE / Automatic BPM Customizing / Maintain Runtime Environment /Schedule Background Job for Workflow Deadline Monitoring
    Set interval to 1 minute
    Regard,
    Udo

  • 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

Maybe you are looking for

  • How can i add the songs thats in my ipod to my new mac

    i purchased i new mac and would like to add the dongs thats in my 20g ipod to my itunes library. i used to have a windows pc so my ipod was formatted for windows and when i plug my ipod it shows the songs but i dont know how to save it to itunes i tr

  • Monthly Payments Iphone 4

    Hey I was just curious to what the average monthy bill is that people are paying? People who are on their own plan only please. I know most of my friends pay around 100 a month with the iphone 4 but im curious to what the average is? Whats the lowest

  • BLOB,NCLOB,BFILE doubts

    Sir Probably its look a basic question to this forum.And I am also accepting I know very little about SQL.I am basically preparing for exam 1z0-051.and want to clear a doubt. How to Insert a BLOB,CLOB,NCLOB,BFILE field? a create statement is enough t

  • "Waiting for activating, this may take some time" appears

    I have a problem, everytime i turn on my Ipad, it appears " waiting for activation, this may need some time" then i choose dismiss, Ipad works normally, but the sentences that appear are disturbing. What should I do? How to activate Ipad since there

  • All of my photos were imported from my Galaxy S3 to My iPhone 5S. How do I upload them to my MacBook and how do I delete them off my iPhone?

    I'm having issues deleting old photos and videos that were imported from my old Galaxy S3 to my iPhone 5S. I tried uploading them to my MacBook and Its not giving me an option to upload them to Iphoto, only the picutres that are in my camera roll. I