Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Help Needed with a Workflow re-design WSS 3.0

Posted on 2011-03-25
7
Medium Priority
?
407 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
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
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 2000 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

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

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

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. …
A while back, I ran into a situation where I was trying to use the calculated columns feature in SharePoint 2013 to do some simple math using values in two lists. Between certain data types not being accessible, and also with trying to make a one to…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

721 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