Wait for event Node - (ParForEach index 000000)

Hi all,
I have a wait event and my work flow resulted in error at this node with the (ParForEach index 000000) error..
what might be the problem..
Thanks in advance,
Sethu

I've been facing the same issue as the guy above.
Here is my log from SWI2_DIAG.
Error when creating an event item
Error when creating a component of type 'Passo de espera' -->or 'Step' or 'Wait event'
Error when processing node '0000000070' (ParForEach index 000000)
Error during result processing of work item 000027142544
Error within method CL_SWF_RUN_WIM_EVENT->_CREATE_WORKITEM_CONTAINER
Error within method CL_SWF_RUN_WIM_EVENT->_GET_INIT_WORKITEM_CONTAINER
Workflow 000027142543 wait step 0000000070: No valid object ID in container element 'ZPP_DESVIO'
Work item 000027142543: Object FLOWITEM method EXECUTE cannot be executed
Error when processing node '0000000070' (ParForEach index 000000)
Error when processing node '0000000070' (ParForEach index 000000)
Thanks in advance!
Edited by: João Henrique Araujo on Mar 23, 2010 9:08 PM

Similar Messages

  • Error in Workflow wait for event node

    Hello Experts,
    I am working on one QM notification. I shall explain the scenario first:
    1) User will take the usage decision on inspection lot in QA11. When user will take decision and save inspection lot BUS2045 event USAGEDECISIONMADE will be triggered and initiate my workflow here.
    2) After workflow initiation system will create notification and send to approver, but here i have wait step in my workflow for BUS2078 - Created (Notification).
    wait for Event step
    BO: BUS2078
    EV: CREATED
    I am posting error below:
    Error when starting work item 000000294361
    Error when processing node '0000000060' (ParForEach index 000000)
    Error when creating a component of type 'Wait Step'
    Error when creating an event item
    Error within method CL_SWF_RUN_WIM_EVENT->_CREATE_WORKITEM_CONTAINER
    Error within method CL_SWF_RUN_WIM_EVENT->_GET_INIT_WORKITEM_CONTAINER
    Workflow 000000294361 wait step 0000000060: No valid object ID in container element 'Notification
    Node 60 - wait for event step.
    Re.,
    Guri

    Hi,
    Based on your description what I felt is you are making use  of a wait step in which you have choose to wait till BUS2078 event CREATED is occured ... right.. Now can you please clear me that where and how this event will triggered.
    or is it some thign like you are making use of event creator step and in this case, When ever you are making use of the eventcreator  step and a BOR object inside it make sure that specific BOR object is already instatitaed in the workflow container , if it is instantiated then only it will try to identify the instance  or the BOR and it will try to rasie the event.
    Regards
    Pavan

  • Workflow -  Wait for event

    I have a requirement like this:
    In the workflow, judge an object is released or not. If not release. the workflow will stop.
    Now we need to write a program to check the status of the object every 15 mins, if the object is released, then an event will be raised to allow the pending workflow to continue.
    How do I achieve this?

    No Problem Yu,
    See below. Rough steps but I think you can fill in the meat on bones.
    Creating event.
      Step 1. Execute SWO1  it is O not zero.
      Step 2. Create business object. If you do not have one already. I assume you do not have one. Make sure you define key fields which uniquely identifies your object.
      Step 3. Create one event under events node. Make sure key fields are part of event parameters. Save and activate object.
      Step 4. Now triggering the event. In your besopke program which will run as background job. Once you decide object is released. The call function module SWE_EVENT_CREATE to trigger workflow. example given below. Check where used list of this FM you will find many examples. Use any example where EVENT_CONTAINER parameter under tables is being used you'll need this to pass data to event parameters.
    CALL FUNCTION 'SWE_EVENT_CREATE'
      EXPORTING
        OBJTYPE                       =  T_OBJTYPE
        OBJKEY                        =  T_OBJKEY
        EVENT                         =  T_EVENT
            CREATOR                       = ' '
            TAKE_WORKITEM_REQUESTER       = ' '
            START_WITH_DELAY              = ' '
            START_RECFB_SYNCHRON          = ' '
            NO_COMMIT_FOR_QUEUE           = ' '
            DEBUG_FLAG                    = ' '
            NO_LOGGING                    = ' '
            IDENT                         =
    IMPORTING
       EVENT_ID                      = T_EVENT_ID
    TABLES
       EVENT_CONTAINER               = T_EVENT_CONTAINER
    EXCEPTIONS
       OBJTYPE_NOT_FOUND             = 1
       OTHERS                        = 2
    Creating wait step.
        When you insert a new step in workflow it will ask you the kind of step you want to insert. Choose wait for event and after that it is not very tough all you have to give is give business object and event name. Do binding, this is important as this will make sure your workflow is reacting to correct instance of object.
    Warm Regads,
    Anuj Nagpal.
    Edited by: Anuj Nagpal on Sep 17, 2009 5:32 PM
    Edited by: Anuj Nagpal on Sep 17, 2009 5:33 PM

  • Process chain Error: This AND process is not waiting for event RSPROCESS

    Hi All,
    I am facing an error in the process chain in PRD.
    Error message: This AND process is not waiting for event RSPROCESS.
    We had a process chain which had two sub chains which run parallel and below of this we had AND process type and below of the AND process we had 4 more jobs.
    Once the two subchains got successfully loaded, the and process should turn to green and further 4 jobs should start.
    It is a daily load , it worked fine from past years,but suddenly the AND processtype is getting failed.The thing is in the two subchains if one got completed, the AND process process is not waiting for 2nd subchain to get completed.The AND process is turning to RED (status: cancelled) . I tried to repeat the AND process once after above 2 subchains loaded, but it didnt worked.
    And i removed the existing AND process and created a new one and placed it in same place and activated and schedules again.but still it is getting failed with same error.
    Thanks in advance,
    Sai Chand.S

    Hi,
    If you did any transports related to that metachain we face similar kind of issues.
    not only the AND process , we need to remove all the process before executing the AND process and create it again.
    It helps you, you said your in production So you should take the proper approvals and do it.
    Regards,
    Yerrabelli.

  • Query on Using fork with wait for event

    Hi All,
    I have a scenario in which a fork has two branches and one branch has the multiple steps along the line and also calls a subworkflow in one of the steps.
    The second branch has a single wait for event to complete the workflow in case of a cancel event.
    My understanding is that when the branch one executes and is on a single step decision or have gone inside a subworkflow and wating for user decision on the workitem created
    Whenever the wait event is triggered on the main workflow the second branch gets executed completing the workflow and all the branch one steps and the subworkflow gets logically deleted removing all the workitem from the inbox.
    Do I have to do any specific process control in main workflow to make sure that the subworkflow is deleted .
    Please clarify on this.
    Thanks,
    Charan.

    It should be taken care by itself. No additional steps required.
    Regards, IA

  • Bpm:message being sent and wait for event

    Hi,gurus:
    My scenario is about BPM.In the integration process I used a loop and correlation.The scenario worked successfully yesterday,but after I changed some thing,it did not work.The outbound status of the message in sxi_monitor said "message being sent".And when I clicked PE to see the workflow log, it said " wait for event".
    Thanks in advance.

    Could you tell me how to reimport the integration progress in ID?
    reimport means...delete the already imported BPM from ID.....this would affect the corresponding ID objects....save and activate....and then again run the import Integration Process wizard....create the objects once again.....seems time consuming.....hence mentioned it as the last option in the list:(
    Also from SWWL delete only the instance with status as ERROR.
    Edited by: abhishek salvi on May 20, 2009 9:30 AM

  • Message being sent and wait for event - BPM help.

    Hi Experts,
    I am doing BPM interface, in that i am receiving two files. Between these two files, i have set the coorelation in the BPM and included in the BPM's receive step1 and receive step2. After execution, when i look into the sxmb_moni, message status shows processed successfully, but when i look the Process engine status, it shows Message Being Sent and when i look into the BPM monitoring it shows message wait for event in the coorelation object.
    I have gone through the following forum :
    Link:[https://forums.sdn.sap.com/click.jspa?searchID=27600139&messageID=7561954]
    but everything is green and messages are set to Message being sent status.
    Experts kindly advise me.
    Regards
    Mani.

    Hi Abhishek,
    Here i have given my BPM design,
    Start
    Fork - two branches
    Branch1 - Receive File1
    Branch2 - Receive File2
    Transformation
    Send
    End.
    In coorelatin editor, i have specified container,involved messages and properties clearly.
    I have gone through the SAP basis contents as per your previous reply.
    One thing is, i have used the same design for my other interface, it is going through, but specifically for this interface i am getting error. If you could send me your mail, i will send you the exact screen shots, so that you can advise me.
    Pls i need to complete this in a short period, kindly help me to come out.
    Regards
    Mani..
    Edited by: mani_sg on Jun 18, 2009 10:21 AM

  • Problem with wait for event

    Hi everyone,
    I'm using wait for event step in my workflow of a custom event called zevent2.
    I'm not using the event as a start event of the workflow.The event is getting triggered at a certain point of the workflow programmatically.
    So for that what should be the entry in SWE2? I've maintained the following entry for zevent2 at swe2 tcode.
    Object type: BUS2000126
    Event: ZEVENT2
    Receiver type:
    Receiver function module: SWW_WI_CREATE_VIA_EVENT_IBF
    In swel I'm finding out that event got triggerd but it is giving error "No Receiver Entered".
    And the workflow is getting stuck at 'wait for step event'.
    So can anybody please tell me what is the step am I missing? is the swe2 correct?
    Thanks & Regards,
    Anirban

    HI....
    you have to specify RECIEVER TYPE without which you will be getting this error
    goto SWE2 and give the value and your problem will be done
    regards
    Edited by: Mohit Kumar on Feb 20, 2009 10:50 AM

  • Error in "Wait for event" step

    Hi,
    I try to use a wait for an event (CREATED) on a delegated subtype to business object KNB1.
    Container element in the wait step is empty at the time of creation of the runtime wait item but I know what the key of the container element has to be so my idea was to set in a check funktion module in trx. SWEINST and filter out irrelevant events.
    But when the waitstep is to be created, the workflow goes into error: WL 442 No valid object for the container element.
    Should this not be possible?
    Any suggestions for another solution?
    I have also tried to instantiate the object before the wait for event step - but since the object does not exist in the database yet - method GENERIC.INSTANTIATE goes in error, too.
    WAS 700 sp 11 with ERP 6.0 but also tried on a 620 with 4.7
    Thanks,
    Regards,
    Claus Lücking

    Hi Mark,
    Yes, you are right - I am waiting for an event on a object not yet created:
    I am waiting for a customer to be created in FI via change documents (table KNB1). Since the customer is going to be created in a company code that has a one-to-one reference to the sales organization where it is created first, I know the key of FI customer to be created.
    Example: A Customer 23 is created in sales area 1000-01-01 and the workflow is triggered via an event KNVV.CREATED. Then I would like to wait for event KNB1.CREATED for customer 23 in company code 1000.
    Thanks,
    Claus.

  • Error in wait for event activity

    hi all,
    i am gettin gfollowing error when i am using wait for event activity in my WF.
    wait step 0000000088: No valid object ID in container element 'EVENT_BOR'
    'EVENT_BOR' is my container element of type BOR object which contain event.
    please tell me correct way to use wait for event step.
    i am using this on one parallel branch of Fork.
    thanks.

    Hi,
    check the event in SWO1 if there is an import parameter defined. If there is one you have to define the binding in the task waiting for event. You have to bind the relevant object type from workflow to containerelement &_WI_OBJECT_ID& of the event container.
    reagrds,
    Steffen

  • NiDCPower Wait For Event

    Hello,
    I am using the PXIe-4139 SMU to source a current sequence that starts when a trigger is received and takes about 40 seconds to complete.
    After the niDCPower Initiate VI I have inserted the niDCPower Wait For Event VI with a timeout set to 300 seconds to allow for enough time to receive the trigger and complete the sequence. This VI waits for the Sequence Engine Done Event.
    Now this works fine, however, when the user wishes to stop the programm for whatever reasons, they have to wait the full 300 seconds until the Wait For Event VI produces a timeout error and stops the programm. This is rather inconvenient. How can I change the programm so that the user can stop it even when the Wait For Event VI hasn't reached its timeout?
    I tried this:
    But this doesn't work. For some reason, I get a timeout error with code -200474 but the boolean operator returns FALSE.
    Any other ideas?

    If there an output on the wait for event VI that flags a timeout? If so, set the timeout short (like 100 msec) and wait for 3000 timeouts before continuing on.
    Oh, and use an event structure. Timeout event (timeout=0) checks the wait for event, value change event for button breaks out of loop.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Workflow WAIT FOR EVENT STEP deadline not working

    Hi,
    Need some inputs for the experienced people;
    I have a wait for event step in a workflow with deadline monitoring (Latest End) but it doesn't seem to work.
    Ofcourse, all the required setting are in place and deadline works fine for other Activity steps.
    The problem is specific to Wait for event step.
    The alternative is having a fork but I just want to know why the wait step with deadline doesn't work.
    Thanks,
    Roopesh

    Hello Ajay,
    Can you share with us what did you do to solve your problem?
    I'm facing the same thing in my project now, I'm wandering if you could help me with this one.
    I have this wait for an event step wich is configured to wait 4 minutes since the work item creation. I've also selected 'Modeled' on the Action field, and a display text for the outcome.
    But in one of my tests, the event hasn't occurred and the workflow stuck in this task forever.
    Thanks in advance.
    Regards.
    Actually, I think I got this handled. This thread was really helpful to me: http://scn.sap.com/thread/47482
    Message was edited by: Leandro Farias dos Santos Abreu

  • Need help on Wait for Event.

    Hello all.
    I faced an issue with wait for event step,Which goes like this.
    For a workflow one of the fork branches there is a wait for event step(wait for manual release) . On development server when ever that event is fired (manual release) , the wait for event is capturing and completing the workflow ( This is the correct process).(PO release procedure)
    On production system, this event is not been caught(after manual release is done) and and the workflow is not  complete and still in progress. (even po is released manually) Which should not happen.
    So what all the things i need to verify in the production to fix this. I cannot simulate any kind of event on production ryt. so please suggest.
    please suggest.
    Cheers
    PRASAD.

    Hi Prasad
    i doubt that in Production the event trace would be on. Check SWELS to see if you see the "OFF" button (this means the trace is on). If it is On, check SWEL to see if any event is there for rejection. You will have to ask example of the PO and search using the Key (PO number).
    Also, check the workflow instance which is supposed to complete when the rejection happens (which did not complete). Check the technical WF log. Look for the Business Object container element which should hold the runtime instance. Check if it has a value and the same is bound from the event to the workflow in the wait for event step's binding. (_EVT_OBJECT to Workflow Container element of same type). This WF container element should have an instance and should not be empty for the wait step to work.
    Regards,
    Modak

  • Wait for event step..

    hi all,
    I have a wait for event step in my owrkflow and it is working fine. My problem us i am not able to trigger this event using program can anyone please let me know what i am doing wrong. following is the code i am using to trigger the event
    DATA: key TYPE SWEINSTCOU-OBJKEY,
            object  TYPE  SWETYPECOU-OBJTYPE,
            event TYPE SWETYPECOU-EVENT.
      DATA: event_id LIKE swr_struct-event_id,
            return_code LIKE sy-subrc,
            input_container TYPE swr_cont OCCURS 0 WITH HEADER LINE,
            message_lines TYPE swr_messag OCCURS 0 WITH HEADER LINE,
            message_struct TYPE swr_mstruc OCCURS 0 WITH HEADER LINE.
    *  CONCATENATE pernr reinr INTO key.
    key = reinr.
      object = 'BUS2089'.
      IF action = 'APPROVED'.
        event = 'APPROVED'.
      ELSEIF action = 'REJECTED'.
        event = 'CANCELLED'.
      ENDIF.
    *  swc_create_object object 'BUS2089' key.
      CALL FUNCTION 'SAP_WAPI_CREATE_EVENT'
        EXPORTING
          object_type             = 'BUS2089'
          object_key              =  key
          event                   = event
         commit_work             = 'X'
         event_language          = sy-langu
         language                = sy-langu
         user                    = sy-uname
    *    IFS_XML_CONTAINER       =
       IMPORTING
         return_code             = return_code
         event_id                = event_id
       TABLES
         input_container         = input_container
         message_lines           = message_lines
         message_struct          = message_struct
    commit WORK.
    however if i execute the FM SAP_WAPI_CREATE_EVENT by passing the values it works fine.
    Thanks
    Saurabh

    Hi
    however if i execute the
    FM SAP_WAPI_CREATE_EVENT by passing
    the values it works fine.
    It will trigger only when you execute the above function module or
    SWE_EVENT_CREATE because 
    You have a BO and an event associated with it now when you want to trigger this this event through program then you have to make a kind of mapping between BO and your program so thta's what this Fm does, when ever you execute the program as you are passing all the values to the Function the Evnt associated with the BO is triggered.
    In order to trigger use SWE_EVENT_CREATE aand after calling this fucntion use COMMIT WORK statement
    Could you let  me know what condidtion did you write for the WAIT step to continue.
    Regards
    Pavan

  • Wait for Event not being picked up by workflow

    Hi,
    We have a purchase order workflow that has a parallel branch with a wait for event of 'Released' on it. The theory is that if a PO is released the workflow will finish. We have a situation where POs are created then released straight away by an idoc. In the event log we can see the release step created event and it correctly starts the workflow however the released event follows at exactly the same time and the workflow does not seem to notice this so it sends a released PO to a user to be released. I hope this makes sense. Can anyone think of a reason why this might be happening? Does it need a slight delay between the two events?  In SWEINST the linkage is active and when I look at the entry for one of these POs it tales me to the correct workflow.
    Thanks
    Rob

    Hi,
    You could possibly create a check function module for the event. In the check function module you check some specific variable (if there is something you can use) - for example if the event was created by a certain user or if the PO is a certain type(?). Then if your condition is fulfilled, you raise an exception and no event will be triggered => no workflow.
    This is just one possible solution.
    Regards,
    Karri

Maybe you are looking for

  • Is there a way to send multiple photo attachments just from my iPad 2?

    I took a bunch of photos and am trying to figure out a way to attach them to my e-mail instead of just e-mailing them one at a time.  Is there a way?

  • Mail Backup: On My Mac

    Hi I was wondering if there is a way that I can save ON MY MAC section from my Mail? I'm using Lion OS. Thanks

  • Design View disappeared in FB 4.5 (not 4.7)

    I know that Flash Builder 4.7 does not have a design view.  However in Flash Builder 4.5 the option to switch to the Design View is grayed out and the button for design view has disappeared from my interface.  I need this design view to follow a spec

  • How to enable Enterprise services

    Hi guys started leanring about SOA. We are currently on ECC 6.0 with the latest support packs. Is there anything that needs to be installed for the ESOA / web services to work or do they come as default with ECC 6.0 and higher. Do i need to ask the b

  • Altering / Adding Publication Items

    Hi all, I know that there had been similar requests to this in the past and I have read all of these and I still have an issue. I have also seen rekounas's code to use the ConsolidatorManager API to add/alter.. the publication items. I have tried to