In an approval workflow, how do I wait for either Approval or Reject to proceed?

I have a field that will get set to Approved or reject in the form.  In the workflow I inserted the action "Wait for a field to change in current item".  The program is it reads:
WAiT FOR "SOMEFIELD" TO EQUAL "VALUE"
the value could be "Approved" or "Reject".  How can I set the wait till the value is changed to proceed to next action in the workflow?
Thank you.

Hi,
According to your post, my understanding is that you wanted to create a workflow to wait for the filed changed and then proceed to next action.
As Matt
Milsark's Blog said,
in the SharePoint Designer 2013, the value of the action has to be equal to.
However, we cannot use parallel blocks to wait for the item to change.
When the column’s value of the List is “Approved” at the first and not changed, the workflow also will start and perform the next action.
The reason is that if we create an item which set the column value to “Approved”, the workflow will proceed to the Approved Step without any changes and then wait for the filed changed to Rejected.
As a workaround, we can use the “Stage” and the “Wait for Filed Change in Current Item” action.
You can follow the steps as below to implement it.
 Create a Custom List > Create a Column with the type of “choose” > Set the Column’s value is “Approved” or “Rejected.
   Open the SharePoint Designer 2013 > Create a Workflow for this List > Add some conditions and actions
as below:
   3. Click “Save” to save the workflow.
   4. Go to the “Navigation” and click the “Workflows” > Open the new workflow > Go to “Start Options” > Check “Start workflow automatically when an item is created”.
   5. Click “Publish” to publish the workflow.
In addition, we can use the “Wait for Event in List Item” action to achieve what you want.  Please create workflow as below:
Then if the “Approved” Column’s value of the current item is changed to “Approved”, the workflow will log “Approved Column changed to Approved”.
If the “Approved” Column’s value of the current item is changed to “Reject”, the workflow will log “Approved Column changed to Rejected”.
Best Regards,
Linda Li
Linda Li
TechNet Community Support

Similar Messages

  • How long BPM wait for an transport acknowledgement

    I have a send step with transport acknowledgement. When receiver system is not available adapter tries 3 times to deliver a message but my BPM has still a status "in work".
    How long BPM wait for an transport acknowledgement? Can I configure it? Will this BPM cunsume system resorces?
    What is the best strategy for work with transport acknowledgement?

    > You can add a deadline branch
    I don't like this approach... because I can change amount of attempts  and period. My BPM will be stopped but message could be delivered later... It will be diffucult to support dedline period in all business process

  • SPD Workflow executing twice on Wait for field change

    I have a workflow where I have a Wait for field change action. Once the field is changed it sends an email. But it also goes back through the whole workflow again. So it sends 2 emails. How do I correct?
    The workflow is set to run on item created and item changed.

    I'm not sure wait for field change will work. This action requires you to wait until it equals a specific value, rather than just for the field to change. So if you want approve or deny, this won't work because you can only wait for it to be approved or
    wait for it to be denied, not both. Basically, just as you say.
    I would just have stages ("Awaiting Department 1", "Awaiting Department 2", etc) that is a hidden choice field set by the workflow. Choice fields then for each department for their approval. Conditions on the workflow fire based on the Awaiting Department
    field.
    Andy Wessendorf SharePoint Developer II | Rackspace [email protected]

  • How to change 'Wait for condition' period?

    Hi all
        I am using a workflow with a 'wait for condition' step in it. It takes so long to wait, how I reduce the waiting time?
        I think it should be a periodly job in background to check the condition, but I don't know which one it is~

    Hi
    The job name is SWWCOND change the job schedule timing for every 1 min. Your wait step will be executed after every 1 min. User name is WF-BATCH.
    Regards
    vijay

  • WORKFLOW PROCESS IS NOT WAITING FOR USER INPUT LIKE RE-ASSIGN FUNCTION

    I am using Stand alone Workflow 2.6, In my workflow process
    which is an Issue tracking system which is working fine. On Enhancement I would like to create my own RE-ASSIGN function which will, Change the ownership of an issue totally to other user.
    For this I Created a package(CHANGE_OWNER.CREATE)which will show list of Users and Comment field(Just like Re-Assign).
    Here user can pick other user, and add comment,
    once submit for that Item key I am updating the workflow notification table so that paritcular issue ownership will be changed.
    In my workflow process I created a lookup code called "Change Owner". On click of Change Owner it will call the Function
    in workflow process which will call CHANGE_OWNER.CREATE, here
    the workflow process supposed to wait and get the User to be
    changed. BUT THE PROCESS IS NOT WAITING, IT JUST DISPLAYED THE
    SCREEN AND CONTINUED THE WORKFLOW PROCESS. I WANT THE MY
    WORKFLOW PROCESS TO BE ACT AS RE-ASSINGN BUTTON WHICH WILL WAIT
    FOR THE USER INPUT.
    HOW TO DO IT.
    Thanks
    Bala.

    Hi Bala
    What enhancements were you adding to the Workflow Reassign/Delegate feature, which included being able to add comments? A good idea is to look for any differences between how workflow implements the reassign feature, and your customization.
    Also, make sure you only use the Public documented PL/SQL APIs and do not update the tables directly to ensure no Support or Upgrade Issues.
    Cheers
    Mark
    I am using Stand alone Workflow 2.6, In my workflow process
    which is an Issue tracking system which is working fine. On Enhancement I would like to create my own RE-ASSIGN function which will, Change the ownership of an issue totally to other user.
    For this I Created a package(CHANGE_OWNER.CREATE)which will show list of Users and Comment field(Just like Re-Assign).
    Here user can pick other user, and add comment,
    once submit for that Item key I am updating the workflow notification table so that paritcular issue ownership will be changed.
    In my workflow process I created a lookup code called "Change Owner". On click of Change Owner it will call the Function
    in workflow process which will call CHANGE_OWNER.CREATE, here
    the workflow process supposed to wait and get the User to be
    changed. BUT THE PROCESS IS NOT WAITING, IT JUST DISPLAYED THE
    SCREEN AND CONTINUED THE WORKFLOW PROCESS. I WANT THE MY
    WORKFLOW PROCESS TO BE ACT AS RE-ASSINGN BUTTON WHICH WILL WAIT
    FOR THE USER INPUT.
    HOW TO DO IT.
    Thanks
    Bala.

  • How to use wait for event step

    Hi,
    I need to trigger wait for event step for my workflow but I am not able to trigger that .
    Can anyany one of you tell me in detail what are the necessary config.and bindings i need to do for that .
    Also i need to pass data from my report program(where i am triggering the event for the wait activity) to the workflow through event triggering for the wait step.
    Please tell me how can I do that .
    Thanks in advance.
    Anand

    Hi,
    I think you can use the function module "SAP_WAPI_CREATE_EVENT" to trigger an event. Make sure that the instance data is same in both ends. To send data from your report, you can populate the event container using the container related macros.
    Check this link for more information
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c5/e4af4a453d11d189430000e829fbbd/frameset.htm
    Regards
    <i><b>Raja Sekhar</b></i>

  • How to reduce "Wait for Log Writer"

    Hi,
    in a production system using MaxDB 7.6.03.07 i checked follow acitivities about Log:
    Log Pages Written: 32.039
    Wait for Log Writer: 31.530
    the docs explains that "Wait for Log Writer", Indicates how often it was necessary to wait for a log entry to be written.
    then what steps i must follow to reduce this?
    thanks for any help
    Clóvis

    Hi,
    when the log Io queue is full all user tasks who want to insert entries into the log io queue have to wait until the log entries of the queue have been written to the log volume - they are wiating for LOG Writer
    First you should check the size of the LOG_IO_QUEUE Parameter.
    Think about increaseing the parameter value.
    Second will be to check the time for write I/O to the log -> use DB-Analyzer and activate time measurement via x_cons <DBNAME> time enable command.
    Then you will get time for write I/O on the log in the DB-Analyzer log files (expert)
    You will find more information about MaxDb Logging and Performance Analysis on maxdb.sap.com -> [training material|http://maxdb.sap.com/training] chapter logging and performance analysis.
    Regards, Christiane

  • How much should wait for???

    My situation
    -3/03/2006 I call on the telephone apple center for substitution macbook (whine problem)
    -3/03/2006 It comes communicated me the code RMA
    -3/03/2006 I receive from appe an email with number of the new order (equal to the old one)
    -3/03/2006 In the email the date of shipping expected is march 28
    -7/03/2006 I sent my macbook to apple (TNT Courrier)
    -9/03/2006 Apple receives macbook
    How much time still I should wait for to have a new macbook???

    My situation
    -3/03/2006 I call on the telephone apple center for substitution macbook (whine problem)
    -3/03/2006 It comes communicated me the code RMA
    -3/03/2006 I receive from appe an email with number of the new order (equal to the old one)
    -3/03/2006 In the email the date of shipping expected is march 28
    -7/03/2006 I sent my macbook to apple (TNT Courrier)
    -9/03/2006 Apple receives macbook
    now the days for the delivery of the macbook became 7-10 Days but of my order it is not known nothing. .bacuse? because apple?? you are little seriousness

  • Anyone know how long to wait for packaging following a repair request?

    I've got a repair request pending - on the 9th - but so far nothing else has happened. Am I waiting for some packaging from Apple? if so, anyonee got an idea how long i need to wait, as two business days now gone. Email from apple below....
    We have received your request for a replacement IPOD TOUCH. Your Repair ID is XXXXXXXXXXXXX.
    Our initial diagnosis indicates that because your product replacement will likely be covered by the warranty, an AppleCare Protection Plan, or another Apple repair program, there should be no charge to you. If we have questions or concerns regarding the repair coverage, we will notify you.
    Within two business days, you should receive the return instructions for the original and shipping materials for you to use. Please don't use any other package, because if the original is damaged in shipping as a result of improper packaging, it will not be eligible for service and will be returned to you unrepaired. Do not include any other items, such as headphones, as they will not be returned to you.

    sounds like you are awaiting some sort of packaging which you can put your old ipod in so you can return it to apple.
    since it's been two business days, might be worth emailing them to let them know.

  • Do sth for 5 sec. or 5 min.? How does Java wait for some time ?

    How can I show a text in a label for 5 sec. and then make it disappear ?
    How can I make my app wait for some time ?
    What's the command ?
    thanx!

    The above is correct, but since painting is done in a separate thread, the likely result would be a blank space for 5 seconds, followed by a brief flash of text. You need to look at methods like invokeLater in SwingUtilities. You could also try forcing a paint(Graphics g) rather than a repaint before you wait.

  • How to use wait for delay

    Hi
    I need to use the sentence wait for delay, somebody has reference on this
    Thank's

    When posting questions remember that only you know what products and versions you are using. You must share this information in order for anyone to offer any valuable answers to your questions.
    That said, you can find information about the "WAIT" function throughout the Oracle documentation and the Internet.
    http://www.google.com/search?q=oracle+wait+function
    You can also create a pause with something like this:
    DBMS_LOCK.SLEEP(1);

  • How to satisfy "Waiting for user logon" requirement for multiple machines

    Let me preface this by saying I know the "real" solution is to make my package run whether or not a user is logged on, but here me out.
    I have some packages that someone else builds where they're set to only run when a user is logged on, which then in Monitoring builds up quite a few "waiting for user logons" since some machines go unused for a week at a time.
    Is there any slick way to get around that?  or to have a script which logs on to a list of machines then logs off after say 10 minutes so the SCCM installs can occur?

    if you are worried about packages deploying to user machines irrespective of logged in or not,why dont go with program settings 'whether or not used logged in' instead of choosing 'only when user logged in' and try for other alternatives to install app
    .'whether or not used logged in' will straight away install the applications for you .
    Eswar Koneti | Configmgr blog:
    www.eskonr.com | Linkedin: Eswar Koneti
    | Twitter: Eskonr

  • How to use wait.for() /wait() commands for MAC? Not working...

    I am trying to run an external application on mac using runtime.exec() and it runs fine but after it runs it suddenly terminates the program. I have a waitFor() command after the runtime.exec() waiting for that program to end. If i comment out the waitFor() then the program terminates by going through the run command. The waitFor() worked fine for PC but doesnt work for MAC... anyone know what i did wrong or alternative way of listening for it? thanks!

    On the PC i have the following:
    Process p = Runtime.getRuntime().exec("C:\\program Files\\QuickTime\\QuickTimePlayer.exe "
    +file.getPath());
    p.waitFor();
    It basically creates a process of QuicktimePlayer and runs the file specified. I then have p.waitFor() used to wait for the user to close the application so i can do listener stuff for it- it worked for PC.
    On Mac
    String b= "open"+ tempFile.getPath();
    Process p= Runtime.getRuntime().exec(b);
    System.out.println("before wait");
    p.waitFor(); .
    System.out.println("app. terminated");
    output:*
    "before wait".
    Program terminates before System.out.println("app. terminated"); but the application (quicktime) starts.
    if I do this:
    String b= "open"+ tempFile.getPath();
    Process p= Runtime.getRuntime().exec(b);
    System.out.println("before wait");
    // p.waitFor(); .
    System.out.println("app. terminated");
    output:*
    before wait
    app.terminated
    program terminates "normally" and I see "app.terminated".
    I used Eclipse so the "red square" turns red when running it and suddenly grays out when the player appears. So to me the program terminated before the p.waitFor(); If i commented out p.waitFor() then the program goes to the System.out statement and everything goes "fine". I tried using thread.wait(), this.wait() p.wait() etc. but i get errors saying they are not owner of the thread.
    hope this helps. thanks

  • Ordering iWork '08 online -- how long is wait for serial #?

    Hi -- I've had the demo of iWork '08 installed over 30 days, so today I went and purchased a serial number online. I was careful to get the serial number, not the boxed option.
    I was emailed a order acknowledgment, but there was not a serial number inside the email, and I can't find one online.
    So I'm wondering how long the serial number email usually takes (assuming that the serial number wasn't supposed to be in the email I already received, which does not have one)? Did people who bought this way have to wait very long?
    it's been over an hour, and I'm waiting to dig in to some work.
    Just to be sure, though -- I have checked Spam filters, and my order acknowledgment came through just fine, so my address is good.
    Thanks for any advice or help!

    Thanks Phil --
    I still haven't received anything, but I talked to Apple Support. They confirmed that the code should have been in the original email, but they are "having trouble with that system" and that the code would arrive in a separate email.
    The woman I talked to tried to look up my activation code, but couldn't access it. She said to call back in 24 hours if it doesn't show up. It's been 22 hours since I bought it, so I'll be curious to see if a call back in 2 hours really does anything different.
    On the flip side, they're order processing did take my money, so one of their systems is working just fine. It's frustrating that a one-person shareware developer can get me immediate serial numbers, but Apple can't.
    If anybody else is reading this, I recommend leaving a few days before your demo expires if you're going to buy a license!

  • How to programmatically wait for child LOV to refresh

    Folks, I have a parent/child (i.e., cascading) pair of LOVs; they work great.  But I need to be able to set the values of the two LOVs programmatically w/ JavaScript.  I have the following JS function:
    function setHostID_DatabaseID (aHostID, aDatabaseID)
      $s('P60_HOST_ID', aHostID, undefined, false);
      $s('P60_DATABASE_ID', aDatabaseID, undefined, false);
      alert("host = " + aHostID + " and DB = " + aDatabaseID);
    The two LOVs are:
    P60_HOST_ID (parent)
    P60_DATABASE_ID (child)
    When I call the function, P60_HOST_ID gets set correctly, but P60_DATABASE_ID does not.  If I move the alert() to between the two $s calls, then P60_DATABASE_ID does get set.  So it's a timing issue - the AJAX call to refresh P60_DATABASE_ID doesn't complete before the $s('P60_DATABASE_ID') call is invoked.  Any ideas how to work around this?

    NM - found the answer in https://forums.oracle.com/thread/2461787 Function becomes:
    function setHostID_DatabaseID (aHostID, aDatabaseID)
       apex.jQuery('#P60_DATABASE_ID').bind("apexafterrefresh", function ()
             $s('P60_DATABASE_ID', aDatabaseID, undefined, false);
       $s('P60_HOST_ID', aHostID, undefined, false);
      alert("host = " + aHostID + " and DB = " + aDatabaseID);

Maybe you are looking for

  • Canon C7065i didn't works after mavericks update

    it said "cannot communicate with the printer, or the printer is not supported."

  • Suggestions from a fan

    The BB Playbook is now cheap as ever. but i think its being let-down by an immature, not-so well-developed, "closed-platform", unsupported, backward OS.  The competition is getting hotter & crowded by this year as everyone and you RIM knows. iPad 3,

  • IDoc to IDoc Mapping

    Hi , I am new to SAP PI. We are using B2B scenario in office. We are getting ALE idoc from one system and generating idoc to receiver system inbetween we need to map the fields by using PI. Please help me on this, How to Map the idoc fields in PI? Th

  • Three level release for appropriation request (IMA11)

    Hi we are using IM for budget control and within IM, appropriation request for budget approval. we have done the necessary configuration available in IM for budget release but still system not trigering work flow once appropriation request save. we w

  • Create Travel Expense Report link missing in ESS

    Hello Gurus, I am unable to see the Create Travel Expense Report link in the ESS Travel & Management tab. I have modified SPRO and details are as below: 1) In SPRO, I have copied the standard Resource (EMPLOYEE_TRAVEL_EXPENSES_SRV05) and Service (EMP