1

I have a work flow that fires off email notifications at specific dates, based on the number of days between the Expiration date and Today. It works up until a user goes to change the date of the list item, and then nothing happens. Here's what I have so far. Any help is appreciated.

enter image description here

  • Does your workflow start on Item Created and Updated? – Amal Hashim Dec 26 '14 at 20:35
  • No expert on WFs, but I thought once a WF is fired, the dates are going to stay the same and is not dynamic. If you go in and change the dates, a WF is not going to know it if it is already running. – Pᴀᴜʟsᴛᴇʀ2 Dec 27 '14 at 13:10
  • @AmalHashim Item Created – PT_C Dec 29 '14 at 12:49
  • @Paulster2 the user has the ability to change the end date. So basically it notifies them something's expiring, they go in and update the date and everything starts over – PT_C Jan 15 '15 at 16:04
0

I would consider using jQuery to find your date and times for your emails. This is going to eventually cause a large timer job service load. From what I can tell your workflow is running for 90+ days. Just because it is paused, does not mean it is not running on the services in the background.

I have some code which gave here on another WF question that will eliminate the need for WF pauses and will support your dynamic date needs. You should use jQuery to track how many days it has been based off of the created date column. No one can screw with it then. This way too, the workflow will only fire when it needs to instead of being in a paused state for so long. Just a suggestion hope it helps. Good luck to ya!

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.