Solved

Help Needed with a Workflow re-design WSS 3.0

Posted on 2011-03-25
7
385 Views
Last Modified: 2012-05-11
I have a workflow that is setup to expire documents based on a column named Expiration. (attached screen print). if the field contains "7d" then the workflow starts as soon as the document is created, and it pauses for 7 days and then deletes the file. I would like to change the workflow so that the document expires based on the date it is posted. Any help would be appreciated.
workflow.JPG
0
Comment
Question by:TeethGuys
  • 3
  • 3
7 Comments
 
LVL 9

Expert Comment

by:BobHavertyComh
ID: 35217981
How many days after the posted (or created date) date do you want it to expire?
0
 
LVL 1

Author Comment

by:TeethGuys
ID: 35218055
we have 2 options for the expire field, "7d" or one week.   and "13m" or 13 months.
0
 
LVL 9

Expert Comment

by:BobHavertyComh
ID: 35218407
So you don't want these things to expire after a certain duration and you instead want them to expire on a specific date?? If so, will the dates be different for each list item?
0
Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

 
LVL 1

Author Comment

by:TeethGuys
ID: 35218661
the problem with the way i'm doing it is this, sometimes the workflow doesn't start when the item is posted. i can go back in and manually start the workflow, but when i do this the workflow starts from the begining and waits 7 days to expire. Now if i have a file out there that the workflow for some reason or another has to be restarted, intiating the workflow would start the "timer" at that point. So say a file was posted yesterday and the workflow didn't kick off. I have to go in and manually start the workflow which then it would expire 7 days from when the workflow is started. I'd like for the expiration trigger to be the date in which the file is posted +7, not when the workflow kicks off. I hope this make sense, It's though for me to explain.
0
 
LVL 9

Expert Comment

by:kukdai
ID: 35219657
is your workflow setup to be started when a new item is created or posted
0
 
LVL 1

Author Comment

by:TeethGuys
ID: 35232299
0
 
LVL 9

Accepted Solution

by:
BobHavertyComh earned 500 total points
ID: 35236209

Possibility 1:
If you are using SP1 and the workflow was created to run as the system account , the workflow will not start automatically.

http://www.i-arif.com/blog/post/2009/01/04/Automatic-Workflow-Trigger-after-service-pack-1.aspx

Possibility 2
You or someone else is occasionally accessing it via ip adress rather than domain name and it will not work properly using ip address,
http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2009/01/29/workflow-doesn-t-start-when-accessing-sharepoint-site-via-ip-address.aspx
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Last week I faced a strange issue recently, i have deployed SharePoint 2003 servers for one project and one of the requirements was to open SharePoint site from same server. when i was trying to open site from the same server i was getting authentic…
I thought I'd write this up for anyone who has a request to create an anonymous whistle-blower-type submission form created using SharePoint 2010 (this would probably work the same for 2013). It's not 100% fool-proof but it's as close as you can get…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question