Approval Workflow - How to stop Approval Process after one Approve?

I currently have a approval workflow for announcements. There are two approvers assigned to the workflow with the serial setting. How do I end the approval work process after one of the two persons approve? Currently, if one person approves, I have a "In
Progress" status under the status column.
Here is the text-based editor view of my workflow:
f Current Item:Body not equals Current Item:PriorBody
Start Approval process on Current Item with User1; User2
Else if Current Item:PriorWorkflow equals Approved
Set workflow status to Approved
If Current Item:PriorWorkflow equals Rejected
Set workflow status to Rejected
Any tips are welcomed. I have found that Nintex released a workflow that addresses this, but I would like to work around that if possible.

Hi David,
Yes, I created the workflow based on SharePoint  2013 Workflow platform. You can have a look at the screenshoot:
Thanks,
Eric
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected]

Similar Messages

  • How to stop a process after it was started with Process.Start

    I want my program to run other programs, but I also want the User to be able to stop the running program from within my program. How do you keep track of what program Process.Start has run?
    Robert Homes

    I want my program to run other programs, but I also want the User to be able to stop the running program from within my program. How do you keep track of what program Process.Start has run?
    The Start(String...) or Start(StartInfo) methods of the Process class are functions that return a Process object that you can then use to manage the process that you started, for instance to stop it with .Kill.
    https://msdn.microsoft.com/en-us/library/system.diagnostics.process(v=vs.110).aspx

  • How can we send workitem after Po approval decision has been taken by appro

    Hi.
    How can we send workitem after Po approved decision has been taken by approver1 to approver2 in the same flow?
    Regards,
    Chow.

    Some kind requests from a user who is of a different opinion:
    Please create one thread for each different question, with a precise thread subject. It will make it easier to search for previously answers to the question someone has, and it will help keep each thread short.
    Please do not introduce new questions on an entirely different topic in an existing thread.
    Please always check if your answer has been answered already before you start a new thread.
    Please do not ask the same question twice just because you did not receive an answer when you asked it first. Post a follow-up to your first thread if you want to make everyone aware that you are still looking for help to solve your problem.
    Please mark questions as answered when you either have reiceived the answer, or solved the problem. It is also nice if you leave a little comment about how the problem was solved.
    I guess that was all for today...

  • How to Stop the process chain if it in the middle of the process?

    Hi,
    Is there anyway that i can stop the process chain if it is in the middle of the process already?
    Raj

    "Hi,
    First and foremost let me advice you to be very careful while doing this.
    You can start from SM37, find the process WID/PID then go to SM50 or SM51 and kill it. Once its done come back to RSMO and check the request, it should be red but again manually force to red and save by clicking on the total status button in the status tab. This shuld ensure that the process is killed properly.
    The next step will be to go to targets that you were loading and remove the red requests from those targets.
    Note: For source system loads you may have to check if the request is running in the source system and kill if needed and pull it again.
    But for BW datamart delta loads u may have reset the datamarts in case u are going to pull the delta again.
    Different Ways to stop process chain
    1)SM37 -->Kill Job
    2)SM50/sm66- ->Kill process
    3)RSPC>Job Log>Make the process RED forecefully.
    4)RSPC>Process chain> main Menu"Remove from Scheduling" OR
    5)se37-->RSPC_API_CHAIN_INTERRUPT
    give RFC BW system name(technical) and process chain name(technical)
    Steps 1 -3 stops the chain running in process
    Steps 4-5 stops the chain AFTER the current job which is running is completed as sucessful or Failure by nature.
    Rationale - 4-5
    This function will only remove the jobs from schedule, which did not yet run. It will not kill running jobs, as this may leave the system in an inconsistent state, moreover killing processes is possible for synchronous processes only anyhow. This means, that there will be no errors with interrupted chains, which on the other
    hand means an interrupted chain is not restartable. So for a running chain this function is intended to be an emergency break only. You can use it, however, to remove a scheduled chain from schedule, such that it does not start except by your product.
    Re: Kill a Job
    Re: Killing a process chain.
    How to stop a process in a process chain?
    Regards,
    JituK

  • HOW TO STOP THE PROCESS CHAIN WHICH IS RUNNING IN THE PRODUCTION?

    HI ALL,
    CAN ANYONE TELL ME HOW TO STOP THE PROCESS CHAIN WHICH IS RUNNING DAILY AT 5.00 PM. I NEED TO STOP THE PROCESS CHAIN FOR COUPLE OF DAYS AND THEN RESTART IT AGAIN.
    cAN ANYONE TELL ME THE PROCEDURE TO STOP THE ENTIRE PROCESS CHAIN RUNNING IN THE PRODUCTION.
    THANKS
    HARITHA

    Hi,
    First and foremost let me advice you to be very careful while doing this.
    For Rescheduling
    RSPC> chain > Goto > Planning view and
    click on Execution tab > select > Remove from Schedule and then in Maintain variant of start process reschedule for the day you require it to run.
    For terminating active chain
    You can start from SM37, find the process WID/PID then go to SM50 or SM51 and kill it. Once its done come back to RSMO and check the request, it should be red but again manually force to red and save by clicking on the total status button in the status tab. This shuld ensure that the process is killed properly.
    The next step will be to go to targets that you were loading and remove the red requests from those targets.
    Note: For source system loads you may have to check if the request is running in the source system and kill if needed and pull it again.
    But for BW datamart delta loads u may have reset the datamarts in case u are going to pull the delta again.
    Re: Kill a Job
    Re: Killing a process chain.
    Regards,
    JituK

  • How to stop the process chain showing status as yellow but no process step

    Dear Friends,
    How to stop the process chain showing status as yellow but no process step is running in that process chain.
    We have manually triggered the process chain for sales it finished successfully till load data but the next step is create index and DB statistics. Both of this steps are in unscheduled position only and no background job for this.
    Please guide me.
    Thanking you in advance.
    Regards,
    Shubhangi

    Hi,
      At times even I have faced this situation.  During those times, running the Function module RSPC_PROCESS_FINISH by passing the right parameters came to my rescue.
    Regards,
    Raj

  • How to stop a process (that is executing)

    Hi all
    my question is How to stop a process that is executing ?
    some other languages has a function called yield() in java how I can do it.
    thanks

    You can tell a Thread to yield - That is, cause the currently executing thread object to temporarily pause and allow other threads to execute.

  • How to stop a process in process chain

    Can anyboday help , How to stop a process in process chain .
    Thanks
    PP

    Hi Phani
    In RSPC, Open the Meta Chain, In Process Chain Manu bar,
    Select the option "Remove From Schedule"
    Hope this will help you
    Regards
    Saravanan.ar

  • How to stop a process chain when its running?

    Dear Experts,
    How to stop a process chain when its running? is it that a chain can be stoppend when we open an info package of that chain ?
    Thank you,
    Raj

    Hi,
    Goto the main menu process chain --> choose the remove from the Schudule...
    Regards
    sathis
    I hope it helps to u... please assign the points

  • How to stop update notification for one app (iMovie) that I do not want to update

    How to stop update notification for one app (iMovie) that I do not want to update. I do not want iMovie 10 taking up nearly 3 gb on my hard disc. iMovie 9 is just fine and only takes up 1.5 gb. But I get notifications to update and don't know how to turn it off. I've gone into the Purchases tab of the App store and deleted it. I don't want to turn off Update notifications (which is irrelevant in any case because I see no option to do that in Notifications system preference pane). I just don't want to be bugged about iMovie updates. The only option I'm given is to postpone the next reminder until the next morning. -- Franklin

    Interesting; never came across that - here is the window I get (just double clicked on a random doc in the trash):

  • How to stop user doesn't have "approver" to approve PR from "forward"

    When we have an issue from our customers that an approver forward via email to the user doesn't have "approve" right. But this use be cable to approve this PR. Is there profile or setting to stop this ?
    we are using EBS 12.0.1 and database 11.1. Hope some one can shed lights on us.
    Thanks,
    Albert

    Sanjay,
    Our issue is when any approver used "forward" function from Gmail or any mail program and send the PR to an user. This user doesn't have any approval right ,but this user can open this mail from "forward" and she clicks "approve" button from the bottom of this email and send "approve" action back to Oracle EBS. After a few minutes we went to database to check this status of PR is approved by "Approver" but not by this user.
    Thx.
    Albert

  • How to stop a process in a process chain?

    Hi
    I've got a process chain that calls several processes.  It's still running one of the processes but I want to stop the two that will run after (as it is now in the day time and they will impact on performance in our R3 system).
    I've looked on SM37 but when I put in BI_* nothing comes up.  Do anyone know how I can stop these processes from running before they start ?
    Thanks in advance
    Sandra

    Hi Sandra,
    Just goto the process types that are supposed to run afterwards... and rt click select released job-> select the job and press shift + F6 (from scheduled state to release state)
    If u observe in PC now after refreshing this step will not be green (grey meaning not scheduled to run)
    similar for other.
    thanks

  • How to stop the Process Chains?

    Hi Everyone,
       I have a process chian which is running daily, but i want to stop in a particular day( for ex on wednesday).The process chain has to run on remaining days.So how can i stop the process chain on the particular day. Please do answer me.
    Thanks
    Veerendra

    Hi Virendra,
    After start process , insert a node of abap program and insert program with following code .
    Report zntest.
    data : lt_attr like CASDAYATTr occurs 0 with header line.
    CALL FUNCTION 'DAY_ATTRIBUTES_GET'
    EXPORTING
       DATE_FROM                        = SY-DATUM
       LANGUAGE                         = SY-LANGU
      TABLES
        DAY_ATTRIBUTES                   = Lt_ATTr.
    write : / lt_Attr-WEEKDAY_L.
    read table lt_attr index 1.
    if lt_Attr-WEEKDAY = '3' . "3 Stands for 3rd day of week i.e. Wednesday
      message 'Process chains not to be run on wednesday' type 'E'.
    endif.
    Make sure that this ABAP program is linked to other processes only on  "Success",
    Hope that helps.
    Regards
    Mr Kapadia

  • How to stop refreshing jsp after a period of time

    Dear all,
    Anyone has idea of how to stop jsp page refreshing after I get result from Backend?
    I am using META tag to do refreshing in jsp: HTTP-EQUIV="Refresh" CONTENT="60
    After I got the result from back end, say after there's a "status" bean property changed from "processing" to
    "successful".The refreshing activity is disabled?Any good way to do that?

    Why don't you use listener to listen to changed events within your application and set you refresh status flag up when changes occur

  • How to stop threads, process, streams when closing a (internal) JFrame?

    Dear all,
    I read a Javaworld article about Runtime.exec(), which will output the process outputs and error outputs to either a file or System.out. Now I want to practice it by outputing the process output/error to a Swing JTextArea. It works fine if the process ends successfully.
    My problem is that I want to stop all the output threads and clear all the streams when user click close JFrame button before the process finished. The code is shown below. Note that this frame is poped up by a click from another main frame. ( it is not exiting the main Swing application). This happened when I want to kill a process when it is running.
    I tried to implements a WindowListener and add
    public void windowClosing(WindowEvent e) to the JFrame.
    Inside this method I used process.destroy() and errorGobbler = null, outputGobbler = null, or outputGobbler.interrupt(), errorGobbler.interrupt(). But all these seems does not work. Sometimes thread was not stopped, sometimes process was not destroyed (because the stream was still print out something), sometimes the error stream was not successfully closed - by printing out interruptted by user error message.
    How can I make sure all the underlying streams and threads, including the PrintStream in StreamGobbler class are closed?
    Again this Frame could be a Dialog or InternalFrame, i.e, when I close the frame, the main frame does not exit!
    import java.util.*;
    import java.io.*;
    class StreamGobbler extends Thread
        InputStream is;
        String type;
        OutputStream os;
        StreamGobbler(InputStream is, String type, JTextArea out)
            this(is, type, null, out);
        StreamGobbler(InputStream is, String type, OutputStream redirect, JTextArea out)
            this.is = is;
            this.type = type;
            this.os = redirect;
        public void run()
            try
                PrintWriter pw = null;
                if (os != null)
                    pw = new PrintWriter(os);
                InputStreamReader isr = new InputStreamReader(is);
                BufferedReader br = new BufferedReader(isr);
                String line=null;
                while ( (line = br.readLine()) != null)
                    if (pw != null)
                        pw.println(line);
                    out.append(type + ">" + line);   
                if (pw != null)
                    pw.flush();
            } catch (IOException ioe)
                ioe.printStackTrace(); 
    public class Test extends JFrame
        private JTextArea output;
        private StreamGobbler outputGobbler;
        private StreamGobbler errorGobbler;
        public Test (String file)
            super();
            output = new JTextArea();
            try
                FileOutputStream fos = new FileOutputStream(file);
                Runtime rt = Runtime.getRuntime();
                Process proc = rt.exec("java jecho 'Hello World'");
                errorGobbler = new
                    StreamGobbler(proc.getErrorStream(), "ERROR", out);           
                outputGobbler = new
                    StreamGobbler(proc.getInputStream(), "OUTPUT", fos, out);
                errorGobbler.start();
                outputGobbler.start();
                int exitVal = proc.waitFor();
                output.append("ExitValue: " + exitVal);
                fos.flush();
                fos.close();       
            } catch (Throwable t)
                t.printStackTrace();
         setSize(400,400);
         show();
    }Thanks !

    Thread.interrupt() doesn't stop a thread. You'll have to read the API for more specifics. You could use something like interrupt to force interruption of the thread for the reason of checking the terminating case though. I believe you would want to use this in the case where operations can take a long time.
    Setting your reference to the thread to be null won't stop the thread since it's running. You just lose your reference to it.
    I believe once the thread stops running your streams will be closed, but possibly not cleanly. Someone who has more knowledge of threads might be able to answer this better, but I would generally say clean up after yourself especially if you are writting out data.

Maybe you are looking for

  • Creation of EBP Purchase Order for Service Products in MM

    Hello all, i have created the service master in MM system and then i have replicated the service master to EBP later i tried to create a EBP PO for Service Products through Sourcing from EBP to MM. But i am getting a failure message as "Error during

  • Macbook Pro 2012

    Can you use a power adapter from a Macbook Pro 2008 on a Macbook Pro 2012?

  • Mail client in Safari

    How can I make the Safari browser default to my Adelphia Mail account? I am not using the Safari mail client. Mary Lou

  • Unattended cucm installation with answers file

    Hello guys, I'm trying to understand how to master the CUCM answer files as well as the ASG tool. I didn't find any thorough docs around so I'm gonna ask here: 1) In my opinion it should be possibile to have a cluster setup Pub+Sub without adding the

  • Small rectangle near top right of iMac screen goes blurred when encoding?

    I posted this in the Compressor 4 forum and Russ H confirmed he experienced the same effect but didn't know why. Here's the peculiarity and an explanation as to what is causing it would be appreciated. A few weeks ago when I was encoding something in