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

Similar Messages

  • Need info on wait step in workflow

    Hi All,
    I am working on workflow scenario, where I have a wait step for an event (to be triggered by an incoming Idoc). Now when a time frame is reached, a workitem should be raised for an agent to take the action ( to continue wait or cancel the process).
    I understand that the wait for an event step also raises a work item. So I am planning to design as follows.
    1. Activate the requested start date tab which will put the WI in the inbox. But not very sure how to capture the agent decision and go back to wait step or cancel accordingly.
    Can someone provide me some inputs?
    ~ Roopesh

    Hi Roopesh,
    I think the easy way is to wrap your wait process into a subworkflow. Then make a modeled deadline on your waitstep. In the modeled path, you then place your userdecission, that updates an exporting container with the result. (Cancel, retry or event received)
    This subworkflow is wraped in a loop that determines to continue or not using this container.
    Hope it helps
    Kind regards
    Mikkel

  • Event triggerred before Wait step

    What can we do when the event is triggerred before the wait step? Does anyone know about the concept of parked events?
    Iam using f.m swe_event_create, can we use the start_with_delay option or some other option..
    I would like to have some delay before the second event is raised. but at the same time as this would be a online program, the user should not feel the delay..
    or the Wait step should be modified to pick up already created events..(i think this is called parked events).
    CALL FUNCTION 'SWE_EVENT_CREATE'
    EXPORTING
    *objtype =
    *objkey =
    *event =
    CREATOR = ' '
    TAKE_WORKITEM_REQUESTER = ' '
    START_WITH_DELAY = ' '
    START_RECFB_SYNCHRON = ' '
    NO_COMMIT_FOR_QUEUE = ' '
    DEBUG_FLAG = ' '
    NO_LOGGING = ' '
    IDENT =
    IMPORTING

    Hi Karri, thanks for the reply ..There is a presentation on parked events if you search the wiki and blogs on this site, you will find it but thats the only thing i have seen about it and its not really helpful.
    the problem is.. 2 Inbound idocs are created both at the same time one raises a event for workflow.. one raises a event for Wait step in the same workflow ..
    The 2 inbound F.Ms which raise the events, can error sometimes or the workflow can create a workitem before the Wait step and hang in there till its processed..(its unpredictable which one will trigger first)
    If the second event(for Wait step) is raised first and the workflow processing has not yet reached the Wait step, the workflow waits for the event to be raised(although the event is already there)
    Do you know of some way we can keep reprocessing until the Event receiver is found? (may be in a Raise event workflow step or in a Function Module)
    Edited by: sk123456 on Jun 5, 2010 11:47 AM

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

  • Wait for Event step in Workflow (Urgent).

    Hi,all!
    I am unable to implement the wait for event successfully in my workflow..
    Sceanrio: I have created a container element in the WF with of type a <b>BOR(ISUPARTNER)</b> whose <b>CREATED</b> event is being waited for in the workflow.
    Then in the <b>WAIT FOR EVENT</b> step in WF I m giving putting in the details  of the event..
    Then putting a send mail after this.
    Problem: Now my workflow is throwing error and the send mail task is not executed even after the said event is done in the system..
    Plz... suggest as to how to do it..
    Thanks,
    Sudipto

    <i>Now for this I m actually creating a container element of type BOR B in my workflow n putting a step WAIT FOR EVENT in which I m putting the CREATED event. For triggering the CREATED event no instance is required...</i>
    - Once again, Wait For Event step is only possible when the Object Key is available to the Workflow container when the flow reaches the event (are you waiting for a specific ISUPARTNER to be created or you don't care as long as some ISUPARTNER is created).
    <i>my event CREATED is not getting triggered automatically...</i>
    - First check if the standard system triggers the event for your object. If not explore different options for doing that.
    For your scenario, check if you can trigger a custom event BORB_Created for BORA when BORB is created and use BORA in the Wait step.
    Please post future Workflow questions in the Business Process Management forum.
    Cheers,
    Ramki Maley.
    Message was edited by: Ramki Maley
    Message was edited by: Ramki Maley

  • Wait for a few minutes before starting a backgroung step in workflow

    Dear All,
    I have a requirement where in I have to make sure the user has completed a particular workitem. The workitem is to open the transaction PP02. I cannot make it asynchronous and use a terminating event as I could not see any logical place where I could trigger the terminating event on SAVE.
    Now, I am trying to check if the database is updated on save of the transaction and before I do that I would want the workflow to wait for a few mintues.Is this approach correct?
    Is there any way I can make the workflow to wait for a few mintues before it starts the next backgound step?
    Please suggest.
    Best Regards
    Vikram

    I think it is better option to use the WAIT Step 
    as you said that until you save the data in the trabsaction you don't want to proceed further then, try like this
    Create a wait step and use the option wait for condition.
    define a element in the workflow of type char01( assume TEST) .
    Pass X to this element from the transaction when ever you save the data.
    and define the condition for the wait step in such a way that until the value of TEST = X do not proceed further.

  • SAP MDM Workflow: Wait Step

    Dear Experts,
    We have a scenario to send an email for the created/changed records periodically/daily, but a single mail should be sent for all the records to the users.
    And we think that we can make use of the Wait Step for this activity, but we are not getting the values for GM Time Field and Literal Time Field.
    Thanks And Regards
    Gaurav Kumar Sharma

    Hi Gaurav,
    You can also try this scenario:
    1.Create two ports one for outbound and other for inbound.
    2. Create a sydnication map which will trigger automatically at a specific time using MDSS which only synidcates the records which were created/updated on that day..... say material number
    3. Use PI to pick the syndicated file and drop it in a inbound port which was created earlier.
    4. Create a import map for importing the syndicated file use MDIS here, with a workflow for notification under configuration options.
    5. Workflow design will be start (Check out)->Notification->Stop (Roll back) which triggers on Record import.
    The above steps will help you to send notification of created and updated records in one mail using MDM.
    Let me know if you have any questions.
    regards
    Sowseel

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

  • ERROR in the wait step

    Hi all,
    I have a requirement, where automatic payment proposal goes for an approval process. When the proposal has created in the tcode F110 based upon user who has loged in a push button "Trigger Workflow" will appear once proposal is made (enchansment), When the user press this button workflow will be triggered using the function module. After that i am finding the approver details. After this step type, i am checking for the condition (payment or proposal) if it is proposal flow will proceed futher. After this i have used a fork step - two branches 1. for the workflow proceed further 2. cancle the workflow when and event "ZSAVE_ON_CLICK" (custome defined event) is triggered.
    I am getting the error at this wait step. The error is ""Workflow 000000703573 wait step 0000000248: No valid object ID in container element 'ZbusF110'""
    Thing i have done.
    1. I check the binding, here i am passing two key values of the bo to my workflow container from the event container.
    2. When i tried to bind the EVTOBJECT to zbusf110 - it is giving me an warining "'_EVT_OBJECT' is not an export element and hence sometimes has no defined value"
    Kindly help me in solving this issue.
    Thanks and Regards
    Balaji K.

    It is working fine

Maybe you are looking for

  • Help!? wierd sqlnet problem with linux 8.0.5

    I installed Oracle for Linux 8.0.5 on RHL 6.0 and also applied the glibc patches. Database is up and running... and my pc clients can connect to the database... So my problem is: I can connect to the local linux database just fine but, I'm having pro

  • Can we import a timestamp column in DIAdem

    I have a 2 channels with time information - one in string format and the other in timestamp format.  It seems that when I try to open my TDM file, DIAdem gets stuck.  I'm sure that its because I can't have string or timestamp information in a TDM fil

  • BI Content Datasource is not activated

    Hi, I see my 3.x Datasources ( with source system PC_FILE ) in the BI content Q system, which were transported from BI cintent Dev. system, however I cannot activate them. If I do BI content installation by selecting the corresponding transfer rule w

  • Hi Dear, I forgot my iTunes security  can you help me? Thank you

    I forgot my iTunes security answer so I can't buy anything on iTunes app or music, every time I try to buy music it asking my security answer. Please help me

  • "Cannot complete your request because of a program error" again!

    Using PhotoshopCS4 on a newish iMac, 8gb, with Mavericks, "Cannot complete your request because of a program error" regularly appears but, so far as I can see, only if no file is open. Any ideas on how to stop this irritating behaviour? Most usual th