Solved

Help Needed with a Workflow re-design WSS 3.0

Posted on 2011-03-25
7
363 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
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

I have just recently built a new SharePoint 2007 farm on a complete Windows 2008 R2 server platform and part of my standard build procedure is to implement a warm up routine, usually in the form of a script that is scheduled every morning to launch …
If you create your solutions on SharePoint sooner or later you will come upon a request to set  permissions of the item depending on some of the item's meta-data - the author, people assigned as approvers, divisions, categories etc. The most natu…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

815 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

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now