Solved

Help Needed with a Workflow re-design WSS 3.0

Posted on 2011-03-25
7
400 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

 
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

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Question has a verified solution.

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

We had a requirement to extract data from a SharePoint 2010 Customer List into a CSV file and then place the CSV file into a directory on the network so that the file could be consumed by an AS400 system. I will share in Part 1 how to Extract the Da…
In case you ever have to remove a faulty web part from a page , add the following to the end of the page url ?contents=1
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

635 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