Workflow to send mail 20 day before the expiry date
Dear All,
I created a workflow to send mail when a calculated column date is equal to today as follows:-
Step1
add -20 days to Current Item:Expiry Date (Output to Variable : date)
then set variable : Notification1 to Variable : date
Step2
If variable:notification1 equals (ignoring time) Today
email users
Now when i add a new item to the list , the workflow status is set to In progress , and when i refresh the page the status is changed to Completed before the condition is met and!!
Any help
Regards
If I Understood your question correctly, you need to send email to user 20 days before expiration date.
From above you workflow I can see, you are just checking your condition once a item is created. As your Step2 condition is not met your workflow is completed without any error. I suggest you might want to try below workflow
Step1
add -20 days to Current Item:Expiry Date (Output to Variable : date)
then set variable : Notification1 to Variable : date
then Pause until Variable:date
Step2
email users
Above workflow design will pause you workflow till 20 days before expiry date. and then send email to user.
Please ignore syntax, I just tried to put logic.
Below is explantion on how to use Pause Action(from MSDN) in Sharepoint workflow
This action is initially displayed in a workflow step as Pause until this time.
Use this action to pause the workflow until a particular date. You can add a current date, a specific date, or a lookup.
Following are examples of what the action might look like in a workflow step,
Pause until 1/1/2010 12:00:00 AM
Pause until Variable: A week from Modified
If this helps Please mark it answer or vote as helpful.
Thanks
Siddharth
Similar Messages
-
Send a reminder mail to a person in 'Assigned To' 7 days before the 'Due Date'
I want to create a workflow on SharePoint list and it should send a notification email to 'Assigned To' person before 7 days of Due Date (another column in the list).
I'm new to SharePoint. Please explain the steps in detail.
Any suggestions would be greatly appreciated. Thank you.Hi Sekhar,
Hope the below links should be useful to you.
http://sharepoint713.blogspot.in/2011/09/sharepoint-designer-workflow-to-send.html
https://social.technet.microsoft.com/Forums/sharepoint/en-US/e85c2fcb-81fa-4c8d-9f0d-3c4799de771b/send-a-reminder-mail-5-days-before-and-1-day-before-the-due-date?forum=sharepointcustomizationlegacy
https://social.technet.microsoft.com/Forums/sharepoint/en-US/1e2912f4-3119-49b0-b620-e67f629596d0/how-to-send-alert-on-2-days-before-of-task-due-date?forum=sharepointcustomizationlegacy
https://mysharepointchronicles.wordpress.com/2012/11/05/sharepoint-list-with-workflow-email-reminder-set-to-send-30-days-from-created-date/
http://markeev.com/Articles/item-expiration-reminders-in-sharepoint-using-workflow.aspx
Please remember to click 'Mark as Answer' on the answer if it helps you -
How to set SPD workflow to send email one day before the Due Date? ?
I need to add a step in workflow for a item tracking list: send reminder email one day before the due date.
I thought there is an Action in SPD: wait for [Due Date] to equal [Today]minus one day
But there is no way to do that.
I figured may be I need to create a calculated field [cal-date] that set to: =[today] plus one day.
Then in workflow -
wait till [Due Date] is equal to [cal-date], and send an email
What is the formula for the above calculated field [Today] plus one day?Hi,
You can add an approval action( such as Start Approval Process) -> click "Approval" -> go to “Change the behavior of a single task” . Then you will
see the "When Task expires" stage.
You can have a look at the blog:
https://www.nothingbutsharepoint.com/sites/eusp/Pages/5-Steps-to-Enhance-SharePoint-2010-Approval-Workflow.aspx
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]
Eric Tao
TechNet Community Support -
How do you delete a rented film from Apple TV before the expiry date?
I rented out a film, but I don't want it to stay on the Apple TV, I have just bought it, but cannot delete it, there is no trash can on the screen, SOMEONE HELP!?
Have you watched it?
If so it'll expire in 24-48 hours anyway. If not start play and stop and it'll do the same rather than sitting there for 30 days.
Accidental rental or something? -
How to send a mail prior to the due date
Hi all,
I would like to send a mail prior to the due date. Please let me know how to go to the previous step after the loop is executed once in workflows.
Thanks,
Sirisha N.Hi all,
I would like to send a mail prior to the due date. Please let me know how to go to the previous step after the loop is executed once in workflows.
Thanks,
Sirisha N. -
Hi SAP Guru´s,
Currently we are sending the pricing, promotions & article master data delta load to 3rd party system from SAP ECC via SAP XI through IDOCS using daily scheduled batch jobs WPMU. IDOC segment - WP_PLU.
Here the issue is the promotion & pricing data are sent to 3rd party system one day before the actual start date.
Eg: Promotion 123456 which has start date as 15/05/2014 & ending on 30/05/2014 & was created & activated on 13/05/2014.
This promotion 123456 is getting triggered from SAP ECC through batch job on 14/05/2014 morning & 3rd party system receives the data on 14/05/2014 & the promotion are getting activated at 3rd party system end on 14/05/2014 itself which actually gets active from 15/05/2014.
Same in the case for Standard Pricing data which needs to be active from 31/05/2014 once the promotion 123456 ends on 30/05/2014.
The standard pricing data gets triggered from SAP ECC on 30/05/2014 through batch job & reaching 3rd party system on 30/05/2014 & getting activate on 30/05/2014 itself.
This creates more issues at the store end as well as affecting business.
We checked at 3rd party system end & they replied that their system considers the updated time stamp & date to activate the prices & it does not considers the actual active from & active to date. They need the data to be sent from SAP ECC on the effective date of the pricing & promotions.
Can any one help me how to change the pricing conditions beign triggered through batch job in SAP ECC based on the actual promotion & pricing conditons start date or is there any other process to trigger the data through the batch job on the actual promotion & pricing data activation date.
Thanks in Advance.
Thanks & Regards,
P.P.ShankarHello Shankar,
Change the lead time in the POS Outbound Profile. You can't put less than 2 days there so data for today and tomorrow will be transferred which also means you need to adjust your batch timing accordingly.
Sales and Distribution -> POS Interface -> Outbound -> Maintain Profile for POS Outbound.
See if it helps. The best option would still be that the 3rd part system considers the activtion date.
Kind Regards
Kaizad -
Custome Workflow will send mail after 6 months from a document added
Hi,
I have created a custom sequential workflow in Visual studio. As per the requirement, the workflow will send mail to approvers after 6 months from the document added date. Is that possible? I don't want to use timer job, as there is some other issue. Can
I do the same in workflow itself? Which event will work for the same?
ThanksHi,
You can setup retention policy to start workflow after 6 months from created date:
http://blogs.askcts.com/2013/05/14/creating-a-timed-workflow-in-sharepoint-2010/
http://community.office365.com/en-us/f/154/t/252993.aspx
Hope it helps!
Thanks,
Avni Bhatt
If this helped you resolve your issue, please mark it Answered -
Further changes to workflow to send mail while creating material.
Hi,
I have created a workflow which sends mail to users when a material is created.
Now, I want to send mails to specific users depending upon the Industry sector and Material type.
For eg:
1) user1 should receive mail if the new material belongs to 'Aerospace & Defense' Industry sector and 'Raw material' Material type.
2) user2 should receive mail if the new material belongs to 'Retail' Industry sector and 'Semifinished goods' Material type.
Is there a way where I can create a condition for a mail to be sent?
Thanks & Regards.self answered
-
Sending mails after running the audit
Hi,
Please let me know if there is any standard workflow available for sending mails after running the audit. I want to inform students that they have failed in audit because of such and such subrequirement is not met.
Regards
Vinod KumarHi Vinod,
If you are on Ehp4 you can use the BRF as a framework to create a custom developed event/action to send out the e-mail. Or you can copy the standard bulk program of audit calculations and create to functionality to send out e-mails after the run.
There is currently no standard e-mail related to this process. You could check the standard workflow HRIQ_ADM_UG template to retrieve tasks to be copied in your own workflow (example HRIQ_APP1).
Good luck
Rob -
how can i say yes to automatic updates when they stop my wireless dlink to Virgin home broadband from getting on the internet and then i have to do a system restore to the day before the update to get it back to normal?!? Frustrated
== This happened ==
Not sure how often
== automatic updates go on my computer, say if i click yes to update when shutting downYou have 10.6 on that machine, I suggest you stick with it for performance, third party hardware and software reasons as long as possible.
Consider 10.8 (not 10.7) when it's released, because 10.7 and 10.8 will require a new investment in software and newer third party hardware as it requires newer drivers the old machines won't have. (forced upgrade because of software, really nice of them)
http://roaringapps.com/apps:table
Far as your Safari problem do these things until it's resolved:
1: Software Update fully under the Apple menu.
2: Check the status of your plug-ins and update (works for all browsers) also install Firefox and see if your problems continue. You should always have at least two browsers on the machine just in case one fails.
https://www.mozilla.org/en-US/plugincheck/
Flash install instructions/problem resolution here if you need it.
How to install Flash, fix problems
3: Install Safari again from Apple's web site
https://www.apple.com/safari/
4: Run through this list of fixes, stopping with #16 and report back before doing #17
Step by Step to fix your Mac -
Having problems in sending email..always saved in outbox and cannot send bcoz of server failed
The email server you are using to send mail through requires the password, if any is required it needs to be set in the location that I pointed out in the earlier post.
It is usually the same password you use for receiving emails.
I don't use either Facebook or Twitter so I am not sure how to help with those. -
Send Mail When Saving The Process Order
Dear Experts,
I want to send a Mail with some details whenever we Create & Save a new Process Order in COR1.
I have written my code at the below location where i have all the required data stored in the IT'S.
Enhancement - PPCO0001
FM - EXIT_SAPLCOBT_001
Include - zxco1u01
I have the below code to send the Mail in the include.
Send the document
call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
exporting
document_data = wa_doc_chng
put_in_outbox = 'X'
commit_work = ""
tables
packing_list = it_objpack
contents_txt = it_objtxt
receivers = it_reclist
exceptions
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
others = 8.
if sy-subrc = 0.
To refresh SAP Work Office so that mail can be recieved immediataly.
submit rsconn01 with mode = 'INT'
with output = ''
and return.
else.
message 'Problem in sending Email.' type 'I'.
endif. " End of sy-subrc
Here my exporting parameter "commit_work" is blank, i have not passed "X" in it.
When i pass "X" in this, it gives me a dump as below.
Short text
Invalid COMMIT WORK in a COMMIT WORK or ROLLBACK WORK.
What happened?
Error in the ABAP Application Program
The current ABAP program "SAPLSOI1" had to be terminated because it has
come across a statement that unfortunately cannot be executed.
Error analysis
The call of a COMMIT WORK in a FORM, that will not be executed until
the commit or rollback point of the caller using the variant
PERFORM ... ON COMMIT or PERFORM ... ON ROLLBACK is not permitted.
Trigger Location of Runtime Error
Program SAPLSOI1
Include LSOI1U32
Row 154
Module type (FUNCTION)
Module Name SO_DOCUMENT_SEND_API1
When i take out "X" from "commit_work", it does not send mail and also the transaction does not give any Dump.
Can you please help out me with this?
Thanks,
PraveenHi Antony,
When i write the below code in FM = EXIT_SAPLCOBT_001 and include = zxco1u01, it does not work for sending the mail.
Mail Data.
types: begin of ty_mail,
tcode type zmail-tcode,
email type zmail-email,
end of ty_mail.
IT Creation.
data: it_mail type standard table of ty_mail.
WA Creation.
data: wa_mail type ty_mail.
Email Related Internal Tables.
data: it_reclist type standard table of somlreci1, "Recipients
it_objpack type standard table of sopcklsti1,
it_objhead type standard table of solisti1,
it_objtxt type standard table of solisti1 initial size 0 with header line, "Body of EMail
it_objbin type standard table of solisti1, "Attachment of EMail
it_contents_hex like standard table of solix,
it_objbin1 type standard table of solisti1, "Attachment of EMail
it_contents_hex1 like standard table of solix.
Email Related Work Area.
data: wa_doc_chng type sodocchgi1. "attributes of document to send
data: l_reclist like line of it_reclist,
l_objpack like line of it_objpack,
l_tab_lines type i.
data: lv_answer type string,
w_msg1(100) type c,
w_gamng type string.
select tcode email from zmail into table it_mail
where tcode = 'ZQA15'.
refresh it_objtxt[].
it_objtxt = '-----------------------------------------------------------------------------------------------------'.
append it_objtxt.
concatenate 'Order Number - ' header_table-aufnr into it_objtxt separated by space.
append it_objtxt.
concatenate 'Plant - ' header_table-werks into it_objtxt separated by space.
append it_objtxt.
concatenate 'Material No. - ' position_table-matnr into it_objtxt separated by space.
append it_objtxt.
concatenate 'Material Description - ' header_table-ktext into it_objtxt separated by space.
append it_objtxt.
concatenate 'Batch No. - ' position_table-charg into it_objtxt separated by space.
append it_objtxt.
w_gamng = header_table-gamng.
concatenate 'Batch Size - ' w_gamng into it_objtxt separated by space.
append it_objtxt.
concatenate 'MFG. Date - ' position_table-verid into it_objtxt separated by space.
refresh it_reclist[].
loop at it_mail into wa_mail.
clear l_reclist.
l_reclist-receiver = wa_mail-email.
l_reclist-express = 'X'.
l_reclist-rec_type = 'U'.
l_reclist-no_forward = 'X'.
append l_reclist to it_reclist.
clear wa_mail.
endloop.
Fill the document data.
wa_doc_chng-doc_size = 1.
Populate the subject/generic message attributes
wa_doc_chng-obj_langu = sy-langu.
wa_doc_chng-obj_name = 'PO DETAILS'.
wa_doc_chng-obj_descr = 'PO Details To QC'.
wa_doc_chng-sensitivty = 'F'. " Send mail as a confidential
wa_doc_chng-no_change = 'X'.
Describe the body of the message
if it_objpack is initial.
l_objpack-transf_bin = space.
l_objpack-head_start = 1.
l_objpack-head_num = 1.
l_objpack-body_start = 1.
describe table it_objtxt lines l_objpack-body_num.
l_objpack-doc_type = 'RAW'.
append l_objpack to it_objpack.
clear l_objpack.
clear l_tab_lines.
endif.
Send the document
call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
exporting
document_data = wa_doc_chng
put_in_outbox = 'X'
commit_work = ''
tables
packing_list = it_objpack
contents_txt = it_objtxt
receivers = it_reclist
exceptions
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
others = 8.
if sy-subrc = 0.
To refresh SAP Work Office so that mail can be recieved immediataly.
submit rsconn01 with mode = 'INT'
with output = ''
and return.
else.
message 'Problem in sending Email.' type 'I'.
endif. " End of sy-subrc
endif. " End of lw_answer
But when i write the same above code in FM = EXIT_SAPLCOZV_001 and include = zxco1u06, it does work fine.
I am not able to understand why it works at one place and does not at the other?
Thanks,
Praveen -
Can't send mail, get message: the smtp server rejected the password. I tried lock and unlock keychain. I tried unlock captcha. Gmail works okay, it is Mail that does not. Help!!
Hi
You need to check with your ISP whether or not the send mail server (SMTP) requires a password. Some do, but many do not. When you know the correct password to send mail, then you need to tell Mail as follows:
Mail menu > Preferences > Accounts > Select the account
Click on the Outgoing Mail Server (SMTP) combo box, and select Edit SMTP Server List...
In the Account Information tab put the server name
In the Advanced Tab, set up the authentication information from your ISP.
Good luck
Bob -
Cannot Send Mail One of the Recipients Email Addresses is Invalid
Cannot Send Mail One of the Recipients Email Addresses is Invalid
This is the error message I keep getting on outgoing mail. Incoming mail works fine. Does anyone have any suggestions to try?You mean you can receive and send messages when you are connected to your wi-fi network at home with your internet service provider as the internet connection for your wireless network at home, but you are unable to send messages with this account when connected to AT&T's cellular network?
If so, this leans toward your email account being provided by your internet service provider.
Most internet service providers block the use of SMTP servers that are outside of the ISP's network or not provided by the ISP unless the SMTP server is authenticated. Not many ISPs provide an authenticated SMTP server with the email account they provide their customers.
You can do one of two things. The iPhone includes AT&T's SMTP server to select as the SMTP server to use for this email account when you are connected to AT&T's cellular network, but you probably won't be able to use AT&T's SMTP server to send with the account when connected to your wi-fi network at home.
Or you can switch to using an email account that provides an authenticated SMTP server. A Gmail account is one, and a MobileMe account is another. -
Yesterday I buy 99 usd point from game ! But the game system say cant pass the payment ! But today iTunes send mail report say the payment is go over ! So ?the payment ?
Months of impecable service form BT as an option 3 customer. (I've even recommended BT to people)
but
For the past 2 weeks peak traffic has murdered my connection.
I can get 14mbit off peak, and it used to drop to about 7-9 at peak times.
Now its down to 1-2mbit at peak times. (no i haven't breached FUP as I check my btinternet inbox for the 80GB warning)
I think its resonable to experience drop off but 90%!!!
BT advertising says fast speeds at peak times. less than 2mbit is not fast. (that the governments minimum standard!!!)
I don't know how to procede because when I'm experiencing these issues if I ring up I will end up waiting so long to speak to someone (because its peak time) the concection wiill be better again.
I can think of no recourse other than to approach trading standards...
Guarnetee me 5mbit at peak times (enough to stream HD iplayer) and I'd be happy
That is what BT vision customers are in essence are getting + what ever their PC is using.
Fair usage? what about Fair Supply.
Maybe you are looking for
-
How to get all kind of GP work items for all users
Dear all: Basing GP implementation,we can only get the single user's work item. Is that possible to get all of the users' work items,and can filter the work item via time field? thanks a lot.
-
Read field of TextInmput text and to execute referring condition to the informed text
Post Read field of TextInmput text and to execute referring condition to the informed text, AS3.0 To depend the inserted text for the user, flash will be read by the compiler to player, and a connective if goes to define for which picture will be dir
-
PS CS2 lens correction causes "Maximize Compatibility" issue in LR
Question: why does PS CS2/3 convert the layer "Background" to "Layer 0"? This is the problem (and solution): I encountered the widely discussed "Maximize Compatiblity" issue with a bunch of PSD files (slide scans) that contained only one layer. Puzzl
-
After i have backed up and then try to open up the file that is on my computer, i get an error message stating the computer can't find the program to open it. do i need special software to open and IPD file? If so, what is it and where do i get it
-
Is it possible to show the focus points? C1 Pro do not have this function so have to go back to Canon DPP to verify if camera problem or wrong operation.