Solved

Help Needed with a Workflow re-design WSS 3.0

Posted on 2011-03-25
7
391 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
Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

 
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

Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SharePoint 2013 with 3rd Party Video hosting 2 50
Sharepoint KB 2 99
Office 365 Sharepoint - Check in documents on mass 2 40
Sharepoint list to Access database 9 78
Note:  There are two main ways to deploy InfoPath forms:  Server-side and directly through the SharePoint site.  Deploying a server-side InfoPath form means the form is approved by the Administrator, thus allowing greater functionality in the form. …
When installing SharePoint 2010 RTM I came across a strange error, I was getting timeouts during the installation. I searched the web and found the best solution to be found here (http://social.msdn.microsoft.com/Forums/en-US/sharepoint2010genera…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

734 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