Workflow changes - send reminder email on X - 1 days ... based on Molga
Hello Everyone,
I new to workflow and I came across a workflow scenario where I am confuse, that what should I do in order to make it work. Luckily we are running only one workflow in the system which is time off request, We copied standard workflow class u201CCL_PT_REQ_WF_ATTRIBSu201D to Z version and introduced some new method to send email to employees managers as well as employee and HR .
We also have something called workflow item cancel thing . Lets say if workflow is not approved by manger within X bossiness days it got cancel and employee has to submit the new time off request again. After doing a little bit research I came to know that there is standard job which checks and calculate the X days thing. Work flow is running fine from last 1 year.
Last week, we been asked to create reminder from X-1 day and sends to employee manager saying u201C This is a reminder and one day is left u201C .
I wanted to know how I can achieve that, I have to filter the employee by reading employeeu2019s molga as we want to do it for specific countries then I have to read employee manager which I can do using different FM and then I have to send email to employee's manager .
Like I said It should happen BEFORE x-1 business days when employee submits the time off u2026
Here what I am thinking , I can read table u201CSWWWIHEADu201D with field WI_TYPE = u2018Wu2019 . and pass work_id to FM " SWW_WI_CONTAINER_READ " and read the container like the INCLUDE MWS20000081HO01
CALL FUNCTION 'SWW_WI_CONTAINER_READ'
EXPORTING
wi_id = wi_id
READ_FOR_UPDATE = ' ' *
TABLES
wi_container = wi_container
EXCEPTIONS
container_does_not_exist = 1 "message from function
others = 99.
IF SY-SUBRC = 0.
SWC_GET_ELEMENT WI_CONTAINER 'ACTUALSTATE' ACTUALSTATE130100.
ELSE.
CLEAR ACTUALSTATE130100.
ENDIF.
IF ACTUALSTATE130100 = 'N'.
CALL TRANSACTION 'WS20000081M'.
LEAVE PROGRAM.
ENDIF.
From container I can read employee number and approver . Get molga via pernr and can filter the employee ..who ever submits the request system date u2013 4 .. I can send out the reminder email u2026
Is there any other way around or any other efficient way of doing that u2026 I hope you understand this thing is conditional u2026 As far as I am concern I new to workflow so please bear with me ..
Waiting
Khan
FYI- I have gone through several post which task about deadlines monitoring Etc .. using fork & wait blah blah .. but It didnu2019t get any clue where to start and how to start u2026
Mike,
I think I am following you so for .. so here what I did ... I opened the "approve process" and slap in the same refer date/time in "Requested end date " with variables "&WFDATA.DEADLINEDATE&" "&WFDATA.DEADLINETIME&" with 1- DAY . I didnu2019t find this what it says in help " It is possible to specify a negative time interval. Negative time intervals should only be used in connection with an expression as a reference date/time. You then have the option of "backward deadlines"
Any way after that I changed action to "modeled" and say "outcome "reminder from UK " .
it creates a node with clock sign , now like you said , I can do many things here .. and I really need to do something for example , I need to check the employee if he/she is from UK , after that reads his/her manager and send an email to mangeru2019s outbox . UK gave us an email format which I have created in t-code SE60 - with Document Class "Dialog Text".
How to proceed further. Thanks for baby sitting me.
What I am thinking , I need to create a new activity as well as new method in my Zclass, in which I will check employee Molga i.e. U.K and I have to send out email based on my email text which I have created in SE61.
Iu2019m able to write code in existing method , being on the safe side I copied the existing workflow and made changes in to it . Now it comes to debugging part , Iu2019m able to find posts on SDN talks about workflow debugging . When I am entering time off request from ESS , and it is not stopping at external breakpoint , Also when I am looking at "PTARQ" to see submit WF items . It is showing me the old task "w90000012" which is original one and I copied it and my task is "w90000022" . What I have to do so when I submit time off request via ESS it calls my task . I created Task in PFTC . But nothing is happening . Please let me know what I am missing ..
I found the table for ESS leave request and able to see my task , Table name is "u2022 V_T554S_WEB"
But still waiting for answers the of above questions ...
Edited by: Saquib Khan on May 27, 2008 9:36 AM
Similar Messages
-
Hi Everyone,
So I need to have a workflow in sharepoint designer 2010 that sends an email out every friday, so far all the ones I have seen send it out 7 days from when the item was created, but not every (certain day of the week)
Any help at all would be great.
Thanks
Best regards, MikeHi,
Greetings,
Use Information Retention policy settings as below.
pls check below
http://social.technet.microsoft.com/Forums/office/en-US/7be77b5d-c686-4b33-b30c-204f7ffcd569/how-to-send-reminder-email-for-every-2-days-after-due-date-occurs-in-sharepoint-2010-workflow?forum=sharepointadminprevious
I recommend to use Information Management Policy and workflow to achieve this goal.
https://www.earley.com/blog/sharepoint-2010-using-retention-stages-manage-lifecycle-information
http://www.danielroot.info/2012/08/information-management-policy.html
You can also create custom timer job to start the workflow at a schedule time:
http://bhandariasb.wordpress.com/2013/06/03/start-workflow-from-custom-timer-job/
Please remember to click 'Mark as Answer' on the answer if it helps you -
Prevent Sharepoint 2010 workflow to send duplicate emails
I have SharePoint 2013 as environment but am using SharePoint 2010 workflow on a list. There is a field in this list called "Order Status" which has different status such as Processing, Shipped, Cancelled, Hold. There is another list which updates
this Order Status. I have the workflow send out an email when the Order Status changes to Processing and another email when Order Status changes to Shipped.
The issue is that there are multiple emails being sent out when any of these status changes to either Processing or Shipped. There is no other workflow attached to this list
How do I prevent the workflow to send duplicate emails? I have seen that a flag could be setup to track the email sent once but that method does not work correctly and it still sends out duplicate emails. Or maybe I am not doing this correctly
Any suggestions, comments or have anyone resolved this successfully
Thanks Snehal H.Rana SharePoint ConsultantHi Snehal
If you check the workflow history, you will probably see that every time an item is added or modified, the workflow runs twice. That’s why you’re receiving two email notifications.
The reason for this is timing. If your workflow is very short and the SharePoint server is very slow, the first instance of the workflow may finish well before the item is fully saved and committed to SharePoint. As the item is being processed, the workflow
event receiver can fire again, and start another instance of the workflow.
The solution for this problem is to add a step at the end of your workflow which will pause the workflow for a few minutes .
Another Option is to use a Flag.For Setting up flag correctly check the following link
http://www.mssharepointtips.com/tip.asp?id=1145
Please 'propose
as answer' if it helped
you, also 'vote
helpful' if you like this
reply
Amit Kotha -
I'm looking for a scheduling app that will send reminder emails to clients
I'm looking for an iPad appointment app that will send reminder emails to clients & synch with my iMac. Suggestions?
Voicemail is through your carrier and on their equipment.
It's function and features is set by them, not your phone. -
How do you send an email to a specific person based on if a particular check box is checked?
How do you send an email to a specific person based on if a particular check box is checked?
Try the LiveCycle Designer forum.
-
Workflow giving "Suspended" Error on Calculated Columns- Sending Reminder Emails on List Due Date
I have created a list that has our reporting due dates plus calculated columns for 5 and 10 day reminders.
Example:
Due Date: 3/7/2014 1:00 PM
5 Day Reminder (Calculated Column= [Due Date] – 5): 3/2/2014 1:00 PM
10 Day Reminder (Calculated Column= [Due Date] -10): 2/25/2014 1:00 PM
As you can see in the list, it calculates the (5 and 10 day) reminder dates correctly in the list…
However, what I am wanting to happen is to build a workflow that will automatically trigger and send these reminder emails.
In SP 2013 Designer, I have my conditions set as:
I can go in on the list and set the workflow but once the due date/time comes up… The status changes from "Started" to "Suspended"-- I never receive a reminder email and I get the following error:
"RequestorId: ff5dac1d-ccee-ba1b-0000-000000000000. Details: RequestorId: ff5dac1d-ccee-ba1b-0000-000000000000. Details: An unhandled exception occurred during the execution of the workflow instance. Exception details: System.ApplicationException: HTTP
500 {"error":{"code":"-1, System.FormatException","message":{"lang":"en-US","value":"String was not recognized as a valid DateTime."}}} {"Transfer-Encoding":["chunked"],"X-SharePointHealthScore":["0"],"SPClientServiceRequestDuration":["33"],"SPRequestGuid":["ff5dac1d-ccee-ba1b-8934-5a9d0c69d3c4"],"request-id":["ff5dac1d-ccee-ba1b-8934-5a9d0c69d3c4"],"X-FRAME-OPTIONS":["SAMEORIGIN"],"MicrosoftSharePointTeamServices":["15.0.0.4420"],"X-Content-Type-Options":["nosniff"],"X-MS-InvokeApp":["1;
RequireReadOnly"],"Cache-Control":["max-age=0, private"],"Date":["Tue, 25 Feb 2014 18:49:09 GMT"],"Server":["Microsoft-IIS\/8.0"],"X-AspNet-Version":["4.0.30319"],"X-Powered-By":["ASP.NET"]}
at Microsoft.Activities.Hosting.Runtime.Subroutine.SubroutineChild.Execute(CodeActivityContext context) at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor
executor, BookmarkManager bookmarkManager, Location resultLocation)"
The string I have set up within SP Designer for the dates is:
If Current Item:Due Date
equals Today
If Current Item:5 Day Reminder
equals
Today
If Current Item:10 Day Reminder
equals
Today
Any ideas as to what I am missing?
Thank you in advance!
AmandaHi,
To start the workflow, we have three options:
If you select the “start the workflow automatically when an item is created” or “start the workflow automatically when an item is changed”, the workflow can be started automatically.
If you don’t, your workflow will never run, and therefore never wait till the date specified.
The “Pause Until Date” action causes a workflow to pause executing until a specified date and time.
If current day is equal to the specified date, it will execute the next step.
More information:
Workflow actions quick reference (SharePoint 2013 Workflow platform)
http://msdn.microsoft.com/en-us/library/jj164026.aspx
Best Regards,
Linda Li
Linda Li
TechNet Community Support -
Workflow to send an email any time assigned to has changed
I have a task library where it is common for the assigned to column to be changed and i just want to be able to send an email to the assigned to anytime it changes. How can i accomplish this with eiter OOTB or designer?
Hi Kyle,
You will need 2 workflows, for this to achieve, on tasks list.
On item Created event only(WF1)
On item Updated event only(WF2)
At first create a list called “Task Tracking” with two columns (1.Title
and 2. Assigned To Field )
In WF1 just create an item in a list (Task Tracking) where
Title: current item
(tasks) -> ID
Assigned To Field : current item
(tasks) -> Assigned to
This stores task ID and person’s name to whom a task is assigned.
In WF2 insert if condition (any value equals value)
IF current item (tasks) -> assigned to not equals (task tracking -> Assigned To Field
where title (task tracking) = current item (tasks) -> ID )
Then send an email
Then Update item in task tracking (Assigned To Field = current item (tasks) -> Assigned To
where title (task tracking) = current item(tasks) -> ID ).
Note: This step will store the new value of a user to whom the task is reassigned in “task tracking” list.
Then Stop the workflow
Else
Stop the workflow
Hope this helps. If you have any doubts please post them.
Regards,
Raviraj -
SharePoint 2013 - SPD Custom Workflow keeps sending multiple emails for a single Task
I have a workflow triggering on List item created only. There are multiple stages in the work flow and in each stage a single task is assigned to a group of people. Currently group is only having one user i.e. my own test user with a valid email address.
Workflow was running fine for first 5 runs but now it keeps sending multiple emails for each task multiple times and runs very slow. I have only single workflow in development server with 24GB RAM.
Enabling the Workflow log in Event viewer does not show any error or warnings. The only clue I see is WorkFlowManager Database table "DebugTrace" having multiple entries showing that WF is trying to send same email multiple times with failed attempts,
but in reality emails are being delivered as well.
http://server/site/_vti_bin/client.svc/sp.utilities.utility.SendEmail Retry sending email in xx.xx.xx Status: HTTPRetrying
http://server/site/_vti_bin/client.svc/sp.utilities.utility.SendEmail Retry sending email in xx.xx.xx Status: HTTPFailed
I could not get the exact phrase as I don't have direct access to development machine at work.
Any help or guidance will be highly appreciated.Yes, I have on-premise SP site, and here is the actual log I see in DebugTraces table.
Message Level Name Category
Attempt 1 of the HTTP request to 'http://site/collection/_vti_bin/client.svc/sp.utilities.utility.SendEmail' failed with response '<Exception.
No Status Code>'. 2 HttpRequestFailed Http
Attempt 2 of the HTTP request to 'http://site/collection/_vti_bin/client.svc/sp.utilities.utility.SendEmail' will be made in 00:00:06.
2 HttpRequestRetrying Http
Attempt 2 of the HTTP request to 'http://site/collection/_vti_bin/client.svc/sp.utilities.utility.SendEmail' failed with response '<Exception.
No Status Code>'. 2 HttpRequestFailed Http
Attempt 3 of the HTTP request to 'http://site/collection/_vti_bin/client.svc/sp.utilities.utility.SendEmail' will be made in 00:00:07.
2 HttpRequestRetrying Http
Attempt 3 of the HTTP request to 'http://site/collection/_vti_bin/client.svc/sp.utilities.utility.SendEmail' failed with response '<Exception.
No Status Code>'. 2 HttpRequestFailed Http
Attempt 4 of the HTTP request to 'http://site/collection/_vti_bin/client.svc/sp.utilities.utility.SendEmail' will be made in 00:00:09.
2 HttpRequestRetrying Http
Attempt 4 of the HTTP request to 'http://site/collection/_vti_bin/client.svc/sp.utilities.utility.SendEmail' failed with response '<Exception.
No Status Code>'. 2 HttpRequestFailed Http
Attempt 5 of the HTTP request to 'http://site/collection/_vti_bin/client.svc/sp.utilities.utility.SendEmail' will be made in 00:00:13.
2 HttpRequestRetrying Http -
Workflow Steps send automatic emails, but this is not required..??
Hello,
we have a strange problem we got recently with our workflows steps we are using.
The Workflow Steps and Workitems works all just fine, the Issue is that some times the trigerred Workflow Steps automaticly send an an external email to the User outlook with the Wokitem Text & Description, i dont remember that i have activated any thing to send email in the Workflow steps we are using...Please help and advice why this emails is sent out and how we can deactivate it.
We are using the standard SAP Performance Management Workflows, Example WF-Step: TS12300110.
Thanks and Kind Regards,
NazihAgain, i would like to clarify some thing here:
1. The Workflow Tasks we are using in out Process are working just fine.
TS12300110
TS12300111
TS12300115
TS12300112
TS12300096
2. In this SAP Workflow Tasks, there is no step which send an email to the WF-User.
3. To send an Email to user we can use the Reports RSWUWFML mor RSWUWFML2 as you mentioned, i know this well and yes they are planned in the System with a Variant, but which does not include our Workflow Tasks in it. and also the Report RSWUWFML is planned to run once a day in the evening, but we are getting the Emails directly after triggerring the WF-Tasks...strange?
4. I have checked the Tcode SWE2 and found one entry to the WF we are using:
BOR-Objekttyp APPR_DOC INFO_APPRAISER_CHANGE_APPROVE WS12300115
If i deactivate here i will shut down the Workflow ..right?
Thanks & Regards,
Nazih -
Workflow for sending reminder mail to approve pending PO in me28
Hi Experts,
I have a requirement wherein I have to design a workflow to send a mail to the approver if he has not approved the PO in me28.
I don need a workflow for PO approval . Only in the case he forgets to approve a PO for one day he needs to get a mail .
Kindly guide me . Quick help is appreciatedHello,
Design a workflow template which is triggered when the PO is created. Make the template wait for the event 'RELEASED' which is to be triggered once the PO is released. If the event is received, complete the workflow or else, design the deadline monitoring to send a mail to the concerned person if PO is not released.
You need to take care of the event creation after the PO is released and deadline monitoring of the step in the workflow template.
If this is not possible, you can create a program which collects all the POs which are not released within a day of creation and send a mail to the concerned people from the program itself. You have to schedule this program daily at a particular time to send the mail. You do not need a workflow for this.
Hope this will help.
Thanks,
Samson -
Sending group email on a specific day
Hi there,
Not exactly a newbe but this is something I have never considered. I have a database with a list of users and each user has an email linked to them. I want to set up the ColdFusion application o that it sends out an email to all the members on a specific date. My question is: What is the best way to do this?
I have considered writing a script that runs each time a page is loaded to check the dates and send the group email if the current date matched the date on which to email. Obviously this will affect the load time of the page every time it is accessed. My next concern is that if I do decide to go ahead with this option the script is only going to check the date if the page is loaded on that day.
Any input would be very appreciated.
Thanks,
StevenSuccess!
So I didn't actually have access to the ColdFusion administrator because my websites on a shared server; however, I did find <CFSCHEDULE> which by the sounds of things does this for you without touching CFAdministrator. Same outcome anyway. Just for clarity, I created a page that scheduled the task
<CFIF url.outputDate GT NOW()>
<CFSCHEDULE action = "update"
task = "TaskName#makeUniqueVar#"
operation = "HTTPRequest"
url = "http://www.domain.com/sendGroupEmail.cfm?var1=#var1#&var2=#var2#&var3=#var3#"
startDate = "#url.outputDate#"
startTime = "12:00 AM"
interval = "once">
</CFIF>
and sendGroupEmail.cfm sends the email. Easy!
Regards,
Steven -
I am trying to create reminders from csv file. This consists of reminder date, descriptions and email ids where reminder to be sent. In our instituition we have hundreds of reminders to be set up and to remind various people through exchange server.
There are simple Google spreadsheet scripts available (https://docs.google.com/document/d/1IbCbxutPxqE9vIJV5jXNghPXQzu7rCtXY05oAH9nnA0/edit?pli=1) to do this job easily without any manual intervention. But we want to use Outlook.
Its not clear sharing calender (we also have O365) send reminders or should be invited and accepted. Also invitees could not be imported there seems to be a bug in csv import feature in outlook.
Could somone help plz?Hello Doctsh,
Everything is possible but not everything is built-in. To amend that Microsoft introduced VBA (Visual Basic for Applications) to their Office products. Hence you need to understand programming to make your desired solution. The learning curve of VBA
is fairly steep but once you have the grip of it you also have a great tool where everything is possible.
Internet is full of samples. In your case I'd suggest you start from scratch with VBA. Just enter 'VBA beginner' in Google and you have a wealth of information at your fingertips.
Then you can follow Diane's examples. She's an expert in smart Outlook programming.
Best regards George -
Workflow for sending Reminder before 10 daysdelivery date
I have built workflow as reminder should be sent to Mangaer before 10 days of delivery date once order is closed/won
([<IndexedDate0>] - Duration("P10D")) but mail is triggering immediately order is closed/won irrespective of delivery
date, so my workflow condition is not working at all..
Please suggest.
Regrads,
KetkiHi Ketki,
What is the workflow rule condition you are using in the workflow ?
Thanks & Regards
Sablok -
Triggering workflow to send an email whenever a material is created
hi workflow guru's,
i am new to workflow , i am creating a workflow for matrial created whele Activity , it is asking the 1) abbr
2) name
how to created that plz tele me step by step procces.
adv thanksHi, Guru,
It is asking you, what ABBR = Abbreviation you wish you mention for your Work Flow activity you have created.
Along with it's transportation relevancy between clients /servers.
Regards,
Shyamal -
How can I change the reminder time of an all day event?
How can I make an all day event remind me the evening before. The only reminder options are 9:00 the day of (which is too late) or 9:00 the day before (which gives you a whole day to forget about it). Why can I not select when I want a reminder? I have tried both alert tab in the event itself, and the default alert setting under settings/mail, contacts, calendars/default alert times.
THis is what I do, and it works for me.....I create two entries. Yes, it is extra work, but it works. The first one is the all-day event. I set that to remind me the day before and two days before.
Then the second entry I set a time on the day, and in the Title Box, I put "reminder about "insert date here". Then I set that to remind me according to hour(s) or minutes before.
IF I want a reminder inconsistent with those, I simply set the start date/time for the actual hour I want to be reminded, even if it is say "11:00pm the night before" when it goes off, I just reset it using the roll thing to the next date/time that I want it to go off.
I am a newbie and still have my old-fashioned paper planner, fully filled out, but find the calendar feature of the iPhone so absolutely useful. As well as the notes. Mainly when I am out and about. I used to tote my book around, now I just enter it on my phone, make myself a note, and then enter the info in my book later on. Paperless society, I doubt that'll happen, but technological devices sure fit in your pocket more easily...
BTw- have you noticed that if you put in a birthday of a contact in Contacts, it will show up in your calendar with a little present icon?
(= Have a happy day! =)
Maybe you are looking for
-
Ipod nano 5th gen - works fine when plugged in either to wall or computer and appears to be fully charged but as soon as it is unplugged screen goes blank and will not start - is the battery shot?
-
Hello. I just started using iWeb '08 2.0.2 a couple of weeks ago, and all was going well until... Now whenever I publish, I get an error message "Publish Error, an error occurred while publishing file ... Try publishing again later." Here's what I've
-
Hi , sorry I am posting it again here as this section is more appropritate one I guess. I am not an extensitve sql or pl/sql writer. I am basically java developer, I want help in extracting a part of xml in clob data field. the Clob field has data li
-
Silly request, needed yesterday: "queries stored in table, to Excel"
I have a fast-and-dirty requirement (CF8) which needs a fast-and-dirty solution ... "hacks welcome." I'd like to stumble-upon existing code that does as much of this work for me as possible. I've got a table of queries. (That is to say, one of the
-
Frame for displaying various items?
I have a web page that displays an image in one layer and it's associated article in another layer below it. There are links to other articles to the right of this. I would like to be able to select the link to another article and have the new image