Send an email to previous approver after rejection in OOB Approval workflow
Hi all,
I have created OOB Approval workflow with two approvers.
If first approver rejects then i want it to send an email to the requester.
If second approver rejects then i want it to send an email to the first approver as well as requester?
Is there any way to acheive this?
And same should happened when document is approved
Also how to identify that the first approver has completed their task?
Hi Trupti,
you can do that using SharePoint designer workflows:
you can do that by putting the actions in the complete condition so you check who approved it and based on that you do the actions of sending email so it will be if conditions and where to put that in here
http://bobbyspworld.com/2013/02/08/5-step-to-enhance-sharepoint-2010-approval-workflow/
https://support.office.com/en-gb/article/Use-the-task-process-editor-for-approval-workflows-8680b4a4-36b1-441c-b070-e515976078aa
<section class="ocpSection" style="color:#363636;font-family:'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif;font-size:10.3999996185303px;line-height:normal;">
Completion conditions for the task process
When you click the completion conditions, you’re taken to a full-page workflow editor where you can add or change the completion conditions that for the task process. Specifically, these actions
will run every time an individual task is completed. You can customize the logic here using the workflow commands in SharePoint Designer, like conditions, actions, and else-if statements. You can also add task behavior actions, like the Set Content Approval
Status and End Task Process.
Top
of Page
</section><section class="ocpSection" style="color:#363636;font-family:'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif;font-size:10.3999996185303px;line-height:normal;">
Behavior of a single task
From the summary page, if you change the behavior of a single task, you’re taken to another full-screen workflow editor where you see the individual task events, such as when it’s assigned, pending,
expires, and so on. Specifically, there are five events:
Before a task is assigned: These actions run before every individual task is created.
When a task is pending: These actions run after every individual task has been created.
When a task expires: These actions run every time an individual task is incomplete after its due date.
When a task is deleted: These actions run every time an individual task is deleted before it’s completed.
When a task completes: These actions run every time an individual task is complete.
You can add any of the available conditions and actions, and you can add several more task behavior actions this time, like append, delegate, escalate, and reassign. You can even add task notification
emails and wait for changes in a task process item. The available task behavior actions change depending on the event you’ve selected.
</section>
Kind Regards,
John Naguib
Technical Consultant/Architect
MCITP, MCPD, MCTS, MCT, TOGAF 9 Foundation
Please remember to mark your question as answered if this solves your problem
Similar Messages
-
When I send an email, a photo appears after my name in the sender line. How do I get rid of it?
I don't have a signature set up, but did a little research. Someone posted that these will show up when I send an email to myself, but will not show up when sent to another person. I sent a test email to a friend to check for sure.
-
When I try to send an email I get the message rejected by the server because it does not allow relaying. I have sent mails for months with no problems but has started to be recoccuring. Can anyone help please as its pointless having email on my phone otherwise :-( as i have to wait till i log on at home to respond.
thanks
Alisonhttps://discussions.apple.com/message/16832350#16832350 follow the link user was having same problem. Solution was given.
-
Shoppin cart getting approve after rejection in BADI WF
Hi all,
I am using Item level SC Approval WF WS1450000015.
When The SC is being rejected its getting approved. And the Status at the header level is coming as approved and item level atatus is Rejected.
Has anybody else has faced this prob?
Any suggestion will help.
No body got this bugg??
Regards,
Edited by: Rahul Azi on May 30, 2008 8:18 PMHi Raj,
> can you tell me the steps to investigate the agent determination and mail send function in workflow.
Check the Following Links:-
/people/sapna.modi/blog/2007/02/19/workflows-for-dummies--introductionpart-i
http://help.sap.com/saphelp_nw04/helpdata/en/9b/572614f6ca11d1952e0000e82dec10/frameset.htm
https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/workflow%252bscenario
http://****************/Tutorials/Workflow/Workflow.htm
Regards,
Kanika..:-) -
Sending an email to specific user after checkin
Hi all,
I have a requirement where an email needed to be send to a specific user after a doc checked in into UCM, Here the scenario:
A contributor, while check in a doc, he/she select a name (or maybe multiple name) from a list, whom an email will be send to after the doc checked into UCM.
Is this possible, if so, is it a lot of work or straight forward?
Thanks in advance
d.s.Hey D.S.
you would need to setup a "onEndServiceRequestActions" filter. This gets executed on successful execution of any service.
1) Get the service name
String serviceName = binder.getLocal("IdcService");
2) Check if its your service
if(serviceName.equalsIgnoreCase("<YOUR_SERVICE_NAME>")){
String emailUsers = binder.getLocal("YOUR META DATA ");
send them emails.
cheers,
sapan -
How to send an email to the customer after generating Invoice in Receivable
Hi,
package oracle.apps.xdo.ebsdelivery;
import oracle.apps.xdo.delivery.DeliveryManager;
import oracle.apps.xdo.delivery.DeliveryRequest;
import oracle.apps.xdo.delivery.DeliveryPropertyDefinitions;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
public class EBSEmailDelivery
public EBSEmailDelivery(String rRequestID, String rFile, String rUser)
int userid = Integer.parseInt(rUser);
int requestid = Integer.parseInt(rRequestID);
try {
//get the report title
String repTitle = getReportTitle(requestid);
// create delivery manager instance
DeliveryManager delMgr = new DeliveryManager();
// create a delivery request
DeliveryRequest delReq = delMgr.createRequest
(DeliveryManager.TYPE_SMTP_EMAIL);
// set email subject
delReq.addProperty(DeliveryPropertyDefinitions.SMTP_SUBJECT,
"EBS Report:"+repTitle +" for request: "+ rRequestID);
// set SMTP server host
delReq.addProperty(
DeliveryPropertyDefinitions.SMTP_HOST, "smtp.bizmail.yahoo.com");
// set the sender email address
delReq.addProperty(DeliveryPropertyDefinitions.SMTP_FROM,
"[email protected]");
// set the destination email address
delReq.addProperty(DeliveryPropertyDefinitions.SMTP_TO_RECIPIENTS,
getEmail(userid) );
// set the content type of the email body
delReq.addProperty(DeliveryPropertyDefinitions.SMTP_CONTENT_TYPE,
"application/pdf");
// set the document file name appeared in the email
delReq.addProperty(DeliveryPropertyDefinitions.SMTP_CONTENT_FILENAME,
repTitle+rRequestID+".pdf");
// set the document to deliver
delReq.setDocument(rFile);
// submit the request
delReq.submit();
// close the request
delReq.close();
catch (Exception e) {
e.printStackTrace();
static Connection getConnection() throws SQLException, Exception
String fDriverName = "oracle.jdbc.driver.OracleDriver";
String fDbName = "DEV";
String fServer = "centipede.bluestar.cvg0";
String fPort = "1521";
String fUserName = "apps";
String fPassword = "apps";
Class.forName(fDriverName).newInstance();
Connection dbconn = DriverManager.getConnection
("jdbc:oracle:thin:@"+fServer+":"+fPort+":"
+fDbName, fUserName, fPassword);
return dbconn;
private String getReportTitle(int requestID)
String reportName = "";
try
// Try and geta connection to the db
Connection conn = getConnection();
// fetch the report name based on the request id
PreparedStatement getTitle = conn.prepareStatement(
"select user_concurrent_program_name \n" +
"from fnd_concurrent_requests fcr,\n" +
"fnd_concurrent_programs_vl fcpv\n" +
"where fcr.concurrent_program_id = fcpv.concurrent_program_id\n" +
"and request_id = ?");
//get the title
getTitle.setInt(1,requestID);
// get the query result in to a result set and then assign the
// value to a variable we can pass back to the calling method
ResultSet titleRslt = getTitle.executeQuery();
titleRslt.next();
reportName = titleRslt.getString(1);
System.out.println(reportName);
//Clean up
titleRslt.close();
getTitle.close();
conn.close();
catch (SQLException eSQL)
System.err.println("Could not create connection");
eSQL.printStackTrace();
catch (Exception e)
System.err.println("Exception thrown");
e.printStackTrace();
return reportName;
private String getEmail(int userID)
String eMailID = "";
try
// Try and geta connection to the db
Connection conn = getConnection();
PreparedStatement getEmail = conn.prepareStatement(
"select email_address from fnd_user where user_id = ?");
getEmail.setInt(1,userID);
// get the query result in to a result set and then assign the
// value to a variable we can pass back to the calling method
ResultSet emailRslt = getEmail.executeQuery();
emailRslt.next();
eMailID = emailRslt.getString(1);
System.out.println(eMailID);
//Clean up
emailRslt.close();
getEmail.close();
conn.close();
catch (SQLException eSQL)
System.err.println("Could not create connection");
eSQL.printStackTrace();
catch (Exception e)
System.err.println("Exception thrown");
e.printStackTrace();
return eMailID;
public static final void main(final String[] args)
// Arguments passed
//1.$PROFILES$.CONC_REQUEST_ID
//2.$PROFILES$.FILENAME
//3.$PROFILES$.USER_ID
EBSEmailDelivery ebsMail = new EBSEmailDelivery(args[0], args[1], args[2]);
By using the above code we created a java class file and moved to $JAVA_TOP.
And also we were created Executable and concurrent program.
How can we pass request id and user id to the above program.
Regards,
Venky.There is no way to do this for Webi (at least out-of-the-box). This is probably easy via the SDK.
This is possible for Deski and Crystal via a Publication. -
Wait workflow till the item field is changed. Approved or rejected
Hello guys.
i have to make a sharepoint list where the people can put their leave requests and then the manager approves or rejects it.
In my workflow on sharepoint designer, I have put a wait condition. [Wait for Approval Status to equal 0;#Approved]
This way i can send an email to the person who requested when the approval status is changed to accepted. But how can I do the same when the request is rejected?
Please help.
THanksHi Irfan,
Create a calculated field "StatusChange" , if status is equal to "Approve" or "Reject" set it to 1 else set it to 0.
In workflow wait till StatusChange is changed to 1 n then put If conditions and send mails accordingly.
I hope it will work.
Thanks
Lalita Mittal -
Using JSF and JavaMail to send Automated Email
Hi All,
Can any one please suggest I can use JSF and JavaMail to send automated email messages i.e after a person has successfully completed a form , a message is sent to his/her email address confirming that he has succesfully registered or completed a form. I have succesfull implemeted the use of javamail for sending email meassages in a JSF web application but cant seem to figure out how i can achieve automated sending of emails in JSF. Please any ideas, tutorials or source code would be very much appreciated.
Thanks.I don't understand your problem:
You have already been able to send e-mails from a JSF webapplication, but you are not capable of sending e-mails from a JSF webapplication?!
Automated sending of e-mails will be exactly the same as non-automated. -
I can't send any emails at icloud-account
i can't send any emails at icloud-account after amber update on my nokia lumia. - certificate is wrong?
before this everything works fine. settings:
mail.me.com:993:1
smtp.me.com:587:1
both ssl: yes
any idea?http://support.apple.com/kb/HT4864
yes, but these settings aren't correct for my problem, obviously. -
how can i get option to approve or reject an emial in outlook in mac such that once i click on approve, the email is sent and if i click on reject it goes to sender (within our workgroup), i used to have it in windows
Better ask on the Microsoft forums where the Office experts hang out as it's Microsofts product you're have questions about
http://answers.microsoft.com/en-us/mac -
Sending Email if PO approver does not approved after 2 days
Hi Experts,
I am not sure whether I am posting to the right forum, but I will still try to asked.
We have a requirement that we need a certain agent or report that will run checking all POs need for approval then sending it to each PO's approver outlook email daily?
Is this can be done in ABAP, like creating a report like ME28, get all PO per approver then send it to their respective outlook mail stating to them that this are the PO's need their approval? Or other thing like workflow is suitable?
I am thinking of doing it in a ABAP program to avoid implementation of workflow if possible.
Hoping for your positive feedback.
Thanks.Hi Tina,
1. Firstly I would suggest you to check this report RSSCD100
2. Using workflow if you want to solve this then thi slink may help you http://help.sap.com/saphelp_srm30/helpdata/en/ec/fe163ff8519a06e10000000a114084/content.htm
3. Now the way you are looking for is :
3.a Table EKKO to get Purchase Doc No. , Purch. Doc Category, Release Status (FRGZU)
3.b Pass these 2 values in FM ME_CHANGEDOC_SELECT to get Username (Approver Name) aginst required status
that is FRGZU = 'X'
3.c Use FM SO_NEW_DOCUMENT_ATT_SEND_API1 to send mail (put date logic to compare)
3.d If you are maintaining E-mail IDs in some Z table then okie, otherwise this FM may help you BAPI_USER_GET_DETAIL.
Just give a try & let me know if this was intended.
Regards,
N. Singh -
Email Notifications through workflow for all Approved and Rejected Orders
hi,
i have to send Email Notifications through workflow for all Approved and Rejected Orders to the user who have submitted the order for approval.how could it be done.please send ur solutions.
regards
yesukannanHi,
An option would be use Oracle Alert. Create an event based alert on the table where you have order approvals or rejections. This alert will be raised after inserting or updating this table. Create an action linked to this alert, and choose message as action type.
This setup can be done under Alert Manager Responsibility.
Regards,
Ketter Ohnes -
I cannot send an email from my iPad 2? No problem receiving, why does this happen? Have tried the suggestions for setting up email and after doing the sync mail through iTunes receiving worked great but still cannot send? Any help would be great!
The fact that you can receive means you have a valid e mail address, and have established the connection to the incoming server, so all of that works. Since the send does not work, that means your outgoing server is rejecting whatever settings you used formthe outgoing set up. Try them again.
Google your particular isp, and ipad and many times you will find the exact settings needed for your isp. Or tell us here, and soneone else may be on the same isp. Some mail services need you to change a port, or have a unique name for the outgoing server.
Kep trying. -
I get a error when I send a Email. Recipient "email@address" was rejected by server by sever
I set up my email the way the phone and iPad do. Very simple. It works most the time, but I am usually on wifi also. I ran into problem saying email was rejected by server, and it put email in my outbox. I looked in here to see if anyone had a good solution, then realized after reading the post I never actually checked my servers. My actual servers were different than the defaults that were set up. Example : the default server was mail.roadrunner.com, but the actual should be pop-server.roadrunner.com, and same for the smpt-server.roadrunner.com. Based on the ISP, must have the correct servers. But I was always able to send while on wifi. That part I did not understand. But since I fixed the servers, I have not seen any problem sending on either the iPad or iPhone. If you have not found fix, hope this may help if still having problem
-
Email to new vendors after accpetance/rejection of registration request
Hi friends,
I am working with SRM 5.0 SP08.
Is there any way to send an email notification to newly registered suppliers (prospects) after acceptance / rejection in prescreen suppliers application or after transfer from supploer directory to EBP?
Thanks in advance.
Best regards,
PrashantHi
<b>Please go through the following links -></b>
Stop email notification of new and change POs to SUS suppliers
Re: PO Email Notification
Notification for Partner creation after Supplier pre screening
Email Notification for substitutes.
Registration of Suppliers - maintain logon/passwords
Re: RBBP_NOTIFICATION_OFFAPP
Re: bidder gets REGISTERED into a bid SRM 5.0
Regards
- Atul
Maybe you are looking for
-
After I installed my iWork then when tried to open it it will not open what should i do? Please help.
-
How I can change reference on the item of Purchase Order before document in MIGO save? 1. MB_MIGO_BADI-LINE_MODIFY - not working. Field GO_ITEM-EBELN not ready for input. 2. Assign imposible. This data is a private field of class. (SAPLMIGO)LCL_MIGO_
-
VF01 - Ship to party and sold to party fields
Hi, I am changing user exit in VF01. Currently logic use VBRP-KUNWE Ship to party. But we need to refer to sold to party. How can I get sold to party from ship to party? Thanks, Rupali
-
Adobe Acrobat Patch 8.1.4
Need to deploy to all company machines want to create an SMS package. Is there an MSI file for install the patched version 8.1.4
-
Horrible Experience While Attempting to Sign up
I attempted to sign up through the website while chatting with a sales agent. The agent assured me several times that I would have no deposit if the site did not ask me to pay it by a certain point. I even asked once it said pending deposit verificat